---
title: "Consent Mode v2 in GA4: The Config That Preserves Attribution Without Violating Consent"
url: "https://samarthanalytics.com/blog/consent-mode-v2-attribution-config"
published: "2025-09-29"
updated: "2026-07-08"
category: "GA4 Implementation"
tags: "attribution modeling, OneTrust, modelled conversions, GA4 consent configuration, privacy tracking, Google Tag Manager, Cookiebot, Consent Mode v2"
author: "Samarth Analytics"
---

# Consent Mode v2 in GA4: The Config That Preserves Attribution Without Violating Consent

> A practical implementation guide to Consent Mode v2 in GA4, explaining how it works with Google’s tagging ecosystem to preserve attribution while respecting user consent. This article breaks down Basic vs Advanced modes, CMP configuration examples, modelled conversion flow, and validation steps used in real audit scenarios.

## CONSENT MODE V2 REFRESHER

[Consent Mode v2](https://samarthanalytics.com/guides/google-consent-mode-v2-best-practices) is Google’s updated framework for handling user consent signals across analytics and advertising tags. It is designed to balance privacy compliance with measurement continuity.

At a technical level, Consent Mode v2 controls how Google tags behave before and after user consent decisions are made.

It introduces two critical signals:

ad_storage (controls ad cookies)
analytics_storage (controls analytics cookies)
Plus additional signals such as ad_user_data and ad_personalization in v2

When consent is not granted, tags do not store cookies in the traditional way. Instead, they send anonymized pings that allow Google to model conversions at an aggregate level.

This shift is fundamental: tracking does not stop, but it changes form from deterministic to modeled measurement.

## BASIC VS ADVANCED: THE REAL DIFFERENCE

Consent Mode v2 can be implemented in two modes: Basic and Advanced. The difference between them is often misunderstood, but it has significant implications for attribution quality.

Basic Mode

In Basic Consent Mode:

Tags are blocked entirely until consent is granted
No pings are sent before consent
No behavioral data is collected without permission
Google has no visibility into pre-consent activity

This approach is stricter but results in significant data loss, especially in regions with high opt-out rates.

Advanced Mode

In Advanced Consent Mode:

Tags load immediately, even without consent
Pings are sent without cookies when consent is denied
No personally identifiable data is stored pre-consent
Enables conversion modeling using partial signals

Advanced mode is the preferred implementation for most [GA4](https://samarthanalytics.com/services/ga4-implementation) setups because it preserves measurement continuity while remaining privacy compliant.

Key difference in one line:

Basic mode blocks data collection; Advanced mode anonymizes it.

## CMP CONFIG (ONETRUST AND COOKIEBOT EXAMPLES)

Consent Mode v2 depends heavily on correct [CMP](https://samarthanalytics.com/guides/consent-ux-cmp-measurement-impact-best-practices) (Consent Management Platform) integration. Without proper configuration, signals will not pass correctly to GA4 or Google Ads.

OneTrust Configuration

Typical setup includes:

Mapping OneTrust consent categories to Google consent signals
Linking cookie categories to ad_storage and analytics_storage
Ensuring default denial state before user interaction
Pushing consent state changes to GTM data layer

Key requirement:

Consent state must be updated in real time and communicated to GTM before tags fire.

Cookiebot Configuration

Typical setup includes:

Automatic blocking of non-essential scripts until consent
Integration with GTM via Cookiebot CMP template
Mapping categories to Google consent parameters
Ensuring event-based updates when consent changes

Critical rule:

Both CMPs must fire consent updates before GA4 configuration tags execute. Otherwise, default states may be incorrectly applied.

## GA4 SIGNAL FLOW WITH MODELLED CONVERSIONS

One of the most important aspects of Consent Mode v2 is how it enables modelled conversions in GA4.

The signal flow works as follows:

User lands on site
Consent status is checked
If consent is denied:
No cookies are stored
Anonymous pings are sent to Google
If consent is granted:
Full cookie-based tracking is enabled
Standard GA4 attribution applies
Google combines both datasets to build aggregated models

This hybrid approach allows GA4 to:

Estimate conversion rates for non-consented users
Maintain attribution continuity across sessions
Reduce reporting gaps caused by consent loss

Important limitation:

Modelled conversions are statistical estimates, not user-level truth. They improve completeness but not granularity.

## VALIDATING VIA TAG ASSISTANT

Validation is critical in Consent Mode v2 implementation. Incorrect configuration often leads to silent data loss or incorrect modeling.

Google Tag Assistant is the primary tool for validation.

Key validation checks include:

Confirming default consent state on page load
Verifying consent update events are firing correctly
Ensuring GA4 tags respect consent signals
Checking whether pings are being sent in denied states
Validating that no unauthorized cookies are set

Common misconfigurations include:

Consent updates firing after GA4 tags
Missing gtag('consent','update') events
CMP not properly linked to [GTM container](https://samarthanalytics.com/services/tag-management)
Incorrect mapping of consent categories

A working setup should clearly show state transitions from default → updated consent in real time.

## WHAT AUDITORS WILL ASK TO SEE

Consent Mode v2 implementations are increasingly scrutinized in analytics and compliance audits. Auditors typically look for both technical correctness and governance clarity.

Key audit expectations include:

Evidence of Consent Mode v2 activation in GTM
Proof of correct CMP integration (OneTrust, Cookiebot, etc.)
Documentation of Basic vs Advanced mode decision
Clear mapping of consent categories to Google signals
Validation logs from Tag Assistant or debugging tools
Demonstration of modelled conversion reporting in GA4

Auditors are not only checking whether Consent Mode exists, but whether it is correctly structured and verifiable.

Common failure points:

Consent mode implemented but not actively affecting tags
Misalignment between CMP and GTM configurations
Modelled conversions enabled but not validated
Lack of documentation for consent logic decisions

A compliant setup is not just technical-it is auditable.

FINAL THOUGHTS

Consent Mode v2 is not simply a compliance feature-it is a measurement infrastructure layer that determines how much visibility you retain in a privacy-first ecosystem.

Basic mode prioritizes strict compliance at the cost of data loss, while Advanced mode balances compliance with modeled attribution continuity.

The effectiveness of Consent Mode v2 depends entirely on correct CMP integration, proper GTM configuration, and continuous validation. When implemented correctly, it allows GA4 to maintain meaningful attribution insights even in environments with limited user consent, without violating privacy standards.

---

Published by [Samarth Analytics](https://samarthanalytics.com) (admin@samarthanalytics.com). More: [Blog](https://samarthanalytics.com/blog), [Guides](https://samarthanalytics.com/guides).
