Fix Matomo site ID in head
This commit is contained in:
parent
3924817459
commit
598d034119
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ _paq.push(['enableLinkTracking']);
|
|||
(function() {
|
||||
var u="https://{{ .Site.Params.MatomoURL }}/";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', '{{ .Site.Params.SiteId }}']);
|
||||
_paq.push(['setSiteId', '{{ .Site.Params.MatomoSiteId }}']);
|
||||
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
Reference in a new issue