Matomo Tracking Link hinzu
This commit is contained in:
parent
5ddc505767
commit
30bdc817ab
1 changed files with 17 additions and 1 deletions
|
|
@ -13,7 +13,23 @@
|
|||
<link rel="stylesheet" href="/css/vanilla.css" />
|
||||
|
||||
<title>{{ .Site.Title }} {{ with .Title }} | {{ . }} {{ end }}</title>
|
||||
|
||||
<!-- Matomo -->
|
||||
<script>
|
||||
var _paq = window._paq = window._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="//click.vanilla.engineering/";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<!-- End Matomo Code -->
|
||||
</head>
|
||||
<body>
|
||||
<div id="outerwrapper">
|
||||
|
|
|
|||
Loading…
Reference in a new issue