diff --git a/src/partials/head-scripts.hbs b/src/partials/head-scripts.hbs index dd93ba7..f56c5cb 100644 --- a/src/partials/head-scripts.hbs +++ b/src/partials/head-scripts.hbs @@ -1,6 +1,8 @@ {{#with site.keys.enableTracking}} + + + // Matomo var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(["setDocumentTitle", document.domain + "/" + document.title]); @@ -15,8 +17,9 @@ var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src='//cdn.matomo.cloud/stackable.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); })(); + // End Matomo Code - + --> {{/with}}