Google Consent Mode CMP

UniConsent CMP fully integrates with Google Consent Mode, enabling real-time adjustments to Google tag behavior based on user consent preferences, improving compliance and data accuracy. Seamlessly integrate Consent Mode with Google Ads, Google Analytics 4, and Google Tag Manager for enhanced compliance and precise data tracking.

IAB registered consent manager for GDPRIAB TCF V2 registered consent manager for GDPRIAB TCF Canada registered consent managerGoogle-certified CMPGoogle-certified CMP
Trusted by 5000+ of global publishers and marketers
  • sej
  • football365
  • sharethrough
  • districtm
  • pf1
  • tower cast

Activate Google Consent Mode with UniConsent

Google Consent Mode is a feature that allows web and app developers to adjust the behavior of Google tags and app SDKs based on the consent choices made by users. UniConsent CMP integrates with Google Consent Mode to tailor how Google tags behave on your website or app, depending on whether users have granted or denied consent.

When targeting European users with Google Ads or Google Analytics, you risk losing marketing data when users decline consent banners. With UniConsent and Google Consent Mode, you can recover conversion data through modeling and close the gap in your advertising and analytics reporting. This integration helps fill data gaps when users choose not to give consent.

Since March 2024, Google requires Consent Mode for using audience personalization and measurement features when targeting users in the European Economic Area, the United Kingdom, and Switzerland.

Consent Mode v2: Basic vs Advanced

Google Consent Mode v2 offers two implementation approaches:

Basic Consent Mode blocks all Google tags from firing until the user grants consent. No data is collected before the user interacts with the consent banner. This is the simpler approach but means you lose all measurement data from users who decline consent.

Advanced Consent Mode (User + Consent) sets consent defaults to denied before any tag fires, then sends cookieless pings to Google when consent is denied. These pings feed Google's conversion modeling, which recovers a significant portion of the lost conversion data. Advanced Consent Mode is the recommended approach for most sites because it maintains measurement coverage while respecting user consent.

UniConsent supports both modes. You can configure your preferred mode in the UniConsent dashboard or follow the Basic vs Advanced Consent Mode setup guide.

Consent Mode and Google Tag Gateway

Google Tag Gateway (GTG) serves Google tags from your first-party domain instead of from Google's servers. This improves tag delivery rates but changes the script load order, which can result in "late" consent signals where tags fire before the CMP has set consent defaults.

UniConsent's Advanced Consent Mode is the recommended mechanism for GTG-enabled tags because it sets consent defaults synchronously before any tag can execute, regardless of where the tag is loaded from. If you use GTG, especially via one-click CDN injection (e.g. Cloudflare), see our Google Tag Gateway tutorial for setup instructions.

Consent Mode and Server-Side GTM

Server-side Google Tag Manager routes tag requests through a server-side container rather than firing them directly from the browser. This gives you full control over what data leaves your environment and lets you apply consent checks server-side before forwarding events to Google.

UniConsent works with server-side GTM by passing consent state to the client-side GTM container, which then forwards it to the server-side container. Events are only processed and forwarded when the appropriate consent has been granted.

Consent Mode for Google Analytics 4

Google Analytics 4 relies on Consent Mode to collect data compliantly under GDPR and CCPA. When Consent Mode is active and a user denies analytics_storage, GA4 sends cookieless pings instead of setting cookies. These pings provide basic measurement data (page views, events) without identifying the user, and Google uses them for conversion modeling.

Without Consent Mode, GA4 either fires normally without consent (a compliance risk) or is blocked entirely (losing all measurement for non-consented users). UniConsent's integration ensures GA4 respects user consent while maintaining as much measurement as possible through modeling.

If Google Analytics Tag Diagnostics flags missing consent signals, see our consent signals for Google Analytics guide.

Consent Mode for Google Ads

Google Ads uses Consent Mode to adjust conversion tracking and remarketing behavior based on consent. When ad_storage or ad_user_data is denied, Google Ads sends cookieless pings that feed conversion modeling. When ad_personalization is denied, remarketing audiences are not built for that user.

Without Consent Mode, Google disables personalised advertising and conversion measurement for non-consented users in the EEA, UK, and Switzerland. Implementing Consent Mode through UniConsent recovers conversion data for these users through modeling and maintains your ability to optimize ad campaigns.

Conversion Modeling

When users deny consent, Google's consent-aware tags send cookieless pings instead of setting cookies. Google uses these pings along with machine learning models to estimate the conversions that would have been observed if consent had been granted. This is called conversion modeling.

