AmauriC / tarteaucitron.js

RGPD friendly cookie manager
https://tarteaucitron.io/
MIT License
931 stars 369 forks source link

tac talk to Matomo Tag Manager #1283

Open AmauriC opened 4 weeks ago

AmauriC commented 4 weeks ago

To improve the integration between tarteaucitron and Matomo Tag Manager, add a data layer push.

window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
    event: 'tac_consent_update',
    tacAuthorizedVendors: ['matomo', 'google_analytics', 'facebook', 'etc....']
});
SW-Vincent commented 3 weeks ago

Hi,

That's good to know ! Can we also hope for (with the perspective of Tarteaucitron being compatibility with Server Side tracking) :