Change to matomo.js
This commit is contained in:
parent
bbd0dcb82d
commit
758d48ec96
|
@ -15,10 +15,10 @@
|
||||||
|
|
||||||
if (!_paq_loaded) {
|
if (!_paq_loaded) {
|
||||||
var u = `//${settings.host_url}/`;
|
var u = `//${settings.host_url}/`;
|
||||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||||
_paq.push(['setSiteId', settings.website_id]);
|
_paq.push(['setSiteId', settings.website_id]);
|
||||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
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+'piwik.js'; s.parentNode.insertBefore(g,s);
|
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||||
_paq_loaded = true;
|
_paq_loaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue