diff options
Diffstat (limited to 'design/templates')
-rw-r--r-- | design/templates/base.html | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/design/templates/base.html b/design/templates/base.html index 4ba62a1..33aa440 100644 --- a/design/templates/base.html +++ b/design/templates/base.html @@ -89,19 +89,21 @@ if (navigator.serviceWorker) { }); } //--> -<!-- Fathom analytics - https://github.com/usefathom/fathom --> -(function(f, a, t, h, o, m){ - a[h]=a[h]||function(){ - (a[h].q=a[h].q||[]).push(arguments) - }; - o=f.createElement('script'), - m=f.getElementsByTagName('script')[0]; - o.async=1; o.src=t; o.id='fathom-script'; - m.parentNode.insertBefore(o,m) -})(document, window, '//stats.luxagraf.net/tracker.js', 'fathom'); -fathom('set', 'siteId', 'KYEED'); -fathom('trackPageview'); + +<!-- Matomo --> +<script type="text/javascript"> +var _paq = window._paq || []; +_paq.push(['trackPageView']); +_paq.push(['enableLinkTracking']); +(function() { + var u="//stats.luxagraf.net/"; + _paq.push(['setTrackerUrl', u+'matomo.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+'matomo.js'; s.parentNode.insertBefore(g,s); +})(); </script> -<!-- / Fathom --> +<!-- End Matomo Code --> + </body> </html> |