Add tracker

This commit is contained in:
philipp lang 2024-09-25 19:21:01 +02:00
parent aa8e58a726
commit e7ef6d603e
1 changed files with 13 additions and 0 deletions

View File

@ -11,4 +11,17 @@
{% framework extras %}
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//disco-st-katharina.de/";
_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+'proxy.php'; s.parentNode.insertBefore(g,s);
})();
</script>