Skip to content

Commit 368be73

Browse files
Adds Plausibile script into IPFS 404 page, above redirect. (#315)
* Adds special Plausible function to enable 404 tracking. * Adds script and logic for 404 tracking in Plausible. * Adds 404 logic to IPFS side of things. * Moves the 404 notifier above the refresh. * Removes duplicate script.
1 parent 53e854f commit 368be73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/ipfs-404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<link rel="canonical" href="https://lotus.filecoin.io/"/>
66
<meta name="robots" content="noindex">
77
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
8+
<script>plausible("404",{ props: { path: document.location.pathname } });</script>
89
<meta http-equiv="refresh" content="0; url=https://lotus.filecoin.io/"/>
910
</head>
10-
<script>plausible("404",{ props: { path: document.location.pathname } });</script>
1111
</html>

0 commit comments

Comments
 (0)