> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.consentmo.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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).

## Advanced vs. Basic Consent Mode

### 🚀 Advanced Mode (recommended) 

* 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 States & Tag Behavior

* 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 | ${color}[#519a52](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** |

### More information on the Advanced and Basic Mode of the Google Consent Mode V2 can be found here:

* [About consent mode](https://support.google.com/google-ads/answer/10000067?hl=en)

* [Set up consent mode on websites](https://developers.google.com/tag-platform/security/guides/consent?consentmode=advanced) - Developer documentation

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: Once the integration is enabled, and the Google tags IDs are added, they will be loaded by the app on the storefront. 
|| That is why 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 or scripts in the theme, you need to remove them from there and have them running only via our app.

**The only case where the tags can be loaded from another place is when you have them in the Google & YouTube sales channel, as long as the tag IDs are loaded only from there and from our app.**

# Integration Steps

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

2. Go to **Google Consent Mode V2** section

3. After that **Enable** the **Google Consent Mode V2** option

4. 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

5. **Save** the changes

###### You can also check a reference on the process below:

${youtube}[Automatic Google Consent Mode V2 Integration by Consentmo GDPR app](havOSHSDhmY)


7. **(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:

* [GCM V2 customization options](/en/article/gcm-v2-customization-options-137fv8c/)

# 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:

* [Google Consent Mode V2 Integration](/en/article/google-consent-mode-v2-integration-1olxp4x/)

# 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:

* [Google Consent Mode V2 - Checkout Integration](/en/article/google-consent-mode-v2-checkout-integration-1elt0b9/)

# 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