tryout goatcounter 1.4 instead of fathom
This commit is contained in:
parent
22bc88dba3
commit
cb2620321d
|
@ -13,7 +13,6 @@ enableGitInfo = true
|
|||
category = "categories"
|
||||
|
||||
[params]
|
||||
fathomid = "WNLTO"
|
||||
favicon = "/img/avatar-icon.png"
|
||||
pagination = 15
|
||||
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue