Update index.html

Matomo added
This commit is contained in:
Clay 2023-11-11 22:36:41 -05:00 committed by GitHub
parent dd50782ea7
commit 9e5992ff62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,21 @@
<meta name="robots" content="noindex,nofollow" /> <title>ClayGarth</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" href="https://claygarth.com/img/favicon.ico" type="image/x-icon" />
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.claygarth.com/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</head>
<body>