Use matomo JS
This commit is contained in:
parent
4f6634c060
commit
a76fed5811
1 changed files with 15 additions and 3 deletions
|
@ -1,3 +1,15 @@
|
|||
<!-- Matomo Image Tracker-->
|
||||
<img src="https://matomo.theorangeone.net/matomo.php?idsite=1&rec=1" style="border:0" alt="" />
|
||||
<!-- End Matomo -->
|
||||
<!-- Matomo -->
|
||||
<script type="text/javascript">
|
||||
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 -->
|
||||
|
|
Loading…
Reference in a new issue