Conversion modeling helps close the gap between observed conversions and actual conversions. The modeled data appears in your Google Ads and Google Analytics reports alongside observed data, giving you a more complete picture of campaign performance.

Advanced Consent Mode is required for conversion modeling to work. Basic Consent Mode blocks all tags when consent is denied and does not send cookieless pings, so no data is available for modeling.

EEA, UK, and Switzerland Scope

Google's EU User Consent Policy applies to end users located in the European Economic Area (EEA), the United Kingdom (UK), and Switzerland. If your website or app serves users in these regions, you must implement Consent Mode and obtain user consent before using Google's advertising and measurement features.

UniConsent automatically detects the user's region and applies the appropriate consent defaults. For EEA, UK, and Switzerland, all consent types default to denied. For other regions, defaults follow local regulatory requirements. You can configure region-specific behavior in the UniConsent dashboard.

Frequently Asked Questions

What is Google Consent Mode and how does it work?

Google Consent Mode allows web and app developers to adjust the behavior of Google tags and app SDKs based on the consent choices made by users at a Consent Management Platform (CMP). When consent is denied, consent-aware tags send cookieless pings instead of setting cookies, enabling conversion modeling.

Why should I use UniConsent with Google Consent Mode?

UniConsent integrates with Google Consent Mode to recover and enhance conversion data, closing the gap in your advertising and analytics data when users decline consent. It's essential for maintaining accurate marketing data, especially when targeting European users.

What is the difference between Basic and Advanced Consent Mode?

Basic Consent Mode blocks all Google tags from firing until the user grants consent. No data is collected before consent. Advanced Consent Mode (User + Consent) sets consent defaults to denied and sends cookieless pings when consent is denied, feeding conversion modeling. Advanced mode recovers more data while still respecting consent.

Is Google Consent Mode required?

Since March 2024, Google requires Consent Mode for using audience personalization and measurement features when targeting users in the EEA, UK, and Switzerland. Without it, Google disables personalised advertising and conversion measurement for non-consented users in these regions.

How does UniConsent CMP support Google Consent Mode?

UniConsent CMP integrates with Google tags (gtag.js) or Google Tag Manager, allowing you to block or adjust Google Analytics and Google Ads cookies based on users' consent choices. UniConsent supports both Basic and Advanced Consent Mode.

Which Google products support built-in consent checks with UniConsent?

Products that support built-in consent checks include: Google tags, Google Ads (Conversion Tracking and Remarketing), Google Analytics, Floodlight, and Conversion Linker.

Can I add consent checks for tags that don't have built-in consent features?

Yes, for tags without built-in consent checks, you can configure these in Google Tag Manager using the settings under Advanced > Consent Settings, or load the tags based on consent signals.

What is conversion modeling and how does it work?

When users deny consent, Google tags send cookieless pings instead of setting cookies. Google uses these pings with machine learning to estimate the conversions that would have been observed if consent had been granted. This modeled data appears in your Google Ads and Analytics reports alongside observed data. Advanced Consent Mode is required for conversion modeling.

Does Google Consent Mode apply to the EEA, the UK, or Switzerland?

Yes, Google's EU User Consent Policy applies to end users in the European Economic Area (EEA), the United Kingdom (UK), and Switzerland. UniConsent automatically detects the user's region and applies appropriate consent defaults.

What is Google Tag Gateway and how does it affect consent?

Google Tag Gateway (GTG) serves Google tags from your first-party domain. This can change script load order and cause late consent signals. UniConsent Advanced Consent Mode is the recommended approach for GTG-enabled tags because it sets consent defaults before any tag fires.

How does Consent Mode work with server-side GTM?

UniConsent passes consent state to the client-side GTM container, which forwards it to the server-side container. Events are only processed and forwarded when appropriate consent has been granted. This gives you full control over what data leaves your environment.

How does Consent Mode work with Google Analytics 4?

When Consent Mode is active and a user denies analytics_storage, GA4 sends cookieless pings instead of setting cookies. These pings provide basic measurement data without identifying the user, and Google uses them for conversion modeling.

How does Consent Mode work with Google Ads?

When ad_storage or ad_user_data is denied, Google Ads sends cookieless pings that feed conversion modeling. When ad_personalization is denied, remarketing audiences are not built for that user. Consent Mode recovers conversion data through modeling while respecting user choices.

What consent types does Consent Mode v2 support?

