From e9a602d9aac4697e092b0096986701271b4902b4 Mon Sep 17 00:00:00 2001 From: Gauthier Fiorentino Date: Mon, 25 Nov 2024 12:20:55 +0100 Subject: [PATCH] Fix consent event names in matomo sevice --- tarteaucitron.services.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index c578cb21..7d4afbeb 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -5597,8 +5597,8 @@ tarteaucitron.services.matomocloud = { } window._paq = window._paq || []; - window._paq.push(["requireConsent"]); - window._paq.push(["setConsentGiven"]); + window._paq.push(["requireCookieConsent"]); + window._paq.push(["setCookieConsentGiven"]); window._paq.push(["setSiteId", tarteaucitron.user.matomoId]); window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "matomo.php"]); window._paq.push(["enableLinkTracking"]); @@ -5646,7 +5646,7 @@ tarteaucitron.services.matomocloud = { } window._paq = window._paq || []; - window._paq.push(["requireConsent"]); + window._paq.push(["requireCookieConsent"]); window._paq.push(["setSiteId", tarteaucitron.user.matomoId]); window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "matomo.php"]); window._paq.push(["trackPageView"]); @@ -6880,4 +6880,4 @@ tarteaucitron.services.klaviyo = { } tarteaucitron.addScript('//static.klaviyo.com/onsite/js/klaviyo.js?company_id=' + tarteaucitron.user.klaviyoCompanyId); } -}; \ No newline at end of file +};