Consent Mode
What is Consent Mode?
Consent Mode is a mechanism, originally introduced by Google but now broadly adopted, that adjusts how tags and tracking behave based on a user's consent state. Instead of either firing tags fully or not at all, Consent Mode allows tags to send anonymized, modeled signals when consent is denied, preserving measurement value while staying within privacy boundaries.
Definition
A Consent Mode implementation defines a set of consent signals - typically analytics_storage, ad_storage, ad_user_data, and ad_personalization - that the consent management platform updates whenever a user accepts or rejects categories on the consent banner. Tags read these signals before firing and behave accordingly. Under denied consent, tags may still emit cookieless pings carrying minimal context like timestamp and page URL; platforms then use these pings to model behavior at the aggregate level and reconstruct conversion volume statistically. In the European Union, Consent Mode v2 became the practical requirement for serving personalized ads through major platforms while remaining compliant with the Digital Markets Act and ePrivacy rules.
Why it matters
For composable commerce teams, Consent Mode is the layer that connects legal compliance to measurement reality. A headless storefront typically integrates a consent management platform that gates the tag manager - browser-side, server-side, or both - and Consent Mode dictates what events each tag is allowed to send. Done right, the storefront stays compliant, the customer data platform receives only data with valid legal basis, and platform reporting remains usable for bidding and attribution even when consent rates drop. Done wrong, conversions disappear from platforms, bidding algorithms underperform, and CPAs rise sharply within days.
Use cases
A multinational retailer rolls out Consent Mode v2 with a server-side container so that the same consent state controls tags across web, app, and email. A DTC brand uses Consent Mode signal modeling to recover reporting volume after a consent banner redesign reduced opt-in rates. A composable marketplace integrates Consent Mode with its first-party data layer so that user-level enrichment only happens when the user has accepted the relevant categories, preventing accidental leakage of consented data into non-consented destinations.
Related
Explore Personalization · Composable Digital Experience Platform.