# Google Consent Mode

> Passes each visitor's cookie choice to Google's tags. Tags then act on that yes or no.

**Field:** Marketing & SEO  
**Category:** Digital Marketing in 2026  
**Also known as:** Consent Mode, Consent Mode v2, Google Consent Mode v2

## Think of it like

It is like a note you pass to the waiter. It says what the guest is happy to share.

## Definition

Google Consent Mode passes a visitor's cookie choice to Google's tags. It uses four signals, each set to granted or denied. Two cover ad and stats cookies, and two cover sending data to Google and tailoring ads. In basic mode, the tags wait until the person answers the banner. In advanced mode, the tags load at once and send pings with no cookies until the person says yes. Google uses those pings to model the sales it cannot see.

## Example

Lucy's shop sets all four signals to denied at the start. When a visitor clicks Accept, the banner sets them to granted.

## Example code

```javascript
gtag('consent', 'default', {
  'ad_storage': 'denied',
  'ad_user_data': 'denied',
  'ad_personalization': 'denied',
  'analytics_storage': 'denied'
});
```

Every signal starts at no. The banner turns them to yes only when the visitor agrees.

## Why it matters

It lets a site respect a visitor's no and still measure something. Without it, a no can mean the sale is never counted at all.

## Common mistake

Thinking the banner alone is enough. If the tags never hear the choice, they ignore it.

## Three principles

- **Four signals.** Each is granted or denied on its own.
- **Basic or advanced.** Wait for an answer, or ping without cookies.
- **Feeds the model.** Pings help estimate the unseen sales.

## Related terms

- [Consent Management Platform (CMP)](https://learn.benibix.com/term/marketing/consent-management-platform)
- [Cookie Banner](https://learn.benibix.com/term/marketing/cookie-banner)
- [Modeled Conversions](https://learn.benibix.com/term/marketing/modeled-conversions)
- [Consent (Data Protection)](https://learn.benibix.com/term/marketing/consent)
- [Tag Management System (TMS)](https://learn.benibix.com/term/marketing/tag-management-system)

![One bar of sales in a report. The lower, solid part is sales the tag saw from people who said yes to cookies. The upper, dashed grey part is sales estimated for people who said no. Together they make the total shown in the conversions column. On the left, a consent banner sends a yes or no signal to the tag before it fires.](https://learn.benibix.com/diagrams/m26-modeled-conversions.svg)

---

Source: https://learn.benibix.com/term/marketing/google-consent-mode
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
