1
Fork 0

Use matomo JS

This commit is contained in:
Jake Howard 2019-10-27 22:03:12 +00:00
parent 4f6634c060
commit a76fed5811
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,3 +1,15 @@
<!-- Matomo Image Tracker--> <!-- Matomo -->
<img src="https://matomo.theorangeone.net/matomo.php?idsite=1&amp;rec=1" style="border:0" alt="" /> <script type="text/javascript">
<!-- End Matomo --> var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomo.theorangeone.net/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
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);
})();
</script>
<!-- End Matomo Code -->