Commit 8194a04e authored by Tad Lazurski's avatar Tad Lazurski

Replace Matomo and Google Analytics with Fathom

parent b3016eb3
Pipeline #144863975 passed with stages
in 2 minutes and 11 seconds
......@@ -10,21 +10,6 @@ html(lang="en")
content="width=device-width, initial-scale=1.0"
)
//- Matomo
script(type="text/javascript").
window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://hornbook.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
//- End Matomo code
body
section#landing
div.container
......@@ -66,4 +51,4 @@ html(lang="en")
script(async="yes" src='index.coffee')
script(async="yes" src='../assets/google-analytics.js')
script(src="https://cdn.usefathom.com/script.js" site="ODXZZEEQ" defer)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment