Use more private version of matomo script
This commit is contained in:
parent
71fae40bff
commit
f1600436b7
2 changed files with 17 additions and 1 deletions
|
@ -30,5 +30,6 @@
|
|||
{{ partial "script.html" "js/app.js" }}
|
||||
|
||||
{{ partial "matomo.html" . }}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,3 +1,18 @@
|
|||
<!-- Matomo -->
|
||||
<p><img src="//matomo.theorangeone.net/piwik.php?idsite=1&rec=1" style="border:0;" alt="" /></p>
|
||||
<script type="text/javascript">
|
||||
var _paq = _paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(["setDoNotTrack", true]);
|
||||
_paq.push(["disableCookies"]);
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="//matomo.theorangeone.net/";
|
||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<noscript><p><img src="//matomo.theorangeone.net/piwik.php?idsite=1&rec=1" style="border:0;" alt="" /></p></noscript>
|
||||
<!-- End Matomo Code -->
|
||||
|
|
Loading…
Reference in a new issue