/Documentation

Google Consent Mode Listener tag

Download the tag file from Stape's GitHub and unzip it.
Upload the tag template into the web GTM container workspace.
Create a new tag.
{ event: 'stape_consent_update', consent: { ad_storage: 'granted', ad_user_data: 'granted', ad_personalization: 'denied', analytics_storage: 'granted', functionality_storage: 'denied', personalization_storage: 'denied', security_storage: 'granted' } }

Warning:

Configure the tag.
Add a trigger for a tag.
Alternatively, use GTM's tag sequencing feature to guarantee the Listener tag fires immediately after your CMP tag completes its execution.
Save the trigger.
Update the triggers with the trigger groups.

Test tag configuration

Check the debug window and ensure that

Was this article helpful?

Comments

Subscribe to product updates:
Can’t find what you are looking for?