Correction d'un bug sur Matomo

This commit is contained in:
Damien Broqua 2022-03-14 16:28:08 +01:00
parent 7578d9b63f
commit 5b9d6c94b8
5 changed files with 5 additions and 1 deletions

View file

@ -30,7 +30,7 @@
(function() {
var u="<%= config.matomoUrl %>";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '3']);
_paq.push(['setSiteId', <%= config.matomoId %>]);
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);
})();