CMP not pushing consent update event to dataLayer: how to fix

Written by

Uliana Lesiv

Published Sep 9, 2026 comments

Key takeaways

CMP not pushing consent event: problem overview

How to spot the problem

Run preview mode in the web GTM container in which you have the CMP tag configured for your banner.
Interact with the consent banner and check the results in the debug window.

Next steps if there's no separate CMP event

Iubenda's GTM tag has a checkbox to enable the event push; without checking this box, no event will be pushed to dataLayer:
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

Final thoughts

Want to join the server side?

Try for free

Written by

Uliana Lesiv

Content writer

Uliana is a Content Manager at Stape, specializing in analytics and integration setups. She breaks down complex tracking concepts into clear insights, helping businesses optimize data collection.

Was this article helpful?

Comments

Recommended for you

Blog

Google Consent Mode V2

Google Consent Mode V2 lets websites share users' cookie choices with Google tags. Learn what's new, how it works, and how to implement it.

Sep 9, 2026

Turn better tracking into better marketing performance

Try for free