You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement user consent management in my website using Google Tag Manager (GTM) and the Transparency and Consent Framework (TCF) API v2.
I'm unsure about the proper way to utilize the __tcfapi function within GTM to update Consent Mode v2 based on the TCF data received from my CMP. I've looked at some documentation and examples, but I'm still struggling to understand how to correctly map the consent information and update GTM's consent mode accordingly.
Any guidance or code examples on how to achieve this using GTM and the TCF API v2 would be greatly appreciated.
My plan of action would be to create a custom html tag and have the addEventListener to get the tcdata and with that tcdata set the consent.
I'm trying to implement user consent management in my website using Google Tag Manager (GTM) and the Transparency and Consent Framework (TCF) API v2.
I'm unsure about the proper way to utilize the
__tcfapi
function within GTM to update Consent Mode v2 based on the TCF data received from my CMP. I've looked at some documentation and examples, but I'm still struggling to understand how to correctly map the consent information and update GTM's consent mode accordingly.Any guidance or code examples on how to achieve this using GTM and the TCF API v2 would be greatly appreciated.
My plan of action would be to create a custom html tag and have the
addEventListener
to get the tcdata and with that tcdata set the consent.Is this something that should work? And how about the trigger should I use a custom event?
Thank you very much in advance.
The text was updated successfully, but these errors were encountered: