Articles on: Integrations

Google Consent Mode V2 (GCM V2) - Automatic integration

What Is Google Consent Mode V2 and how to set it?


Google Consent Mode (GCM) helps websites adjust how Google tags behave based on a visitor’s cookie consent choices—supporting compliance with regulations like GDPR.


It works by sending consent signals to Google without requiring cookies, allowing for continued measurement even when users don’t give full consent.


⚠️ Note: Consent Mode doesn’t include a cookie banner—it needs to be integrated with your existing consent management platform (CMP).




  • Google tags load immediately when the page loads.

  • Tags assume consent is denied by default and send cookieless pings.

  • When consent is later granted, full tracking is activated.

  • Provides advertiser-specific conversion modeling for more accurate insights.


✅ Basic Mode


  • Google tags are blocked until the user interacts with the consent banner.

  • If consent is granted, tags fire and send consent state to Google.

  • If denied, no tags or data are sent at all.

  • Google uses a generalized model for conversions if data is missing.


What Are Cookieless Pings?


Even if a user denies consent, advanced mode allows for limited data to be sent to Google via cookieless pings, such as:


  • Page visits, referrer, and user agent

  • Consent state info (granted or denied)

  • Ad click info (if available)

  • Randomized session data


This helps maintain partial measurement while respecting user privacy.



  • Consent state is set dynamically based on the user’s banner interaction.

  • Tags adjust automatically based on whether ad_storage or analytics_storage are allowed.

  • With full consent, all Google tags behave normally.


Summary Table


Feature

Advanced Mode

Basic Mode

Tag Loading

Tags load immediately with denied defaults

Tags load after user interaction

Data Transmission

Sends cookieless pings before consent

No data sent before consent

Consent Updates

Updates dynamically based on user action

Set after banner interaction

Tag Behavior

Tags adapt based on user’s consent status

Tags fire only after consent is granted

Conversion Modeling

Uses advertiser-specific modeling

Uses generalized modeling





Based on this you can decide which integration will work best for you!



Automatic GCM V2 integration


Consentmo now provides the option to automatically setup Google Consent Mode and integrate all Google services you are using without having to add any additional code to your theme files.


✅ Requirements for Integration


  • Subscription to a Premium plan (Standard, Plus, or Enterprise).


  • Agree to let our app set up your Google services.


⚠️ NOTE: The following integration will only work properly if the Google services are added only via the Consentmo settings. If you have them running from any other 3rd party app, sales channel, or scripts in the theme, you need to remove them from there and have them running only via our app.


Integration Steps


  1. Navigate to Consentmo's settings and click on the Integrations tab in the left menu.


  1. Go to Google Consent Mode V2 section


  1. After that Enable the Google Consent Mode V2 option


  1. From the menu there, add your Google services' IDs in the fields Google Tag Manager, Google Analytics, and Google Ads


Note that you can add more than one ID in a field by separating them with a comma, without any spacing between them. Example: AW-123456,AW-987654


  1. Save the changes


You can also check a reference on the process below:




  1. (optional) Change the additional settings if the default ones don't fit your store's requirements, from the next Consent mapping section there. More information on how this works and can be set, can be found here:



Free Plan


If you are running the Free plan of the app, or simply like to keep your current Google services integration, you can also take advantage of the integration with Google Consent Mode V2, by following the guide below:



Checkout Integration


Another important thing that we want to mention here is that this integration will not be applicable for the checkout pages of the store. In order to have this set, please refer to the following guide on how the GCM V2 integration from our app can run in the checkout pages as well here:



Need help?


In case you need any assistance, please make sure to reach out to our support team via live chat or at support@consentmo.com

Updated on: 26/08/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!