# Ad blockers don't just block tracking: they block consent banners too

When ad blockers prevent your CMP from loading, no consent signal fires and tags run in an undefined state. Here is how server-side GTM fixes the GDPR risk.

![Illustration of cracked screens, representing ad blockers breaking cookie consent banners as well as tracking](https://taggrs.io/_astro/hero.Cpc1g47J_258GBK.webp)

Source: https://taggrs.io/adblockers-blocking-consent-banners/
Author: Mariusz Brucki, Analytics Engineer · [LinkedIn](https://www.linkedin.com/in/mariusz-brucki/) · [Website](https://mariuszbrucki.pl)
Published: 2026-05-28 · Updated: 2026-11-19

---

Ad blockers can prevent CMP scripts from loading entirely. When a Consent Management Platform (CMP) is blocked, the consent banner doesn't appear and the user's consent state is never recorded. If the setup is correct, this is a **measurement gap** (the data is lost). If tags still fire without a default consent state, it is also a **compliance gap**.

This article covers what happens technically, when a blocked banner becomes a compliance problem, and how server-side GTM with first-party CMP hosting reduces the vulnerability.

## What happens when an ad blocker blocks your consent banner?

The sequence starts with the CMP script. Most CMPs (like Cookiebot, OneTrust, or Quantcast) deliver that script from a third-party CDN. Each provider uses CDN domains that are publicly known, consistent across thousands of implementations, and updated on predictable schedules.

That consistency is what makes them targetable. Filter lists work by matching request destinations against known domains. A CDN domain that appears across thousands of sites is exactly the kind of stable pattern filter list maintainers look for. Most of these rules sit in cookie-notice lists such as EasyList Cookie, Fanboy Annoyance, and AdGuard Cookie Notices, which exist to remove banners on purpose.

What each blocker does with those rules by default differs. Brave applies EasyList Cookie out of the box. uBlock Origin ships the cookie-notice lists switched off, so a default install does not block an in-page Cookiebot or Usercentrics script. It does block googletagmanager.com through EasyPrivacy, so a CMP loaded as a GTM tag disappears together with every other tag. Ghostery takes a different route: its Never-Consent feature clicks "Reject all" on the banner, which leaves a recorded refusal.

When a visitor with one of those blockers active lands on a page, the browser requests the CMP script. The blocker intercepts it. The script never loads. The page renders without a consent banner.

The visitor sees the page normally. Nothing appears broken. On the site's side, there is no consent state recorded for that session.

What happens next depends on how the tag setup handles an absent consent signal:

- Tags configured with Consent Mode V2 wait for a signal up to their wait\_for\_update time, then run on the default state.
- Tags with fallback defaults operate on whatever those defaults were set to.
- Tags with no consent check at all fire whatever the consent state is.

In all three cases, the user was never shown a banner. There is no record of a decision, which is fine as long as nothing that needs consent runs. It becomes a problem when tags fire anyway.

## What Consent Mode V2 does when consent is undefined

Google's Consent Mode V2 controls tag behavior through per-category signal states: _analytics\_storage_, _ad\_storage_, _ad\_user\_data_, and _ad\_personalization_. Each category gets set to either granted or denied. Tags listen for the relevant signal before acting.

When the CMP is blocked, no signal fires. The tag does not receive _denied_ and hold. It does not receive _granted_. It runs on whatever default was set before the CMP was supposed to load. That default can come from the GTM container (a template or an initialization block), from an inline snippet before GTM, or only from the CMP script itself.

Some setups skip explicit defaults entirely. The assumption is that the CMP loads fast and fires a signal before any tag acts. That assumption works when the CMP loads. When it is blocked and nothing else sets a default, the consent types have no state at all. Google's documentation is explicit about what that means. This is the isConsentGranted entry, under Core APIs, on the [Custom template APIs](https://developers.google.com/tag-platform/tag-manager/templates/api#isconsentgranted) page of Google Tag Manager:

_“Consent for a particular consent type is considered to be granted if the consent type has been set to 'granted' or **not set at all**. If the consent type is set to any other value it will be considered not granted.”_

Source: Google, Custom template APIs, Core APIs, [isConsentGranted](https://developers.google.com/tag-platform/tag-manager/templates/api#isconsentgranted). The [addConsentListener](https://developers.google.com/tag-platform/tag-manager/templates/api#addconsentlistener) entry on the same page says it again: “A consent type with no state is considered granted, so the listener won't be called if an unset consent type is updated to granted.” The claim is about a consent type that was never set. The blank-page test below confirms it for the built-in consent check: with no default set, a tag that requires ad\_storage consent fired.

So where the default comes from matters more than whether the CMP is hardcoded or loaded through GTM. If only the CMP script sets the default, blocking the script leaves the tags with no default, and they run as granted. If the default comes from a GTM template or an inline snippet that runs before GTM, a blocked CMP only means that no consent update arrives, and tags that check consent stay held back.

Platform behavior in the undefined case is often not what teams expect:

- **GA4**: undefined is worse than denied. Google tags act as if consent were granted and set their cookies. Modeling only applies when the default is denied and advanced mode is on.
- **Advertising tags**: partial firing in an undefined state can register an event that feeds attribution.
- **Tag Manager itself**: the built-in "Require additional consent" check also treats a consent type that was never set as granted. It is not a quirk of some templates.

The result is measurement data that cannot be attributed to a verified consent record.

A test on a blank page shows the difference. It used a Google tag plus a custom tag that requires ad\_storage consent. With no default set, the custom tag fired and the \_ga cookie was set. With a denied default set before GTM loaded, the custom tag was held back and no cookies were set. A tag with no consent check fired in both cases. A denied default also does not always mean silence: under advanced mode, Google tags still send cookieless pings, and under basic mode they wait until consent is given.

Put together, the same blocked CMP ends in three different places, depending on the setup:

**Denied default in GTM.** The consent state is denied. A tag that checks consent is held back and no cookies are set. A tag with no consent check fires anyway.

**Missing default.** The consent state counts as granted. A tag that checks consent fires and cookies are set. A tag with no consent check fires anyway.

**GTM and CMP served from your own domain, with encrypted requests (covered below).** The visitor can answer the banner, and a tag that checks consent fires after a yes. A tag with no consent check fires anyway.

## When a blocked consent banner becomes a compliance problem

GDPR Article 7 puts the burden of proof on the controller. Consent must be freely given, specific, informed, and unambiguous. Where processing is based on consent, the controller must be able to demonstrate that consent was given.

A blocked CMP does not create a violation on its own. No banner means no consent, and if nothing that needs consent runs, there is nothing to prove. The problem starts when tags fire anyway: processing without valid consent, and no record to show for it. Regulators have not ruled specifically on blocked CMPs. Their enforcement shows how they treat tracking without valid consent.

The Dutch DPA (Autoriteit Persoonsgegevens) is actively checking banners. In November 2025 it said it had [warned more than 200 websites](https://www.autoriteitpersoonsgegevens.nl/en/current/ap-three-quarters-of-websites-have-adjusted-their-misleading-cookie-banners-after-warning-investigation-launched-into-those-who-refuse) about misleading cookie banners and that about three-quarters had adjusted them. In October 2026 it [opened investigations into two organizations](https://www.autoriteitpersoonsgegevens.nl/actueel/ap-onderzoekt-websites-vanwege-misleidende-cookiebanner) that kept a banner without a visible reject button after a warning, and said it had warned about 100 organizations in recent months.

In 2024 the same regulator fined AS Watson, the company behind Kruidvat, [€600,000](https://www.autoriteitpersoonsgegevens.nl/actueel/boete-van-600000-euro-voor-tracking-cookies-op-kruidvatnl) for tracking visitors with cookies without their knowledge or consent. The cookie banner had boxes to agree to tracking that were ticked by default, and refusing took many steps. After an objection, the AP [lowered the fine to €50,000](https://www.autoriteitpersoonsgegevens.nl/documenten/besluit-op-bezwaar-as-watson-kruidvat) in June 2025.

In 2023 France's CNIL fined Criteo [€40 million](https://www.legifrance.gouv.fr/cnil/id/CNILTEXT000047707063). The main finding was that Criteo could not show that users had validly consented to the use of data collected on its partners' sites, even though its contracts made the partners responsible for collecting consent. The CNIL also found failures in how Criteo handled access and erasure requests. Criteo is an adtech vendor and not a publisher, so the case is not the same as a blocked CMP. It still shows who has to prove consent: the controller that relies on it.

The pattern is that the obligation attaches to whether consent was validly collected and recorded, not to whether your vendor's script happened to reach the browser. Tracking that needs consent should not run before the user has agreed, and a blocked banner only matters for that rule when tracking runs anyway.

Sending nothing by default is the correct compliance posture. Combined with a blocked CMP, it's also the configuration that quietly costs you the most data, because those sessions go dark without anyone choosing that outcome. The default only protects you when it is set independently of the CMP, because a default that lives only in the CMP script disappears with the script.

The rules may also change. The EU's Digital Omnibus, proposed in November 2025, would change how the EU treats cookies and similar technologies. On 21 October 2026 the Council agreed its [negotiating position](https://en.havelpartners.blog/digital-omnibus-what-is-set-to-change-regarding-cookies), which drops the proposed GDPR Articles 88a and 88b. Cookie rules would stay in the ePrivacy Directive, with wider exceptions where consent is not needed (for example, anonymous aggregated audience measurement) and a wait of at least four months before a site asks again after a refusal. The Council position is the start of talks with the European Parliament, so current ePrivacy and GDPR rules continue to apply.

## The data loss, and who it actually affects

The compliant path has a real cost. In sessions where the CMP was blocked, a denied default means no cookies and no attribution data. Under basic Consent Mode, GA4 sends no events at all. Under advanced mode, it sends cookieless pings instead of full events. Ad platforms also receive fewer conversions and audiences, so their bidding learns from less data.

The scale depends on the audience. Approximately **30% of internet users globally use some form of ad blocker** (GWI, 2025). That figure covers every kind of ad blocker, and many of them leave CMP scripts alone. How many of your visits lose the banner is unknown, so it is worth measuring (the FAQ below shows how).

Most of those users are not blocking measurement intentionally. GWI's 2025 research shows that the most common reasons are too many ads (63.5%) and ads that get in the way (53.5%). Privacy comes next: 42.4% say they want to protect their privacy, and 26.6% say they want to stop companies collecting data about them, according to [Backlinko, 2025](https://backlinko.com/ad-blockers-users).

That distinction matters. Most users with an ad blocker installed are not opting out of analytics. They want fewer ads and faster page loads. If the banner reaches them, they can answer it. If it does not, nobody knows what they would have chosen.

The sessions that remain dark are those where the banner never appeared, not because the user declined, but because the consent mechanism failed silently.

Fixing CMP delivery gives those visitors the chance to answer. It only brings data back when tracking is first-party too, because the same blockers also block Google Analytics, Google Ads, and Meta scripts.

### How to check whether this is happening on your site

Three checks, in order of effort.

**Test it yourself.** Open your site in Brave on default Shields, or in uBlock Origin with the cookie-notice lists switched on, in a clean browser profile. If your banner does not render, you have reproduced the problem in under two minutes. Default uBlock Origin is not a reliable test, because it does not block an in-page CMP script. Repeat with a couple of blockers, since filter lists differ.

**Compare banner impressions with page requests.** If your CMP reports banner impressions, compare them with server-side page requests for the same period, for example from CDN or server logs, or page hits in your server container. Do not compare against analytics sessions, because those are consent-gated and blocked by the same blockers. Many CMPs only log interactions, so a gap is normal. Treat it as an estimate.

**Check your CMP's script origin.** Look at where your consent script loads from. A domain that belongs to your CMP provider can be matched by filter lists, and so can a known path such as /cookieconsent.js on your own domain. Many CMPs support first-party hosting as a configuration option, but it is rarely the default, and a plain CNAME is not enough, as explained below.

## How server-side GTM removes the consent banner vulnerability

The root of the problem is where the CMP script is hosted. A third-party CDN has a fixed, known domain. That domain appears in filter lists. Any CMP delivered from a well-known CDN is a stable target.

Serving the CMP from the site's own domain removes the match on the provider's host. A plain subdomain that points to the provider with a CNAME is not enough, though. EasyList Cookie has about 960 generic path rules that match on any domain, first-party included, such as /usercentrics/cmp.js and /cookieconsent.js. uBlock Origin on Firefox and Brave also uncloak CNAMEs.

What works is a same-origin path that is not a known pattern, combined with requests that are encrypted instead of only renamed, so a list cannot learn the pattern. Cosmetic rules can still hide a banner after it loads, which is why the result needs a test in Brave.

When the browser requests the CMP script from a path that no filter list matches, the script loads. The banner renders. The user sees the prompt and can answer it.

This is the same infrastructure principle described in the article [Why Server-side Tracking can still lose data (and how the Enhanced Tracking Script fixes it)](/enhanced-tracking-script-against-ad-blockers/). There, moving the tracking request to a first-party endpoint prevented blockers from matching it against known analytics CDN patterns. Applied to the consent layer, the same approach can keep the CMP from being intercepted before the banner can appear.

Server-side GTM can handle CMP delivery as part of a broader first-party setup. Tag order is a different layer, though. It is decided in the web GTM container (Consent Initialization, or an inline default before GTM), not by where the CMP is hosted. The server container only reads the consent state that each incoming hit carries.

Enhanced Tracking Script (ETS v3) covers the GTM side of this. GTM is bundled into a loader on the site's own domain, so it keeps running under a blocker, and requests to the server container are encrypted. The CMP needs one more step: a CMP tag inside GTM still calls the provider's own domain, and ETS does not mask those calls.

The TAGGRS Cookie Consent tag closes that gap by loading the CMP through the server container, so the request goes to the site's own domain. It has been validated end to end with Cookiebot. In a test with a blocker that removes Cookiebot's own domain, the banner stayed visible with this tag and disappeared with the official Cookiebot tag. ETS v3 improves resilience, but it does not guarantee delivery: cosmetic rules can still hide a banner, so the result needs a test.

If your CMP loads from a provider host, the fix is to serve it from your own domain, on a path no filter list matches. The setup steps for the Enhanced Tracking Script are in the [TAGGRS docs](https://taggrs.io/docs/server-side-tracking/enhanced-tracking-script).

[Install the TAGGRS Enhanced Tracking Script](https://taggrs.io/docs/server-side-tracking/enhanced-tracking-script)

To see how this works on a live setup, [book a TAGGRS demo](/demo/).

## What a resilient consent setup requires

**1. Set denied defaults that do not depend on the CMP.** Set the default to denied on the Consent Initialization trigger in GTM, so it runs before any measurement or advertising tag, or inline in the page head before GTM loads. Do not rely only on the Consent Mode switch inside the CMP script, because that default disappears when the script is blocked. Set it for all regions: a region-scoped default leaves every other region unset, and unset counts as granted.

**2. Give every tag a consent check.** A tag with no consent check fires whatever the user chose. Add the right consent requirement to each tag. A hardcoded pixel that relies on the CMP's auto-blocking depends on the CMP script loading first, so move it into GTM with a consent check.

**3. Serve the CMP from your own domain, on a path no list matches.** A plain CNAME to the provider is not enough. Use a same-origin path that is not a known pattern, with encrypted requests, and expect cosmetic rules to hide some banners.

**4. Test with the CMP blocked.** Block the CMP script in Chrome DevTools (Network, right-click the request, Block request URL), open GTM Preview, and read the On-page default column on the Consent tab. Denied means the default is set independently of the CMP. Empty means unset. Then load the site in Brave on default Shields, or in uBlock Origin with the cookie-notice lists switched on. Google describes the same check in [Troubleshoot consent mode with Tag Assistant](https://developers.google.com/tag-platform/security/guides/consent-debugging).

**5. Document the consent architecture.** Record the CMP provider, the hosting path, and the explicit default states for each region and tag category. That record shows where each default comes from and makes the setup easy to review.

Most of this list is configuration you can do in an afternoon. The one piece that needs infrastructure is serving the CMP from your own domain, on a path no filter list matches.

[Create a free TAGGRS account](https://dashboard.taggrs.io/register) to set that up, or [run the free website tracking checker](/website-tracking-checker/) to see what your tracking is missing.

**Slides from the MeasureCamp Brussels talk**

The talk on this topic, as a Google Slides deck.

- [View the slides](https://docs.google.com/presentation/d/1O65bkVQlY179eaNQhk-NtzQG4YQjp4QLK8AHpTCcvKg/edit?usp=sharing)

## FAQ

### Can ad blockers block any CMP, or only specific platforms?

It depends on the blocker and on the list. Many well-known CMPs load from a provider host that Brave blocks by default, and that uBlock Origin and AdGuard block once their cookie-notice lists are switched on. OneTrust is an exception: its script host (cdn.cookielaw\.org) has no default-on block, but cosmetic rules hide its banner on every site. Serving the CMP from your own domain removes the match on the provider's host, but not the generic path and cosmetic rules, so it needs a test too.

### How do I know if my consent banner is being blocked for some visitors?

Start with a direct test. Open your site in Brave on default Shields, or in uBlock Origin with the cookie-notice lists switched on, and check whether the banner renders. Default uBlock Origin is not a reliable test: it does not block an in-page CMP script, although it does block googletagmanager.com, so a CMP loaded through GTM disappears along with every other tag. For a rough share of affected visits, compare the banner impressions your CMP reports with server-side page requests. Many CMPs only log interactions, so treat the gap as an estimate.

### Is setting Consent Mode V2 defaults to "denied" enough to stay GDPR compliant when a CMP is blocked?

In most cases, yes, as long as three things hold: the default is denied, it is set independently of the CMP, and every tag checks consent. In that setup, a blocked CMP is a data gap, not a compliance gap, because nothing that needs consent runs. What denied defaults cannot do is show users a banner they were never given, so the data from those visits is still lost. Two details to check: a tag with no consent check fires anyway, and Google tags under a denied default can still send cookieless pings in advanced mode. The defaults protect the tag layer. First-party CMP delivery addresses the data loss at the consent collection layer.

### What is the difference between a blocked consent banner and what the Enhanced Tracking Script protects against?

The Enhanced Tracking Script protects the tracking request after consent has been collected. It prevents ad blockers from intercepting the browser-to-server event before it reaches the server container. A blocked consent banner is one step earlier: the user was never shown a prompt and no consent signal was ever recorded. Whether that is only a data gap or also a compliance problem depends on whether tags fire anyway. The two problems share the same infrastructure fix (first-party delivery) but sit at different points in the data flow. ETS v3 keeps GTM running when a blocker is active, but it does not mask requests to a CMP provider's own domain. For that, the CMP has to load through your own path, for example with the TAGGRS Cookie Consent tag.

### Does Consent Mode V2 work if the CMP never loads?

Consent Mode V2 is a signaling framework, not a consent collection mechanism. It controls how tags behave once a signal arrives. If the CMP never loads, no update arrives and tags run on whatever default was set before it. If that default is denied and was set outside the CMP, tags that check consent stay held back. If no default exists, the consent types have no state, and [Google treats a consent type that was never set as granted](https://developers.google.com/tag-platform/tag-manager/templates/api#isconsentgranted). Tags that check consent then fire.

### Can I just host my CMP script myself?

Often, but a plain CNAME is not enough. Many CMP providers support first-party hosting, either through a CNAME record that points a subdomain of your site at their infrastructure or by serving the script from your own server. uBlock Origin on Firefox and Brave uncloak CNAMEs, and EasyList Cookie has generic path rules that match on any domain, such as /cookieconsent.js. What works is a same-origin path that is not a known pattern, with encrypted requests. Check your provider's documentation for first-party or custom domain setup, then test with the CMP blocked.
