a4e41ac1fc05f18bcb192de7629961981a52ba9c — Andrew Zah 2 months ago a67f951
remove google tracking
1 files changed, 18 insertions(+), 4 deletions(-)

M templates/base.html
M templates/base.html => templates/base.html +18 -4
@@ 25,8 25,6 @@
       <meta name="twitter:creator" content="@andrew_zah">
       <meta name="twitter:image" content="https://andrewzah.com/twitter-image.png">
 
-      <meta name="google-site-verification" content="n5-uDhEF_Bwbyie5UOMQK1EdBy4iKsPQIGNJkSVlNU4" />
-
       <link rel="stylesheet" href="/main.css">
 
       <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=vMdnJYpmNaa">


@@ 40,9 38,8 @@
 
       <script async src="/js/bundle.js"></script>
       {% block head %}{% endblock head %}
-  </head>
+    </head>
 
-  <script src="//instant.page/1.1.0" type="module" integrity="sha384-EwBObn5QAxP8f09iemwAJljc+sU+eUXeL9vSBw1eNmVarwhKk2F9vBEpaN9rsrtp"></script>
   <body>
     <div class="container content">
       {% if section.extra.nonav %}


@@ 58,5 55,22 @@
         <div>{% block after_main %}{% endblock after_main %}</div>
       </div>
     </div>
+
+    <!-- Matomo -->
+    <script type="text/javascript">
+      var _paq = window._paq || [];
+      /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+      _paq.push(['trackPageView']);
+      _paq.push(['enableLinkTracking']);
+      (function() {
+        var u="//matomo.andrewzah.com/";
+        _paq.push(['setTrackerUrl', u+'matomo.php']);
+        _paq.push(['setSiteId', '2']);
+        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+'matomo.js'; s.parentNode.insertBefore(g,s);
+      })();
+    </script>
+    <!-- End Matomo Code -->
+
   </body>
 </html>