Google Consent Mode v2
BerryCookie sets the Consent Mode defaults to denied before Google tags run and sends an update after every decision. Categories map to Google consent types:
| Category | Google consent types |
|---|---|
| statistics | analytics_storage |
| marketing | ad_storage, ad_user_data, ad_personalization |
| preferences | functionality_storage, personalization_storage |
| (always) | security_storage granted |
Ads data redaction and URL passthrough are set in the banner editor (Google Consent Mode panel). Every decision also pushes the berrycookie_consent_update event to the data layer.
Need help? [email protected]
Ready to put it on your website?
Install it with one line of code, the Google Tag Manager template or the WordPress plugin.