# Google Consent Mode v2 Integration | Secure Privacy Guide

> [CMP v1] Learn how to integrate Google Consent Mode v2 with Secure Privacy using the installation script or Google Tag Manager Template — including default consent settings and region-specific configuration.

- Canonical: https://support.secureprivacy.ai/article/cmp-v1-secure-privacy--google-consent-mode-v2-integration-guide-no-gtm
- Product: Consent Management
- Category: Secure Privacy Legacy
- Published: 2026-03-06T12:44:00+00:00
- Updated: 2026-03-22T17:20:13.559+00:00
- Reading time: 3 minutes

---

Secure Privacy supports [Google Consent Mode v2](https://developers.google.com/gtagjs/devguide/consent) — an API that connects Google tag behavior with visitor consent choices. When integrated with Secure Privacy, every consent decision a visitor makes is automatically signaled to Google, adjusting how tags such as Google Analytics and Google Ads behave based on whether consent was granted or declined.

**Google Consent Mode v2 (GCM v2)** introduces two additional parameters alongside `ad_storage` and `analytics_storage`: `ad_user_data` and `ad_personalization` — giving you granular control over how personal data is used for advertising and personalization purposes.

## Who Is This For?

-   Privacy managers and compliance officers implementing GDPR-compliant consent management with Google tags
    
-   Developers integrating Secure Privacy with Google Consent Mode via the installation script or GTM
    
-   Marketing teams balancing analytics accuracy with visitor privacy compliance
    

## How Google Consent Mode v2 Works with Secure Privacy

Google Consent Mode manages five consent categories: **advertisement**, **analytics**, **functional**, **personalization**, and **security** — using the global site tag or Google Tag Manager (GTM).

When a visitor declines analytics cookies, Google tags do not use cookies to collect personally identifiable information. Instead, aggregated, cookieless data is used — bridging privacy compliance with accurate conversion measurement. When integrated with Secure Privacy, consent signals are passed to Google automatically every time a visitor updates their preferences.

## Integration Methods

There are two ways to integrate Google Consent Mode with Secure Privacy:

-   **Implementation using the installation script (without Google Tag Manager Template)** — covered in this guide below.
    
-   [**Implementation using Google Tag Manager Template**](https://support.secureprivacy.ai/article/implementing-google-consent-mode-advanced-using-google-tag-manager-community-template) — covered in the dedicated GTM integration guide.
    

## Method 1: Implementation Using the Installation Script (Without GTM Template)

### Step 1: Enable Google Consent Mode in Secure Privacy

1.  Log in to your Secure Privacy dashboard, select the target domain.
    
2.  Navigate to **Installation > Google Consent Mode** tab.
    
3.  Toggle the **Enable Google Consent Mode** switch to activate it.
    

![Secure Privacy Installation settings showing Enable Google Consent Mode toggle switch being activated](https://pub-7bd19505838640d0a08ef1bd6ec3fb9b.r2.dev/articles/9ec6a007fad53bf3d9c5-b03e521e18d6.webp)

### Step 2: Add Default Consent Settings

1.  In the **Google Consent Mode** settings, locate the **Default Consent Settings** section.
    
2.  To set region-specific defaults, use the **Add Setting** option and enter the relevant ISO 3166-2 region code (for example, `DE` for Germany or `US-CA` for California).
    
3.  Configure the default consent state for each parameter — `ad_storage`, `analytics_storage`, `ad_user_data`, and `ad_personalization` — for the specified region.
    
4.  Click **Add** to save the setting. Repeat for each region you need to configure.
    
5.  Press **Save** button to apply the changes.
    

## Method 2: Implementation Using Google Tag Manager Template

For detailed instructions on integrating Google Consent Mode v2 with Secure Privacy using the Google Tag Manager Community Template, refer to the dedicated guide: [Secure Privacy: Integrate Google Consent Mode Using GTM Template](https://support.secureprivacy.ai/articles/235297).

## Frequently Asked Questions

### How do I enable Google Consent Mode in Secure Privacy?

Log in to the Secure Privacy dashboard, navigate to **Installation > Google Consent Mode**, and toggle **Enable Google Consent Mode** on. The integration will begin passing consent signals to Google automatically once activated.

### How do I configure consent defaults for different regions?

Use the **Add Setting** feature in the Default Consent Settings section. Enter the ISO 3166-2 region code for the target region and configure the default consent state for each parameter. This allows you to apply different default behaviors — for example, setting `analytics_storage` to denied by default for EU visitors — based on geolocation.

### What is the difference between Google Consent Mode v1 and v2?

Google Consent Mode v1 used two parameters: `ad_storage` and `analytics_storage`. v2 adds `ad_user_data` and `ad_personalization` — providing finer control over how user data is used for advertising and personalization. Google requires v2 compliance for continued access to certain features in Google Ads and Analytics as of March 2024.

### Where can I find the GTM Template integration guide?

The full Google Tag Manager Template implementation guide is available here: [Secure Privacy: Integrate Google Consent Mode Using GTM Template](https://support.secureprivacy.ai/articles/235297).

## See Also

-   [Implementing Google Consent Mode Using Google Tag Manager Template](https://support.secureprivacy.ai/article/implementing-google-consent-mode-advanced-using-google-tag-manager-community-template)
    
-   [Automatic Cookie Blocking Explained](https://support.secureprivacy.ai/article/cmp-v1-automatic-cookie-blocking-explained--secure-privacy-cmp)
    
-   [How to Increase Your Compliance Score (Overall Rating)](https://support.secureprivacy.ai/article/cmp-v1-increase-compliance-score-with-secure-privacy-cmp)
