Some of your visitors use ad blockers. On those page views your ads usually do not load, so they earn nothing from ads. Before you do anything about it, you need two numbers: how many of your page views have ad blocking, and what happens when you ask those visitors to allow ads. This guide explains how to get both with Google's own tools, and how to test a message without driving readers away.
What ad blockers do
An ad blocker is a browser extension, browser feature or network service that stops ads from loading. Most extensions work from filter lists: shared sets of rules that say which requests to block and which page elements to hide. The best known is EasyList, which its maintainers describe as the primary list for removing adverts, used by many ad blockers. A companion list, EasyPrivacy, removes tracking scripts.
The Adblock Plus filter documentation describes the main kinds of rule, including:
- Blocking filters stop a network request, such as an ad script or ad call, before the browser loads it.
- Element hiding filters hide parts of the page, such as an empty ad slot.
- Exception filters allow something that would otherwise be blocked. Allowlisting a site works this way.
Two things follow for publishers. First, if the script that loads your ads is blocked, every slot on the page is empty, not just one. Second, privacy lists such as EasyPrivacy also block analytics scripts, so your own analytics may undercount these visitors.
Why it costs revenue
A blocked page view still uses your hosting and your content, but if the ad script is blocked it sends no ad requests, so it earns nothing from display ads. It usually does not show up as unfilled impressions either, because the request never reaches the ad server. That makes ad blocking easy to miss: your fill rate and eCPM (earnings per 1,000 impressions) can look normal while a share of your traffic earns nothing. If your page RPM (revenue per 1,000 page views) is lower than your traffic suggests, ad blocking is one cause to check alongside the others in why your RPM dropped.
How much this costs depends on your audience, so measure your own site rather than relying on averages.
How to measure the share of page views with ad blocking
Google's ad blocking extension rate
If you use AdSense or Ad Manager, the simplest measure is in Privacy & messaging. Add Google's ad blocking recovery tag to your pages and create an ad blocking recovery message, but leave it as a draft. Google's AdSense tagging page says AdSense will start detecting ad blockers and generating reporting metrics even if the message is unpublished. In Ad Manager, the tagging page says detection starts once the tag is on your site and you have a draft ad blocking message, or a European or US state regulations message.
The metrics to look at, as defined in Google's AdSense metrics page and the Ad Manager Privacy & messaging report:
| Metric | What it counts |
|---|---|
| Ad blocking extension rate | The percentage of page views where the visitor had an ad blocker extension installed. Desktop page views only. |
| Ad blocking recovery messages shown | How many times the message was shown. |
| Ad blocking recovery message conversions | Messages shown that led visitors to add your site to their allowlist. |
| Ad blocking allowlisted page views (AdSense) or Allow-ads page views (Ad Manager) | Page views from ad blocker users who saw the message and later allowed ads. |
Google says that since mid-February 2024 the extension rate has excluded mobile and tablet page views, and applied the change to historical data too. If most of your traffic is on phones, the rate describes only part of your audience. In AdSense the metrics card shows the last 30 days, and you can download a CSV file with more detail.
A simple first-party check
If you want the number in your own analytics, Google's Privacy & Messaging JavaScript API can tell you the ad blocking status of a visitor once the ad blocking tag has loaded. The API reports one of four states: unknown, an extension ad blocker, a network-level ad blocker, or no ad blocker. A minimal example that sends the result to Google Analytics 4 as an event:
<script>
window.googlefc = window.googlefc || {};
window.googlefc.callbackQueue = window.googlefc.callbackQueue || [];
googlefc.callbackQueue.push({
'AD_BLOCK_DATA_READY': () => {
// 0 unknown, 1 extension, 2 network-level, 3 no ad blocker
if (typeof gtag !== 'function') return; // analytics blocked
gtag('event', 'ad_block_check', {
ad_block_status: googlefc.getAdBlockerStatus()
});
}
});
</script>
Treat the result with care: if a visitor's blocker also stops your analytics, that page view is never counted. Use it to compare sections, devices and trends, not as an exact share. Home-made checks, such as testing whether an ad script loaded, have the same weakness and can mistake a slow network for a blocker. If you have visitors in Europe, read the privacy notes below before adding any detection script.
Read the transcript
Some visitors use ad blockers. Their page views still cost you to serve, but they usually earn nothing from ads. Here are a thousand made-up page views. In this example, one in five has an ad blocker, so two hundred page views show no ads at all. A recovery message asks those visitors to allow ads. In this example, fifteen percent of them do. That wins back thirty page views, not all two hundred. So measure how many page views have ad blocking, test a polite message, and watch whether visitors keep reading, not just whether ads come back.
What Google's ad blocking recovery message does
Privacy & messaging in AdSense and Ad Manager includes an ad blocking recovery message. Some Google pages still call the underlying technology Funding Choices. Google's AdSense and Ad Manager pages describe it as a message that asks visitors to allow ads on your site or offers them other ways to support it. It is shown only to visitors with ad blocking or script blocking software.
It is a single screen with:
- Your logo, if you add one.
- An "Allow ads" button. It lets visitors adjust their ad blocker settings to allow ads on your site, and closes the message. Google has ended one-click allowlisting, so the message now shows instructions for allowing ads; the visitor makes the change in their own ad blocker.
- An optional custom choice button, such as "Subscribe", for an alternative you run yourself, like an ad-free subscription.
You choose how it appears. Google's set-up page lists three placements:
- Centered modal (dismiss): centered over a dark background that partly hides the page. Visitors can close it.
- Centered modal (non-dismissible): the same, but visitors cannot close it.
- Bottom pinned (dismiss): a bar along the bottom of the page, so visitors can still read. They can close it.
So a visitor who sees the message can allow ads, take your custom choice if you offer one, close it (on the dismissible placements), or leave. The Ad Manager page adds an important limit: these messages are only available on websites viewed in desktop browsers, not in mobile browsers or apps.
Setting it up
- In AdSense or Ad Manager, go to Privacy & messaging, then Ad blocking recovery, then Tagging. Copy the ad blocking recovery tag and paste it between
<head>and</head>on your pages. This tag is separate from your normal ad code. - Optionally, add the error protection code from the same tab. Google's troubleshooting page says it shows a short notice, always in English, if an ad blocker is blocking Google's consent messages. It is pinned to the bottom and does not stop visitors reading.
- Create the message: choose sites, optional page inclusions or exclusions (up to 5 per domain), languages and placement.
- Before your first publish, Google asks you to review settings and make a decision in the "For Acceptable Ads users" section. See the next section.
- Publish, or keep it as a draft while you collect detection data.
A custom choice needs extra work: Google requires the googlefc.controlledMessagingFunction function on your pages so that visitors who have already subscribed are not shown the message again. To preview a published message on your own computer, add ?fc=alwaysshow&fctype=ab to a page URL; Google's Privacy & messaging page says this shows the message regardless of ad block detection.
Acceptable Ads and allowlisting
Not every ad blocker blocks every ad. Acceptable Ads is an ad standard whose criteria are set by the Acceptable Ads Committee; eyeo acts on the committee's behalf to admit participants and enforce the criteria. Ads that meet it can be shown to ad blocker users who have Acceptable Ads turned on. Adblock Plus enables the Acceptable Ads list by default, according to its filter documentation, and eyeo says users can turn it off. The standard requires ads to be clearly labeled as advertising and limits their size and the share of the screen they take up. Publishers apply to join, either through a participating partner or by having their own ads allowlisted. eyeo says only large entities pay a fee.
This interacts with Google's message. eyeo's page on Google's recovery messages says that if you are an Acceptable Ads partner and choose to show your recovery message to Acceptable Ads users, ads will no longer be shown to them through Acceptable Ads. If you earn from Acceptable Ads, check that decision before you publish.
Your options
| Option | What it means | Watch out for |
|---|---|---|
| Do nothing | Accept that some page views earn nothing from ads | Still measure it, so you know what it costs |
| Polite, dismissible message | Ask for support; visitors can close it and keep reading | Lower allow rates, but little risk to readership |
| Non-dismissible message | Visitors must allow ads, take your custom choice, or leave | Lost visits, fewer return visitors, fewer shares |
| Alternative support | An ad-free subscription or membership, offered as a custom choice | Only worth it if you can run and support it |
| Acceptable Ads | Show compliant ads to users who accept them | Your ads must meet the standard |
Whatever you choose, be honest with visitors. Do not disguise ads as content, use misleading wording in the message, or try to sneak blocked ads back in. AdSense program policies already forbid deceptive implementation methods and misleading labels on ads. Ad blockers also fight back: Adblock Plus turns on an anti-circumvention filter list by default.
Privacy notes
Detecting an ad blocker means reading information from the visitor's browser. In the EU, the ePrivacy Directive requires consent to store or access information on a user's device, unless it is strictly necessary for a service the user asked for. Asked whether ad blocker detection is covered, the European Commission answered in December 2023 that it must be assessed case by case, and that national authorities and courts enforce the rules. This is not legal advice. If you have visitors in Europe, ask your privacy adviser how detection fits with your consent set-up. Our guide on consent and ad revenue covers Google's consent messages, which live in the same Privacy & messaging area.
How to test a message
A message can win back ads and still lose you money if readers leave. Judge it on the whole visit, not just on conversions.
- Use a holdout. Ad Manager can run a user message experiment for ad blocking recovery messages, with a traffic allocation that decides what share of users are eligible to see the message. In AdSense, you can limit the message to one section with page inclusions and compare it with the rest of the site, or compare periods before and after.
- Measure first. Keep the message in draft for a few weeks to get a baseline extension rate.
- Watch reader behavior. Pages per visit, return visits and time on site for desktop visitors, especially in the sections where the message shows.
- Watch revenue per session. Earnings divided by sessions, for desktop, with and without the message. Our guide on AdSense vs GA4 revenue explains why the two tools will not match exactly.
- Change one thing at a time. Placement first (bottom bar versus centered modal), then wording.
Mistakes to avoid
- Judging by conversions alone. More allowlisted page views is good only if total visits and return visits hold up.
- Assuming phones are covered. Google says the message shows only in desktop browsers, and the extension rate counts only desktop page views.
- Going straight to a non-dismissible wall. Start with a dismissible message, and only tighten it if testing supports it.
- Skipping the Acceptable Ads decision. Showing the message to Acceptable Ads users can switch off that revenue.
- Adding more ads to make up the gap. eyeo says people block because of annoying, intrusive ads, so more ads can make the problem worse. See ad density and the Better Ads Standards.
Common questions
How do I find out how many of my visitors use ad blockers?
If you use AdSense or Ad Manager, add Google's ad blocking recovery tag to your pages and create an ad blocking recovery message in Privacy & messaging, left as a draft. Google then reports the ad blocking extension rate: the share of desktop page views where the visitor had an ad blocker extension installed. It does not cover mobile or tablet page views.
What buttons does Google's ad blocking recovery message show?
An "Allow ads" button, which shows visitors how to allow ads on your site in their own ad blocker, and an optional custom choice button, such as "Subscribe", for an alternative you provide. With the dismissible placements, visitors can also close the message.
Does Google's ad blocking recovery message work on mobile?
No. Google's Ad Manager help says ad blocking recovery messages are only available on websites viewed in desktop browsers. They do not appear in mobile browsers or in apps.
Should I block content for visitors who use ad blockers?
Test it before you decide. A non-dismissible message may recover more ads per visitor but can cost visits, return readers and shares. Start with a dismissible message, measure revenue per session and pages per visit against a holdout group, and only make it stricter if the numbers support it.