Browse Source

Added matomo tracking code.

main
Nichole Mattera 7 months ago
parent
commit
e9273a90ce
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      templates/main.tmpl

+ 14
- 0
templates/main.tmpl View File

@ -61,5 +61,19 @@
}
</script>
{{ end }}
<script type="text/javascript">
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomo.nicholemattera.com/";
_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.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
</body>
</html>

Loading…
Cancel
Save