Data & analytics Dec 2, 2026 11 min read

# The marketer's guide to consent: cookie banners, Google Consent Mode v2 and the 7 consent types

![The marketer's guide to consent](https://triggerbee.com/images/blog/marketers-guide-to-consent.webp)

**Last checked: 2026-12-02**

## Quick summary

TL;DR

**Main takeaway:** Your cookie banner collects the visitor's choice. Google Consent Mode v2 is how every tool on the page hears about it.

-   **Pick a banner that sends Consent Mode v2 signals:** Cookiebot, OneTrust, CookieYes, Usercentrics and Didomi all do.
-   **Map each banner category to the right consent types:** seven of them, from `analytics_storage` to `security_storage`.
-   **Decide what each tool may do before the visitor answers:** nothing, cookieless measurement, or everything that needs no consent.

Google Consent Mode v2 passes the choice a visitor makes in your cookie banner on to your tags as seven consent types, each set to granted or denied. Any banner on Google's certified CMP list sends them, and you can also send them from a banner you build yourself, as we do on triggerbee.com. The work that decides whether your setup holds up is the mapping: which banner category grants which consent type, and what each tool does while the answer is still "denied".

## The problem: one banner, a dozen tools, and nobody checking what happens in between

Most marketing teams install a cookie banner once, tick the categories the vendor suggests and move on. The banner then becomes the most important line of code on the site. It decides whether GA4 counts the visit, whether Google Ads can measure a conversion, whether your Meta pixel fires and whether your popups and personalization run at all.

When the mapping is wrong, it goes wrong in one of two directions. Either a tool runs before the visitor said yes, which is a privacy problem, or a tool waits for a category the visitor never sees, which quietly empties your reports.

We saw the second one on our own site. When we switched to holding Triggerbee back until visitors accepted analytics cookies, the number of daily visits Triggerbee recorded on triggerbee.com dropped by about 75%, because only about one visitor in four accepted analytics cookies. The visitors kept arriving, and Triggerbee stopped counting the three in four who didn't accept.

## Why listen to us

[Triggerbee](https://triggerbee.com/platform/identity) has run website visitor identification and personalization for European brands under GDPR for more than ten years, with more than 500 B2B and B2C brands. Nearly every one of those sites has a cookie banner that decides when our script may run. In November 2026 we rebuilt consent on triggerbee.com with Google Consent Mode v2 and built Website Privacy into Triggerbee, so Triggerbee reads the same signals as Google's tags. This guide uses our own setup as the worked example.

## What Google Consent Mode v2 does

Consent Mode is a small set of commands your site sends to Google's tag (gtag.js) or Google Tag Manager. Your site sends one command when the page loads with each consent type's starting value, usually "denied", and another one when the visitor makes a choice in the banner:

-   gtag('consent', 'default', { analytics\_storage: 'denied', ad\_storage: 'denied' }) // …the visitor clicks Accept… gtag('consent', 'update', { analytics\_storage: 'granted', ad\_storage: 'granted' })

Google's own tags read those values and adjust. Tags from other vendors can read them too, through Google Tag Manager's consent settings or directly, the way Triggerbee does.

Version 2 added two consent types, `ad_user_data` and `ad_personalization`. Since March 2024 Google has required both for advertisers who measure or target visitors in the European Economic Area with Google Ads, so a setup from before 2024 is probably missing them.

Consent Mode runs in one of two modes:

-   **Basic:** Google's tags don't load at all until the visitor accepts. You measure nothing about visitors who decline.
-   **Advanced:** Google's tags load straight away with every type denied. Until the visitor accepts, they send cookieless pings without identifiers, which Google uses to model the conversions you can't see. We run advanced mode on triggerbee.com.

Google's [consent mode overview](https://developers.google.com/tag-platform/security/concepts/consent-mode) describes both in full.

## The 7 consent types and what they mean

| Consent type | What it allows | Which banner category usually controls it |
| --- | --- | --- |
| analytics_storage | Cookies and storage for measurement, such as GA4's visitor ID | Analytics or statistics |
| ad_storage | Cookies and storage for advertising, such as Google Ads click IDs | Marketing |
| ad_user_data | Sending data about the visitor to Google for advertising, including hashed emails for enhanced conversions | Marketing |
| ad_personalization | Using the visitor's data for personalized ads and remarketing lists | Marketing |
| personalization_storage | Storage for personalizing the site, such as recommendations | Personalization, often grouped with analytics or preferences |
| functionality_storage | Storage the site needs to work, such as a language choice | Necessary, always granted |
| security_storage | Storage for security, such as login sessions and fraud prevention | Necessary, always granted |

Two details catch people out:

-   **Personalized ads need two types.** Google only uses a visitor for personalized ads when both `ad_user_data` and `ad_personalization` are granted. A banner that sends only `ad_storage` leaves your European visitors out of your remarketing lists.
-   **The two necessary types are yours to send.** Google's tags don't depend on `functionality_storage` or `security_storage`, so many setups never send them. Other tools do read them. Triggerbee, for example, can tie its service experiences (such as forms) to `functionality_storage`, and those experiences never show if your site never sends it.

## Which cookie banners work with Google Consent Mode v2

Google certifies consent management platforms (CMPs) in its [CMP Partner Program](https://cmppartnerprogram.withgoogle.com/), which in December 2026 lists about 50 vendors. Google awards the certification to CMPs integrated with Consent Mode and Google Tag Manager, and ranks them Gold, Silver or Bronze for customer support and ease of integration.

| Cookie banner | Google CMP Partner tier | Good to know |
| --- | --- | --- |
| Cookiebot | Gold | Scans your site and sorts cookies into categories for you |
| Usercentrics | Gold | Same company as Cookiebot, aimed at larger sites |
| OneTrust | Gold | Common in enterprise setups with a privacy team |
| CookieYes | Gold | Popular on WordPress and Shopify |
| Didomi | Gold | Common among European publishers |
| iubenda | Gold | Bundles cookie, privacy and terms policies |
| Consentmanager | Gold | European vendor, popular with publishers |
| CookieFirst | Gold | European vendor |
| Cookie Script | Gold | European vendor with a free plan |
| Axeptio | Gold | Conversational banner style, popular in France |
| Complianz | Silver | WordPress plugin |

If you publish ads on your own site through AdSense, Ad Manager or AdMob, Google has a separate requirement: a Google-certified CMP that supports the IAB's Transparency and Consent Framework. Google keeps that list in its [Ad Manager help center](https://support.google.com/admanager/answer/13554116).

You don't need a certified CMP to use Consent Mode as an advertiser. Any banner that sends the `default` and `update` commands works, including one you build yourself. Whichever you choose, check four things before you commit:

1.  **It sends all seven consent types,** or lets you add the ones it leaves out.
2.  **It sets the default before your tags load.** A default that arrives after GA4 has already fired is too late.
3.  **It lets you name your own categories** and map each one to consent types.
4.  **It tells other scripts when the visitor answers,** with a callback or an event, so tools outside Google can react on the same page.

## How we set up consent on triggerbee.com

We built our own banner, because we wanted three plain rows and full control over what loads when. It sends Google Consent Mode v2 signals like any certified CMP. Here's the setup, step by step.

**1\. Every optional type starts denied, before anything else runs.** The first script on every page sets the defaults, before Google Tag Manager loads:

-   gtag('consent', 'default', { analytics\_storage: 'denied', personalization\_storage: 'denied', ad\_storage: 'denied', ad\_user\_data: 'denied', ad\_personalization: 'denied', functionality\_storage: 'granted', security\_storage: 'granted', wait\_for\_update: 500, })

`functionality_storage` and `security_storage` start as granted because they belong to the Necessary row, which visitors can't switch off.

**2\. Returning visitors get their earlier choice straight away.** The same script reads the choice the visitor saved last time and sends it as an update, so a returning visitor who accepted is never counted as "denied" for the first second of the page.

**3\. The banner has three rows, mapped to the seven types.**

| Banner row on triggerbee.com | Consent types it grants |
| --- | --- |
| Necessary (always on) | functionality_storage, security_storage |
| Analytics & personalisation | analytics_storage, personalization_storage |
| Marketing | ad_storage, ad_user_data, ad_personalization |

**4\. Accept, Deny and Save choices each send an update.** The banner sends the Consent Mode update and pushes a `consent_update` event to the data layer, which Google Tag Manager can use as a trigger for tags from other vendors.

**5\. Tags from other vendors get a consent requirement in Google Tag Manager.** GA4 and Google Ads read Consent Mode on their own. Tags from other vendors, such as LinkedIn and Meta, need "Require additional consent for tag to fire" set to `ad_storage` in their consent settings, or they fire before the visitor answers.

**6\. Triggerbee loads on every page and reads the same signals.** Since December 2026 Triggerbee loads before the visitor answers and decides for itself what it may do, based on the consent types above. The banner tells it the moment the visitor makes a choice:

-   if (window.triggerbee && typeof window.triggerbee.refreshPrivacy === 'function') { window.triggerbee.refreshPrivacy() }

### How to check your own setup

-   **In Google Tag Assistant,** open your site, pick any event and open the Consent tab. It shows each type's default value and its value after the update.
-   **In your browser's developer tools,** filter network requests for `collect` and look at the `gcs` parameter on GA4 requests. `G100` means `ad_storage` and `analytics_storage` are both denied, `G111` means both are granted.
-   **In a private window,** load your site, click Deny and check which cookies appear. Only necessary cookies should.

## The gap: what your tools do before the visitor answers

Consent Mode tells your tools what the visitor allowed. It doesn't decide what each tool does while the answer is "denied" or still missing, and that's where most of the value of a consent setup sits. GA4 in advanced mode sends cookieless pings. Many other tools have only two settings: run fully, or don't load at all.

That second group is where our 75% drop came from. Triggerbee waited for consent, so three visitors in four were never counted, and the campaigns on their pages never ran.

Triggerbee's [Website Privacy settings](https://help.triggerbee.com/en/articles/17449988-website-privacy) close that gap. You tell Triggerbee which consent type each part of it needs, and what it may do for visitors who decline:

-   **Visitor analytics** follows `analytics_storage`. Visitors who decline or haven't answered can still be counted without cookies: their visits, page views, goals and purchases are recorded, and nothing is saved on their device.
-   **Onsite experiences** follow the type that fits their purpose. Content and marketing campaigns can follow `ad_storage`, personalization can follow `personalization_storage`, and service experiences such as forms can follow `functionality_storage`, so they show for everyone.
-   **Form submissions** still reach you from visitors who declined, because filling in a form is something the visitor chooses to do. You decide whether Triggerbee stores the answers or only passes them on to your integrations.
-   **Closed campaigns stay closed** across visits once the visitor allows it, and for the rest of the current visit before that.

If your banner doesn't send Consent Mode signals, Triggerbee can read the visitor's answer from a cookie the banner sets, or from a JavaScript expression.

On triggerbee.com, visitors who decline still see our demo and pricing forms, and their visits are counted without cookies.

**Triggerbee's limitation.** Visitors counted without cookies can't be recognized when they come back, so they count as a new visitor each day. Triggerbee recognizes them by their network and browser, so two people on the same office Wi-Fi with the same browser on the same day can count as one visitor.

## Get more from the visitors who say no

[Book a demo](https://triggerbee.com/demo) and we'll show you how Website Privacy works with your cookie banner, and what Triggerbee can still do for visitors who decline.

## FAQ

### Do I need a Google-certified CMP for Consent Mode v2?

Not as an advertiser. Any banner that sends the Consent Mode `default` and `update` commands works, including one you build yourself. Publishers who show Google ads through AdSense, Ad Manager or AdMob to visitors in the EEA, the UK or Switzerland must use a Google-certified CMP.

### Does Google Consent Mode make my site GDPR compliant?

No. Consent Mode passes the visitor's choice on to your tags. Whether your site complies depends on your banner, your privacy policy and what each tool does with that choice. Check your setup with whoever owns privacy at your company.

### What is the difference between basic and advanced Consent Mode?

In basic mode, Google's tags don't load until the visitor accepts. In advanced mode, they load straight away with consent denied and send cookieless pings, which Google uses to model conversions from visitors who declined.

### Which banner category should `personalization_storage` belong to?

It depends on what you personalize. Most sites put it with analytics or with preferences. On triggerbee.com it sits in the same row as analytics, labeled "Analytics & personalisation", so visitors make one choice for both.

### Can I load marketing tools before the visitor accepts?

Only tools that read the consent signals and hold back until the visitor allows them. GA4 in advanced mode and Triggerbee with Website Privacy both work this way. Tools that set cookies as soon as they load need to wait for the banner.

### Why does my GA4 traffic drop when I add a cookie banner?

GA4 only counts visitors with cookies once they accept `analytics_storage`. In advanced mode, Google models some of the missing visits from cookieless pings. In basic mode, visitors who decline aren't counted at all.

Read more about [first-party data](https://triggerbee.com/glossary/first-party-data), [server-side cookies](https://triggerbee.com/glossary/server-side-cookies) and why Safari forgets returning visitors under [Intelligent Tracking Prevention](https://triggerbee.com/glossary/intelligent-tracking-prevention).

## Keep reading

[View all posts](https://triggerbee.com/blog)

-   ![How to identify website visitors](https://triggerbee.com/images/blog/identify-website-visitors.webp)

    ### How to identify website visitors: 6 methods compared (and which ones work in Europe)

    Data & analytics Nov 30, 2026

    [How to identify website visitors: 6 methods compared (and which ones work in Europe)](https://triggerbee.com/blog/identify-website-visitors)

-   ![Claude + Website = True?](https://triggerbee.com/images/blog/analyze-campaigns-with-claude.webp)

    ### Analyze your website campaigns with Claude: setup and prompt library

    Data & analytics Nov 25, 2026

    [Analyze your website campaigns with Claude: setup and prompt library](https://triggerbee.com/blog/analyze-campaigns-with-claude)

-   ![Server-side cookies: the Triggerbee logo beside a cookie.](https://triggerbee.com/images/blog/server-side-cookies/cover.webp)

    ### First-party and server-side cookies: why your website forgets returning visitors

    Data & analytics Nov 17, 2026

    [First-party and server-side cookies: why your website forgets returning visitors](https://triggerbee.com/blog/first-party-and-server-side-cookies)

## See what Triggerbee could do on your site

[Get a demo](https://triggerbee.com/demo)
