Google Consent Mode Cookie Consent Banner

Enhance data privacy with Google Consent Mode and UniConsent integration. Ensure compliance with GDPR, CCPA, LGPD, and EU Cookie Law for your website effortlessly.

MarketingConsent Mode V2
Google Consent Mode Integration with UniConsent
IAB registered consent manager for GDPRIAB TCF V2 registered consent manager for GDPRIAB TCF Canada registered consent managerGoogle-certified CMPGoogle-certified CMP

What’s included

To activate Google Consent Mode v2 on your website, you must have a cookie banner solution in place. If you are using the UniConsent CMP, the UniConsent script will automatically communicate the necessary signal to the Google Tracking Code Administrator once consent is given. However, you must manually verify that the default state is correctly configured.

For Google Tag Manager — If you want to implement UniConsent using the UniConsent CMP library tag in Google Tracking Manager (GTM), please refer to our GTM integration guide.

Basic Mode vs. Advanced Mode

Basic Consent Mode

Basic Consent Mode is designed for website owners who prefer a simpler setup process, requiring minimal customization of Google Tags.

Starting in March 2024, Basic Consent Mode will be necessary to continue using Google Advertisement products.

With Basic Consent Mode, Google Tags are initially blocked until users provide consent through the consent banner.

If users give their consent, Consent Mode communicates this to the tags, which then unblock, load, and operate as usual. If consent is denied, analytics_storage is blocked and does not collect any analytics data, while ad_storage, ad_user_data, and ad_personalization are blocked and do not collect any advertising data.

No data is collected from users who do not consent, including their consent status.

Advanced Consent Mode

Advanced Consent Mode offers greater flexibility but requires more customization of Google Tags compared to the basic version. Despite this, both Basic and Advanced Consent Modes are relatively straightforward to implement.

Unlike Basic Consent Mode, Advanced Consent Mode is optional.

This mode allows website owners to tailor tag and cookie behaviours based on various consent states. In Advanced Consent Mode, Google Tags load before your consent banner appears. The consent banner collects the user’s consent status, which is then detected by Consent Mode and communicated to your Google Tags, enabling them to adjust their behaviour accordingly.

When a user grants consent, the tags operate normally. If a consented user makes a conversion, it is measured and reported accurately. If a user declines consent, the tags modify their behaviour to comply: analytics_storage and ad_storage do not write or read cookies for analytics or advertising purposes. Instead, they send cookieless pings. Additionally, ad_user_data will not transmit user data to Google for advertising, and ad_personalization will disable personalised ads.

dd

How to setup

How to Create a Consent Banner for Basic Consent Mode?

1. Follow setup instructions in the Google Consent Mode V2 Manual Setup Guide or Setup Google Consent Mode V2 via Google Tag Manager.

2. Delay Google Tags loading until consent is collected

2.1. If you set up the tag manually, load Google Tags based on the consent signals and API according to the Third party JavaScript Tags Integration.

2.2. If you set up with Google Tag Manager, manage Google Tags loading with consent signals based on these instructions.

How to Create a Consent Banner for Advanced Consent Mode?

1. Follow setup instructions in the Google Consent Mode V2 Manual Setup Guide or Setup Google Consent Mode V2 via Google Tag Manager.

Do not delay Google Tags loading before consent is collected.

You can load Google Tags normally when users open the web pages without delay, and Google Tags will act based on consent signals from the UniConsent CMP.

2. Find or Adding UniConsent CMP Template

When you encounter issues with missing Consent Mode or TCF (Transparency and Consent Framework) signals on your Google tags, it's essential to start the troubleshooting process with UniConsent support team rather than contacting Google directly.

If you are a Google client, please reach out to us via email at support+google@uniconsent.com or post in the UniConsent Support Community Forum. The UniConsent support team will provide a technical response within 2 business days.

Contact via Phone +441134678278 for urgent issues.

Still have questions?

Contact us: support@uniconsent.com or find livechat widget at your dashboard.