fix matomo

This commit is contained in:
Eorn 2020-05-13 10:11:43 +02:00
parent 53e9b011f7
commit c331c241cf

View file

@ -6,7 +6,7 @@
_paq.push(['trackPageView']); _paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']); _paq.push(['enableLinkTracking']);
(function() { (function() {
var u="{{- .Site.Params.matomoAnalytics.rootURL -}}; var u="{{- .Site.Params.matomoAnalytics.rootURL -}}/";
_paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '{{- .Site.Params.matomoAnalytics.siteID -}}']); _paq.push(['setSiteId', '{{- .Site.Params.matomoAnalytics.siteID -}}']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];