1
Fork 0

Swap out fathom for matomo

This commit is contained in:
Jake Howard 2019-10-27 21:21:36 +00:00
parent fd52dcb932
commit 4f6634c060
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 4 additions and 16 deletions

View file

@ -51,7 +51,7 @@
{{ partial "script_async.html" "js/app.js" }}
{{ if not .Site.IsServer }}
{{ partial "fathom.html" }}
{{ partial "matomo.html" }}
{{ end }}
</body>
</html>

View file

@ -1,15 +0,0 @@
<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
<script>
(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, '//fathom.theorangeone.net/tracker.js', 'fathom');
fathom('set', 'siteId', 'UEDCT');
fathom('trackPageview');
</script>
<!-- / Fathom -->

View file

@ -0,0 +1,3 @@
<!-- Matomo Image Tracker-->
<img src="https://matomo.theorangeone.net/matomo.php?idsite=1&amp;rec=1" style="border:0" alt="" />
<!-- End Matomo -->