* Grey indicates an inactive tag.
* Green indicates a tag has been loaded.
This demonstration illustrates how script loading can be managed through Google Tag Manager (GTM) based on user Cookie Preferences.
Explore how these tags activate in accordance with the selections made in the Cookie Preferences tab of the TCF modal. Make your choice and observe the real-time results as the tags trigger, typically executing JavaScript on the page.
Additional note: This demonstration showcases 3 example tags. In your actual setup, you might use a variety of unique tags, such as Facebook Pixel, Google Analytics, Remarketing Pixels, Visitor Analytics, Hotjar, YouTube Video Views, Customer Engagement Beacons, and many more.
- TCF 2.2 Integration: Enabled
- Google Consent Mode v2: Enabled
- Implementation of the Google Tag Manager (GTM) tracking code in the HEAD section of the webpage.
- Add a new GTM tag.
- Under Consent Settings (BETA), select "Require additional consent for tag to fire" and specify: analytics_storage.
- Set the trigger to "All Pages" or "ultimategdpr_tcf_consent_updated" (custom event).