Cookie consent for Webflow, from $9 a month · [Start free trial] · 14 day trial, no card

Google Tag Manager Cookie Consent: How Consent Mode Actually Fits Together

Google Tag Manager fires your tags. It does not ask anyone for permission, and it does not keep a record of what they said. Those two jobs belong to a consent platform, and GTM is built to listen to one.

ConsentBit is a Google-certified CMP with Consent Mode v2 on every plan. Scan your site, block what should be blocked, keep the record that proves it.

Consent, Done Better.

Start free trial
From $9 a month. 14 day trial, no card required.
ConsentBit consent banner with Preferences, Reject and Accept buttons
Google-Certified CMP Partner
IAB TCF 2.3 registered
Consent Mode v2 on all plans
2,000+ websites and apps
The problem

A banner is not consent

A banner announces cookies. Consent means nothing non-essential runs until the visitor agrees, and that your tags are told what they agreed to.

GTM makes this easy to get wrong, because a tag can fire on page view before the banner has rendered, let alone been clicked. The container is doing exactly what you told it to do.

Block first, ask second.
Banner only
1
Page loads
2
Analytics, pixel and embeds fire and set cookies
Too early
3
Banner appears
4
Visitor chooses a choice that was never real
With ConsentBit
1
Page loads
2
Non-essential scripts are held back
On hold
3
Visitor chooses: Accept, Reject or by category
4
Only the allowed scripts run
Google Tag Manager

What GTM does, and what it leaves to you

Google Tag Manager
Still your job
Fires tags on triggers
Yes
Deciding when they are allowed to
Consent mode support built in
Yes, it can read consent states
Setting those states
Asking the visitor
No
A consent banner
Blocking scripts loaded outside GTM
No
A consent tool
Keeping consent records
No
A consent tool
Scanning your site for cookies
No
A consent tool

GTM has consent support built in. What it does not have is anything that asks the question or stores the answer.

The three pieces, in plain terms

Consent Mode v2.

Four signals your CMP sets: ad_storage, analytics_storage, ad_user_data and ad_personalization. Google tags read them and adjust behaviour instead of simply not firing, so you keep modelled conversions after someone declines.

Basic versus advanced.

In basic mode, Google tags do not load at all until consent. In advanced mode they load in a restricted state and send cookieless pings, which is what preserves measurement. Advanced is what most advertisers want, and it is what Consent Mode v2 was designed for.

The consent initialization trigger.

GTM runs this before everything else, which is where your CMP must set its default states. Set them to denied there, update on the visitor’s choice, and no tag fires ahead of the answer.

Get those three right and the rest of the container behaves.

Two ways to handle consent in GTM

Blocking triggers
Consent Mode v2
How it works
Tags are stopped from firing
Tags load in a restricted state and adjust
Measurement after a Reject
Nothing
Cookieless pings and modelling
Google Ads requirement for EEA traffic
Not sufficient on its own
Required
Maintenance
Per tag, forever
Set once at the container level

Blocking triggers were the old way and they still appear in a lot of containers. If you run ads into the EEA or UK, Consent Mode v2 is not optional.

Setup

How to set up cookie consent in Google Tag Manager

1

Scan your site

Add your domain and ConsentBit returns every cookie and tracker found, including the ones firing through GTM.

2

Add ConsentBit before GTM

Place the ConsentBit script in the head so it runs first and sets the default consent states to denied.

Confirm recommended plugin
3

Confirm in preview

Open GTM preview, check that your default states show as denied before any click, and that they update when consent is given.

Full GTM setup guide
Test it

How to test your consent setup in GTM

Two checks, five minutes.

In the browser:

1
Open your site in a private window.
2
DevTools → Application → Cookies, before touching the banner.
3
_ga, _gid or _fbp already there means tags fired ahead of consent.

In GTM preview:

4
Open preview mode and look at the Consent tab on the first event.
5
Before any click, every state should read denied.
6
After Accept, the relevant states should flip to granted, and your tags should fire then, not before.
If the consent tab shows granted on page load, your defaults are not being set early enough.
Application → Cookies, before touching the banner
Banner only
_ga
Set before consent
_gid
Set before consent
_fbp
Set before consent
With ConsentBit
No non-essential cookies
Blocked until consent

Illustration of the test result. Cookie names are the examples from step 3.

Not sure what is firing?

Run a free scan and see every tracker on your site in under a minute.

Scan my site free
What you get

What you get with ConsentBit

ConsentBit is a Google-Certified CMP Partner and an IAB TCF 2.3 registered CMP, used on 2,000+ websites and apps across 40+ countries.

Included
Google Consent Mode v2
All plans
Script blocking before consent
All plans
Automatic cookie scanning
All plans
Exportable consent records
All plans
Cookie and privacy policy generators
All plans
Full control over banner design
All paid plans
IAB TCF v2.3
Essential and Growth
Region-based rules
Growth

Proof, not promises.

Every consent is logged with its timestamp and choices, and exports as CSV or JSON.

  • Free · 1 domain, 5,000 pageviews
  • Basic $9
  • Essential $20
  • Growth $56 per domain, per month

Annual billing saves 12.5% to 33%. 14 day trial, no card required.

Start free trial
At a glance

ConsentBit with GTM at a glance

Google Consent Mode v2
All plans
Consent states set
ad_storage, analytics_storage, ad_user_data, ad_personalization
Default state
Denied until consent
Install method
Script in the head, ahead of the GTM container
GTM community template
[verify]
Server-side GTM
[verify]
Google-Certified CMP Partner
Yes
IAB TCF
v2.3 registered, CMP ID 502
Works with
WordPress, Webflow, Framer, Shopify, Squarespace, Wix, Magento, Drupal, Joomla, plain HTML
Pricing
Basic $9, Essential $20, Growth $56 per domain per month
Built by
Seattle New Media
Common mistakes

Four mistakes we see in GTM containers

01

Consent defaults set after the container loads.

They belong in consent initialization, before anything else runs.

02

Blocking triggers instead of consent mode.

Tags stop firing, measurement goes to zero, and the EEA requirement still is not met.

03

Scripts hardcoded in the theme as well as in GTM.

The container behaves, the hardcoded copy does not.

04

Nobody checks the consent tab.

GTM preview shows exactly what state each tag saw. It takes thirty seconds and almost nobody looks.

FAQ

Frequently asked questions

No. GTM can read consent states and adjust which tags fire, but it does not show a banner, ask the visitor or store the answer. That comes from a consent management platform.

A set of four signals (ad_storage, analytics_storage, ad_user_data, ad_personalization) that your CMP sets and Google tags read, so tags adjust their behaviour based on consent rather than simply not firing.

If you serve ads to visitors in the EEA or UK and use Google’s ad platforms, yes. Consent Mode v2 with a Google-certified CMP is required for personalised advertising there.

A GTM trigger that runs before everything else in the container. Default consent states belong there, so no tag fires before the visitor’s choice is known.

Consent mode. Blocking triggers stop tags entirely, which satisfies nothing and loses all measurement. Consent mode keeps modelled data after a decline.

Place the ConsentBit script in the head so it loads ahead of your container and sets defaults to denied, then confirm the states in GTM preview.

[verify with product]

Plans start at $9 a month per domain for Basic. Essential is $20 and Growth is $56, with annual billing saving between 12.5% and 33%.

Yes. Consent records export as CSV or JSON, with timestamps and the exact choices made.

Scan. Block. Prove.

Consent, Done Better.

Your container does what you tell it. Tell it the truth about consent.

Start free trial
From $9 a month. 14 day trial, no card required.