From c331c241cf7db5062525c17f071df102e1f2497e Mon Sep 17 00:00:00 2001 From: Eorn Date: Wed, 13 May 2020 10:11:43 +0200 Subject: [PATCH] fix matomo --- layouts/partials/matomo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/matomo.html b/layouts/partials/matomo.html index 35052d3..26cca2b 100644 --- a/layouts/partials/matomo.html +++ b/layouts/partials/matomo.html @@ -6,7 +6,7 @@ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { - var u="{{- .Site.Params.matomoAnalytics.rootURL -}}; + var u="{{- .Site.Params.matomoAnalytics.rootURL -}}/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '{{- .Site.Params.matomoAnalytics.siteID -}}']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];