switch to new matomo

This commit is contained in:
Simon Bruder 2018-05-04 18:35:00 +00:00
parent cd9f0a1ff3
commit 7afeb3efa2
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -20,21 +20,21 @@
{{ range .Translations }} {{ range .Translations }}
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}"> <link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}">
{{ end }} {{ end }}
<!-- Piwik --> <!-- Matomo -->
<script type="text/javascript"> <script type="text/javascript">
var _paq = _paq || []; var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */ /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']); _paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']); _paq.push(['enableLinkTracking']);
(function() { (function() {
var u="//piwik.customers.sbruder.de/"; var u="//matomo.sbruder.de/";
_paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '2']); _paq.push(['setSiteId', '3']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; 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); g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})(); })();
</script> </script>
<!-- End Piwik Code --> <!-- End Matomo Code -->
</head> </head>
<body class="landing"> <body class="landing">