From 9e5992ff62c94ddc0be13b2d1aefd61e1fcbd22e Mon Sep 17 00:00:00 2001
From: Clay <ClayGarth@users.noreply.github.com>
Date: Sat, 11 Nov 2023 22:36:41 -0500
Subject: [PATCH] Update index.html

Matomo added
---
 index.html | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/index.html b/index.html
index d79f49d..a53c975 100644
--- a/index.html
+++ b/index.html
@@ -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>