Swap out fathom for matomo
This commit is contained in:
parent
fd52dcb932
commit
4f6634c060
3 changed files with 4 additions and 16 deletions
|
@ -51,7 +51,7 @@
|
|||
{{ partial "script_async.html" "js/app.js" }}
|
||||
|
||||
{{ if not .Site.IsServer }}
|
||||
{{ partial "fathom.html" }}
|
||||
{{ partial "matomo.html" }}
|
||||
{{ end }}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -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 -->
|
3
layouts/partials/matomo.html
Normal file
3
layouts/partials/matomo.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<!-- Matomo Image Tracker-->
|
||||
<img src="https://matomo.theorangeone.net/matomo.php?idsite=1&rec=1" style="border:0" alt="" />
|
||||
<!-- End Matomo -->
|
Loading…
Reference in a new issue