Why are my tags firing before consent is given?
Tags fire before consent when the consent default is declared after them in the load order, when scripts are hardcoded in the page outside the tag manager's control, or when a tag's trigger doesn't actually wait for the consent state. This is the one area where the evidence is genuinely binary — either a request leaves before the default is declared or it doesn't — so it is also the easiest thing to verify properly, and the hardest to argue about once you have the network log.
Free30 minutesNo obligation
Tags firing before consent · what breaks
What this looks like when it's happening to you — Tags firing before consent
- 01
Requests to ad platforms before the banner appears
Visible in the network tab on a clean profile.
- 02
Cookies set before any choice is made
Present in storage before interacting with the banner.
- 03
A compliance review flagged it
Often the first time anyone looks.
Tags firing before consent · the fix
What changes once it's fixed — Tags firing before consent
Nothing leaves before consent
Verified per destination, not in aggregate.
A defensible position
Evidence you can hand to counsel or an auditor.
No over-blocking either
Region-scoped, so you aren't discarding data no law required.
Tags firing before consent · architecture
Why your conversion data was wrong in the first place — Tags firing before consent
Fixing this specific fault is worth doing. But it is worth understanding why it happened, because the same underlying weakness produces a different symptom every few months — and the reason your conversion data is wrong is almost never the tag itself.
- 1
Your conversion depends on a browser that is being restricted on purpose
A browser-side tag has to survive the page loading, the visitor staying, the script executing and the request leaving. Every one of those is now contested. The order in your database is certain; the browser event reporting it is not, and that gap is where wrong numbers come from.
- 2
Safari caps the cookie your attribution depends on
Intelligent Tracking Prevention limits cookies written by JavaScript to seven days, whatever expiry you set. Any customer who takes longer than a week to decide comes back as a stranger, so the sale is recorded and credited to nobody. A cookie your own server writes in an HTTP response is not subject to that cap — which is the single largest practical difference between browser-side and first-party server-side tracking.
- 3
Ad blockers remove the tag before it can run
A blocked pixel does not error, retry or warn anyone. The visitor buys, the order lands in your store, and no platform ever hears about it. First-party events sent from your own subdomain aren't filtered the same way, because they are not a third-party request.
- 4
Consent banners stop tags, sometimes when they didn't need to
Where consent is genuinely required, losing the event is correct. What is not correct — and what we find repeatedly on US-majority accounts — is an EU-style prior-consent banner applied to every visitor, discarding conversions no law asked you to discard. A server container enforces the real decision at the container rather than hoping each vendor script honours a flag.
- 5
The checkout can end somewhere your tag isn't
Wallets and hosted payment pages can be abandoned after the money moves. The customer paid; the confirmation page never rendered; the browser event never fired. Sending the purchase from the order record instead means the conversion arrives whether or not anyone came back to your site.
- 6
What that adds up to
Each of these is a separate route to tags firing before consent, and they compound. First-party server-side tracking doesn't patch them one at a time — it moves the money event off the browser entirely, so the order in your backend is what gets reported. That is why we reconcile against your own order records and put 95%+ accuracy in writing: with the event sourced from the order, the number is checkable rather than hopeful.
Tags firing before consent · normal or broken
Some of this is supposed to happen — Tags firing before consent
Half the time nothing is broken and the number is being read wrong. Knowing which is which stops you paying to fix something that was never a fault.
Normal, not a fault
Essential and functional scripts loading first
Where they don't set advertising or analytics identifiers, that's generally expected.
The container itself loading before consent
Loading the container isn't the same as firing tags from it.
Actually broken
Default declared after the tags
The single most common cause, and invisible unless you watch load order.
Scripts hardcoded in the page
Outside the container entirely, so consent logic never applies to them.
Triggers not waiting for consent state
Firing on page load rather than on the consent update.
CMP loading asynchronously behind the tags
The banner arrives after the data already left.
Tags firing before consent · diagnose
How we find out why are my tags firing before consent is given
Always in this order. Each step eliminates a class of cause, so by the last one there is usually a single explanation standing.
- 01
Clean profile, network tab, watch the order
This single check settles most of it.
- 02
List every request that precedes the default declaration
Each one is a finding.
- 03
Search the page source for hardcoded vendor scripts
Anything outside the container needs separate handling.
- 04
Deny consent and check each destination separately
Blocking one and not another is common.
- 05
Check whether the CMP itself can be blocked
If an ad blocker stops it, the page may sit in a permissive default.
Tags firing before consent · prove
How we prove it's actually fixed — Tags firing before consent
The tag firing again proves the tag fires. These prove the numbers are right.
Source of truth
Network request log on a clean browser profile
- No advertising or analytics request preceding the consent default, captured from a clean profile.
- With consent denied, no destination receiving an identifiable request — verified one destination at a time.
- With consent granted, every expected tag firing and the update visible in the log.
- The whole test repeated after any CMP or container change, since both routinely reset this.
- Reconciled against network request log on a clean browser profile for a fully closed window, matched on ID rather than on totals.
- No record counted twice, checked across the whole window rather than spot-checked.
- The same check repeated 30 days later, because a fix that holds once and drifts is the harder failure to catch.
Tags firing before consent · free audit
What we check in the free audit
- Clean profile, network tab, watch the order
- List every request that precedes the default declaration
- Search the page source for hardcoded vendor scripts
- Deny consent and check each destination separately
- Check whether the CMP itself can be blocked
Checked against
Network request log on a clean browser profile
Free30 minutesNo obligation
Tags firing before consent · when not to buy
When you don't need us for this — Tags firing before consent
Most of these you can do yourself, and we would rather you did.
- You can open a clean profile and watch the network tab yourself — that is the entire diagnosis and it costs nothing.
- Your CMP is a certified partner with a container template that handles ordering.
- You need a legal opinion rather than an implementation. Get that first.
Tags firing before consent · what we deliver
What we do about it — Tags firing before consent
Defaults first in the initialisation
Ahead of every tag, so no tag can precede the state.
Hardcoded scripts brought under control
Moved into the container or gated, since a script outside it can't be governed by it.
Server-side enforcement
A denied destination blocked at the container rather than trusting each vendor script.
Pricing
Pick the package that fits your ad spend
Browser-side starter
$400One-time fee · lifetime ownership
We fix the fault in your existing browser-side setup and verify it on a live transaction. Honest disclosure: this repairs what you have, it does not make it durable. If you spend $1K+/month on paid media, the fault will recur the next time Safari, a consent banner or a checkout change moves under you — the server-side tier is what stops that.
- Root cause found and fixed, not worked around
- Verified on a live transaction, not in preview
- Reconciled against your own order records
- Written handover documenting what changed and why
1st-party server-side
Recommended$800One-time fee · most popular
The tier that removes the whole class of failure rather than this instance of it. Your money events stop depending on the browser: they are sent from your order records through a first-party server container on your own subdomain, so iOS, ad blockers, consent banners and interrupted payment redirects can no longer take them away. Built in 2–4 days. You own the stack outright — no monthly SaaS.
- First-party server container on your own subdomain
- Purchases sent from your order records, not the browser
- Meta, Google, TikTok, Microsoft and LinkedIn all fed server-side
- Deduplicated on a shared event ID, verified at every destination
- First-party cookies beyond Safari's 7-day cap on JavaScript-set cookies
- 95%+ conversion accuracy and 8+ Meta EMQ, guaranteed in writing
Full 1st-party stack
$1,800One-time fee · lifetime ownership
Every paid-media channel server-side, end to end, plus the offline loop. For advertisers whose spend makes an attribution leak more expensive than the build. Pay once, own everything.
- Everything in 1st-party server-side
- Pinterest, Snapchat, Reddit and LinkedIn CAPI
- CRM and offline conversion loop, so closed revenue reaches bidding
- Refunds and cancellations reversed at every destination
- Klaviyo identity stitching, BigQuery and Looker Studio
- Monitoring, so the next break surfaces in days rather than a quarter
FAQ
Tags firing before consent questions, answered
Loading the container is generally not the same as firing tags. What matters is whether identifiers are set or data is sent before the choice.
They need gating at the source, or replacing. A script outside the container cannot be governed by the container's consent logic.
Only if the defaults are declared before everything else. Consent Mode installed in the wrong order is exactly this problem.
A network log from a clean profile showing request order, plus a denied-consent run per destination. That's the evidence.
Free · 30 min
Get tags firing before consent diagnosed properly
Free30 minutesNo obligation