Consent Mode v2 supports: ad_storage (advertising cookies), ad_user_data (sending user data to Google), ad_personalization (personalized ads), analytics_storage (analytics cookies), functionality_storage (site functionality), personalization_storage (content personalization), and security_storage (security features).

Is UniConsent a Google-certified Consent Management Platform (CMP)?

Yes, UniConsent is a Google-certified CMP, a Google-certified CMP Partner, and an IAB TCF-certified CMP, ensuring compliance with the latest industry standards.

How can I confirm that Google Consent Mode is functioning correctly on my website?

Check for warning messages in the developer console. You can also use the UniConsent Consent Mode Scanner to verify proper functionality, or review the implementation audit report in your dashboard for any error messages.

What happens to data when a user changes their consent?

Consent Mode allows for redaction of stored data when a user denies consent. For example, if a user initially grants consent for ad storage but later denies it, Google Ads can delete the stored information. Consent updates are tracked on the page where they occur.

Can I set different consent defaults for different regions?

Yes. UniConsent automatically detects the user's region and applies appropriate defaults. For EEA, UK, and Switzerland, all consent types default to denied. For other regions, defaults follow local regulatory requirements. You can configure region-specific behavior in the dashboard.

Is UniConsent safe?

UniConsent is designed with security and reliability as top priorities. UniConsent employs multiple layers of security, including encryption, firewalls, secure servers, and regular security audits.

How do I get started with Google Consent Mode?

Sign up at app.uniconsent.com, choose "Simple Mode (Google Consent Mode)" or configure Advanced Consent Mode, and install the UniConsent tag on your website. You can be up and running in 5 minutes.

UniConsent CMP for Google Consent Mode

UniConsent integrates with Google tag (gtag.js) or Google Tag Manager to support Google Consent Mode. You can block Google Analytics cookies and Google Ads cookies on your website based on user consent choices.

Google provides tags and SDKs for various products that come with built-in consent checks when set up with UniConsent CMP. These elements adjust their behavior based on consent states. Supported products include:

  • Google tags
  • Google Ads (including Google Ads Conversion Tracking and Remarketing)
  • Google Analytics
  • Floodlight
  • Conversion Linker

Consent Mode v2 Consent Types and Their Impact

Understanding the different consent types:

  1. ad_storage: Enables storage related to advertising, such as cookies on the web or device identifiers in apps.
  2. ad_user_data: Sets consent for sending user data to Google for online advertising purposes.
  3. ad_personalization: Sets consent for personalized advertising.
  4. analytics_storage: Enables storage related to analytics, such as visit duration.
  5. functionality_storage: Enables storage that supports the functionality of the website or app, such as language settings.
  6. personalization_storage: Enables storage related to personalization, such as video recommendations.
  7. security_storage: Enables storage related to security, including authentication functionality and fraud prevention.

For tags that do not have built-in consent checks, you can add checks in Tag Manager using the configuration in Advanced > Consent Settings.

Impact on Tag and App SDK Behavior

How consent choices impact the behavior of tags and app SDKs:

  1. When users grant consent, tags generally function as usual.
  2. When users deny consent for ad personalization or ad user data, tags and app SDKs cannot use user data for ad targeting purposes.
  3. When users deny consent for storage, consent-aware tags and app SDKs refrain from storing cookies on the web or device identifiers in apps. Instead, they communicate consent state and user activity via cookieless pings (web) or signals (apps) to the Google server, enabling modeling of conversions.

In addition to modifying tag behavior based on consent, Consent Mode allows for the redaction of stored data when a user denies consent. For example, if a user initially grants consent for data storage for ads but later changes their mind and denies consent, Google Ads can delete the stored information.

Get Google-ready Banner Implementation in 5 Minutes

Sign up now then choose CMP Type "Simple Mode (Google Consent Mode)" and click "Next", "Next" you will get Google-ready banner implementation tag.

Technical Documentation

Related Reading

Troubleshooting Missing Consent Mode or TCF Signals on Google Tags

When you encounter issues with missing Consent Mode or TCF (Transparency and Consent Framework) signals on your Google tags, start the troubleshooting process with the 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 1 business day.

Contact via Phone +441134678278 for urgent issues.

IAB registered consent manager for GDPRIAB TCF V2 registered consent manager for GDPRIAB TCF Canada registered consent managerGoogle-certified CMPGoogle-certified CMP
Trusted by 5000+ of global publishers and marketers
  • sej
  • football365
  • sharethrough
  • districtm
  • pf1
  • tower cast

Get started to make your website and application compliant for EU GDPR, US CPRA, CA PIPEDA etc

Sign up