From 10b2075a88c6850762d3314a2df07005b371f78a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 29 Jun 2019 21:55:15 +0100 Subject: [PATCH] Add fathom --- src/fathom.js | 12 ++++++++++++ src/template.html | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 src/fathom.js diff --git a/src/fathom.js b/src/fathom.js new file mode 100644 index 0000000..bdec724 --- /dev/null +++ b/src/fathom.js @@ -0,0 +1,12 @@ +(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', 'GOWOM'); +fathom('trackPageview'); diff --git a/src/template.html b/src/template.html index 093bc97..8881e1e 100644 --- a/src/template.html +++ b/src/template.html @@ -19,5 +19,7 @@ {{> accounts }} + +