Fix Matomo tracking code logic

HEAD
Elnu 3 years ago
parent dbe51f693d
commit 1f2a657f31

@ -3,7 +3,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/css/normalize.css">
<link rel="stylesheet" href="/css/sakura{{ if isset .Site.Params "theme" }}-{{ .Site.Params.Theme }}{{ end }}.css">
{{ if isset .Site.Params "MatomoSiteId" }}
{{ if isset .Site.Params "matomositeid" }}
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */