Browse Source

fix matomo

master
Eorn 2 years ago
parent
commit
c331c241cf
  1. 2
      layouts/partials/matomo.html

2
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];

Loading…
Cancel
Save