Update tracking

This commit is contained in:
Jannis Portmann 2021-12-27 14:32:22 +01:00
parent 6e240f95cf
commit 26acf70e1b

View file

@ -12,7 +12,7 @@
{{ encore_entry_script_tags('app') }}
<!-- Matomo -->
<script type="text/javascript">
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
@ -20,9 +20,9 @@
(function() {
var u="//analytics.thisfro.ch/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '14']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->