From cdade7840dfb119ff8cd9448d7360d8f775eb7b2 Mon Sep 17 00:00:00 2001 From: CaptainArk Date: Sun, 10 Oct 2021 01:00:04 +0200 Subject: [PATCH] migrate from fathom to goatcounter --- public/js/stats.js | 13 ++----------- static/js/stats.js | 13 ++----------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/public/js/stats.js b/public/js/stats.js index 1685e75..76eef8c 100644 --- a/public/js/stats.js +++ b/public/js/stats.js @@ -1,11 +1,2 @@ -(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.captainark.net/tracker.js', 'fathom'); -fathom('set', 'siteId', 'BYKXT'); -fathom('trackPageview'); + diff --git a/static/js/stats.js b/static/js/stats.js index 1685e75..76eef8c 100644 --- a/static/js/stats.js +++ b/static/js/stats.js @@ -1,11 +1,2 @@ -(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.captainark.net/tracker.js', 'fathom'); -fathom('set', 'siteId', 'BYKXT'); -fathom('trackPageview'); +