tryout goatcounter 1.4 instead of fathom

This commit is contained in:
wgroeneveld 2020-10-19 15:29:31 +02:00
parent 22bc88dba3
commit cb2620321d
2 changed files with 2 additions and 16 deletions

View File

@ -13,7 +13,6 @@ enableGitInfo = true
category = "categories"
[params]
fathomid = "WNLTO"
favicon = "/img/avatar-icon.png"
pagination = 15

View File

@ -5,19 +5,6 @@
<script defer src='{{ $scripts.Permalink }}'></script>
{{- if (ne hugo.Environment "development") }}
<!-- 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, 'https://fathom.brainbaking.com/tracker.js', 'fathom');
fathom('set', 'siteId', '{{ .Site.Params.fathomid }}');
fathom('trackPageview');
</script>
<!-- / Fathom -->
<script data-goatcounter="https://stats.brainbaking.com/count"
async src="//stats.brainbaking.com/count.js"></script>
{{- end }}