Digital Marketing

How to Implement Consent Mode V2: Step-by-Step Guide

18 October 2026 7 min read Aysel Aliyeva

Written by:

Strategic Planning

View profile

Ask AI about this page

7 views 7 min read

Implementing Google Consent Mode V2 requires updating your website’s consent banner and tag management configuration to pass two specific consent signals: ad_user_data and ad_personalization. According to Google documentation, passing these explicit signals is required to comply with the EU User Consent Policy and maintain full conversion measurement and audience targeting capabilities across Google Ads and GA4.

What is Google Consent Mode V2 and why is it required?

Google Consent Mode V2 is an updated consent framework designed to communicate website visitors’ privacy choices directly to Google tags. Google documentation confirms Consent Mode V2 requires explicit signals for ad_user_data and ad_personalization parameters to comply with the EU User Consent Policy. Without sending these signals, ad accounts targeting users in the European Economic Area lose access to personalized advertising and remarketing features.

How to Implement Consent Mode V2: Step-by-Step Guide — overview

Earlier versions of Consent Mode relied primarily on analytics_storage and ad_storage parameters to adjust tag behavior based on user consent. The V2 update expands this framework by adding explicit consent flags for user data processing and personalization. This shift ensures that data collection aligns strictly with user preferences before any data is sent to advertising services.

What are the key differences between basic and advanced consent mode?

Choosing between Basic and Advanced Consent Mode determines how your website handles tags before a visitor interacts with your cookie banner. In a Basic setup, Google tags remain blocked completely until the visitor gives explicit consent. Once the user clicks accept, the tags load and transmit full measurement data to Google platforms.

Advanced Consent Mode takes a different approach by loading Google tags immediately when the page renders, but setting default consent states to denied. When consent is denied, tags send cookieless pings instead of full conversion data. These cookieless pings allow Google Analytics 4 and Google Ads to perform behavioral modeling without tracking individual users.

How to Implement Consent Mode V2: Step-by-Step Guide — in practice

In a typical account, selecting Advanced Consent Mode preserves a larger portion of conversion modeling data compared to the Basic setup. However, legal teams in certain jurisdictions prefer Basic Consent Mode because no requests leave the user browser before explicit consent is granted. Organizations must balance regulatory interpretations against data modeling requirements when choosing an implementation model.

  • Basic Mode: Google tags are completely blocked until the user accepts cookie permissions.
  • Basic Mode: No pings or requests are sent prior to consent approval.
  • Advanced Mode: Google tags fire immediately with default denied flags set before user interaction.
  • Advanced Mode: Sends cookieless pings when consent is denied to enable conversion modeling.
  • Both Modes: Require explicit signals for ad_user_data and ad_personalization parameters.

Implementing Consent Mode V2 usually starts with a certified Consent Management Platform (CMP). Certified CMP solutions provide built-in integrations that automatically format and dispatch consent signals directly to Google Tag Manager. Platforms like Cookiebot, OneTrust, Usercentrics, and Cookie Script handle the banner interface while updating consent states directly in the background.

When choosing a CMP, verify whether it natively supports Google Consent Mode V2 template tags. Using a partner banner simplifies setup because the banner script updates consent variables before your marketing tags fire. For custom-built websites or custom consent banners, developer teams must write custom JavaScript code to push consent events to the data layer manually.

How do you configure Consent Mode V2 in Google Tag Manager?

Configuring Consent Mode V2 in Google Tag Manager involves setting default consent states before any other scripts execute. You accomplish this by placing a consent default command directly in the site header or using a dedicated CMP community template in GTM. The default command sets ad_storage, analytics_storage, ad_user_data, and ad_personalization to denied for new visitors.

After setting defaults, configure your CMP tag to fire on the Consent Initialization trigger. The Consent Initialization trigger is a special GTM trigger designed to execute before the standard Initialization and Page View triggers. This sequence guarantees that default consent states exist before any tracking tags check for user permission.

Next, update consent states dynamically when a visitor consents on the banner. When the user selects their preferences, the CMP pushes an update command to GTM with granted values for permitted categories. Standard tags like the Google Tag, GA4 Event tags, and Google Ads Conversion Tracking adjust their behavior automatically based on these updated flags.

  • Step 1: Install a Google-certified CMP template or inject default consent script in the website head.
  • Step 2: Assign the CMP container tag to fire on the Consent Initialization – All Pages trigger.
  • Step 3: Enable Consent Overview in GTM container settings to audit tag consent requirements.
  • Step 4: Verify built-in consent checks on standard Google tags like GA4 and Google Ads tags.
  • Step 5: Configure custom HTML or third-party tags to require additional consent categories where necessary.
How do you verify consent signals in Google Tag Assistant and GA4?

Testing your setup ensures that explicit consent signals reach Google services correctly. Open Google Tag Assistant and connect your site to inspect event execution in real time. Select the Consent Initialization event in the left panel and click the Consent tab to confirm that initial default values show denied for all relevant parameters.

Next, accept cookies on your site banner while watching Tag Assistant. Look for a new consent update event in the timeline and check the Consent tab again. You should see ad_user_data and ad_personalization change from denied to granted. If these values remain unchanged or report missing parameter warnings, your banner is not transmitting the updated flags properly.

You can also inspect outgoing network requests using your browser developer tools. Filter network traffic by searching for collect requests sent to Google Analytics or Google Ads. Look for the gcs and gcd parameters in the request query string. The gcd parameter encodes the detailed state of each consent setting, proving whether explicit signals are present.

A common pattern in misconfigured accounts is tags firing before default consent states are established. If a GA4 tag fires on the standard Page View event before the CMP script runs, Google services may record unconsented data or default to improper states. Ensure your CMP loads at the top of the HTML page source.

Another frequent issue involves missing ad_user_data or ad_personalization parameter declarations in custom implementations. Custom banner scripts written for Consent Mode V1 often omit these newer V2 parameters. Updating custom scripts requires adding these two variables to both the gtag consent default and gtag consent update call payloads.

Third-party tag blocking can also break tracking when tags are improperly mapped in GTM. Ensure that native consent checks are enabled within GTM built-in tag settings. Avoid setting strict blocking triggers on Google tags if you intend to run Advanced Consent Mode, as blocking triggers prevent cookieless pings from firing altogether.

Where to start this week

To implement Consent Mode V2 efficiently, start by auditing your current cookie banner and GTM container. Check whether your CMP provider offers automated Consent Mode V2 integration and update your CMP banner script to the latest version. Alien Road recommends testing changes in a staging environment before pushing container publish commands live.

Next, enable Consent Overview in GTM settings to inspect every tag in your container. Verify that ad_user_data and ad_personalization states update cleanly upon user interaction in Tag Assistant. Once verified, publish your GTM container update to maintain uninterrupted conversion tracking and audience building across your Google marketing channels.

Keep reading: Strategic Planning · Digital Marketing

Share