Moving logic inside matomo partial.
This commit is contained in:
parent
63399e6bf8
commit
c00bb6187d
1 changed files with 3 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
{{ if and .Site.Params.piwikTrackerUrl .Site.Params.piwikSiteID -}}
|
||||
<script>
|
||||
var _paq = window._paq || [];
|
||||
_paq.push(['trackPageView']);
|
||||
|
|
@ -10,3 +11,4 @@
|
|||
g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
{{ end -}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue