Skip to content

Commit f94c289

Browse files
committed
Try to fix matomo error
1 parent 86909d5 commit f94c289

File tree

1 file changed

+1
-6
lines changed
  • content/theme/partials/integrations/analytics

1 file changed

+1
-6
lines changed
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<script>
22
var _paq = window._paq = window._paq || [];
33
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
4-
_paq.push(["setCookieDomain", "*.static.geotribu.fr"]);
5-
_paq.push(["setDomains", ["*.geotribu.fr","*.preview-pullrequest-409--geotribu-preprod.netlify.app","*.static.geotribu.fr"]]);
6-
_paq.push(["enableCrossDomainLinking"]);
4+
_paq.push(["setCookieDomain", "*.geotribu.fr"]);
75
_paq.push(['trackPageView']);
86
_paq.push(['enableLinkTracking']);
97
(function () {
@@ -14,6 +12,3 @@
1412
g.async = true; g.src = u + 'matomo.js'; s.parentNode.insertBefore(g, s);
1513
})();
1614
</script>
17-
<noscript>
18-
<p><img src="{{ config.extra.analytics.matomo_url }}/matomo.php?idsite=1&amp;rec=1" style="border:0;" alt="" /></p>
19-
</noscript>

0 commit comments

Comments
 (0)