From 0963f6c7163286bc78e1668ad04b2a030306a10d Mon Sep 17 00:00:00 2001 From: CaptainArk Date: Sun, 6 Jan 2019 23:32:11 +0100 Subject: [PATCH] adding js --- public/js/stats.js | 11 +++++++++++ static/js/stats.js | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 public/js/stats.js create mode 100644 static/js/stats.js diff --git a/public/js/stats.js b/public/js/stats.js new file mode 100644 index 0000000..1685e75 --- /dev/null +++ b/public/js/stats.js @@ -0,0 +1,11 @@ +(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 new file mode 100644 index 0000000..1685e75 --- /dev/null +++ b/static/js/stats.js @@ -0,0 +1,11 @@ +(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');