Hi!
I want to make integration between consent manager and GTM.
In article: Consent Manager integration with Google Tag Manager | Piwik PRO help center it’s written that:
In this code, you can change:
'event': 'stg.consentDecision',
: this is the name of the event.
Does it mean that for every consent type like that I create (analytics_cosent, marketing_consent etc.) I need to give unique name like “stg.consentDecision_analytics” or “stg.consentDecision_marketing”.
Thanks in advance for help!
kuba
May 16, 2022, 6:45am
2
The name of this datalayer event doesn’t really matter (since it’s not used later on). Just make sure that you:
use unique name for the consent variable (e.g. analytics_consent, marketing_consent, etc.)
assign proper consent type the the tag fired in Piwik PRO Tag Manager (e.g. Analytics, Marketing Automation, etc.).
Kuba,
Thanks for answer. To be sure - if I have tags for almost every consent type like in here: 4people
can I have the same event name in every tag? Of course every tag has different unique name for the consent variable.
kuba
May 16, 2022, 8:04am
4
Yes, since the trigger in GTM is based only on the variable name.
2 Likes