Added matomo analytics using mtm.xw3.org.
This commit is contained in:
parent
45acd4e6e3
commit
5f2478f266
6 changed files with 17 additions and 0 deletions
10
js/matomo.js
Normal file
10
js/matomo.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
var _paq = window._paq = window._paq || [];
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="https://mtm.xw3.org/";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', '8']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue