Skip to content

Commit

Permalink
Try to fix matomo error
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Jul 24, 2024
1 parent 86909d5 commit f94c289
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions content/theme/partials/integrations/analytics/matomo.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<script>
var _paq = window._paq = window._paq || [];
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "*.static.geotribu.fr"]);
_paq.push(["setDomains", ["*.geotribu.fr","*.preview-pullrequest-409--geotribu-preprod.netlify.app","*.static.geotribu.fr"]]);
_paq.push(["enableCrossDomainLinking"]);
_paq.push(["setCookieDomain", "*.geotribu.fr"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function () {
Expand All @@ -14,6 +12,3 @@
g.async = true; g.src = u + 'matomo.js'; s.parentNode.insertBefore(g, s);
})();
</script>
<noscript>
<p><img src="{{ config.extra.analytics.matomo_url }}/matomo.php?idsite=1&amp;rec=1" style="border:0;" alt="" /></p>
</noscript>

0 comments on commit f94c289

Please sign in to comment.