All articles

Consent checks or triggers? Two ways to make a tag wait in GTM

Google Tag Manager can hold a tag back with consent settings or with trigger conditions. They behave differently when a visitor changes their mind.

Naini Anjaneyulu, 5 December 2026

Here's a test worth running on your own site. Open it in a private window, click Accept all on the very first page, and watch whether the Meta Pixel fires. On a lot of sites it doesn't, not until the visitor goes to a second page. The landing page visit, often the one that came from your ad, is never recorded.

That's usually caused by how the tag was told to wait.

Two ways to say "not yet"

GTM gives you two tools for this, and they look like they do the same job.

Consent settings live on the tag itself, under Advanced Settings. Google tags like GA4 and Google Ads have built-in checks, so they already know which consent types they care about. Every other tag can be given additional checks: you tick Require additional consent for tag to fire and list, say, ad_storage.

Trigger conditions are the older way. The tag fires on an event, such as OneTrustGroupsUpdated, only when a variable shows the right category was allowed.

Where they differ

A consent check is a gate, not a queue. When the trigger fires, GTM looks at the consent state at that moment. If ad_storage is denied, the tag is skipped, and it doesn't wait around for consent to change. When the visitor clicks Accept two seconds later, nothing tells the skipped tag to try again.

That's exactly the bug from the start of this post. The pixel was set to All Pages with an additional consent check. The page view happened before the click, the check failed, and the page was gone.

A trigger built on the consent event doesn't have this problem, because the click itself is the event. The tag fires the moment consent is given.

What I do

For Google tags, I keep the built-in checks and let Consent Mode do its work. GA4 adjusts its own behaviour when consent changes, and Google can model some of what the denied visitors would have shown.

For everything else, I use both. The additional consent check stays on the tag as a safety net, so it can never fire while consent is denied, whatever trigger someone attaches later. Then I give the tag two triggers: the normal page view, and the consent update event. The page view covers visitors who said yes on an earlier visit. The update event covers the first-page accept.

With two triggers, a returning visitor could get the pixel twice on one page. Set the tag to fire once per page under Advanced Settings, Tag firing options.

See every tag's consent at once

GTM hides a useful view behind a setting. Go to Admin, then Container Settings, and turn on Enable consent overview. A shield icon now appears on the Tags list. Click it and you get every tag sorted by whether consent has been configured.

The section called "Consent not configured" is your to-do list. In an older container, expect to find tags in there that nobody remembers adding.

More articles

Does your site honour Global Privacy Control?

Some browsers tell every site "don't sell or share my data". In California that signal counts as an opt-out. Here's how to check that your site listens.

5 minute read

Opt-in for Europe, opt-out for the US: one OneTrust setup for both

European law wants permission before tracking. US state laws want a clear way to refuse. Geolocation rules let one site do both.

7 minute read

How to read OneTrust's OptanonConsent cookie

OneTrust writes every choice into one cookie. Decode it and you can answer "what did this visitor agree to?" in seconds.

5 minute read

How OneTrust tells Google Tag Manager what a visitor chose

One variable and two events carry every consent choice from OneTrust into GTM. Here's how to read them and build triggers that don't miss.

6 minute read

Mapping OneTrust categories to Google Consent Mode

OneTrust thinks in cookie categories, Google thinks in seven consent types. A mapping that works, and the one setting that causes double defaults.

7 minute read

Does your cookie banner block anything?

A banner can look right and still let every tag fire. Four checks, all in your own browser.

5 minute read

How to check your dataLayer in five minutes

A quick routine, using only your browser, to see whether your site is sending the data your tags depend on.

6 minute read

Dashboards that answer one question well

Why most dashboards get ignored, and a simple way to design ones that people open every week.

7 minute read

Why tags break after a site update

The usual reasons tracking fails after a release, and a short checklist to stop it happening to you.

6 minute read

Can you trust your data?

Tell me what you track, and what you ask visitors before you track it.

Start a project