Support for Google Tag Manager's "Consent Initialization" trigger

Created on 12 July 2022, almost 2 years ago
Updated 13 May 2024, about 2 months ago

Problem/Motivation

Hello, I have a feature request.

Google Tag Manager has recently added some new default triggers, the one that could be very useful in relation to this module is "Consent Initialization - All Pages"

Steps to reproduce

Set up a Tag in GTM with the trigger set to "Consent Initialization - All pages".

In GTM, click preview and load the page with the debugger.

GTM fires the tag before you click Accept or Don't Accept.

Proposed resolution

Add support to this module so that it reports back to GTM that consent has been given. (Is this possible?)

If we could add something to the community template gallery that would be fantastic.
https://support.google.com/tagmanager/answer/9454109?hl=en&ref_topic=300...

More info:
https://support.google.com/tagmanager/answer/10718549?hl=en

Nice blog post about the new consent mode:
https://www.simoahava.com/analytics/consent-settings-google-tag-manager/

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom graham73may

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024