1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 07:35:32 -04:00

add tracking code to 404 page

This commit is contained in:
2018-12-04 10:15:12 -05:00
parent 60cff7b0c0
commit cc05d33a10

View File

@@ -47,5 +47,17 @@
<h1>Well, this is embarassing... &#x1F633;</h1>
<p>The specified file was not found on this website. Please check the URL for mistakes and try again, or <a href="/">go home</a>.</p>
</div>
<script>
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://stats.jarv.is/";
_paq.push(['setTrackerUrl', u+'m.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'m.js'; s.parentNode.insertBefore(g,s);
})();
</script>
</body>
</html>