The adblock detector script for your website

An adblock detector is a script that checks, on every visit, whether the visitor is blocking ads on your site. With AntiAdBlock Core, one async tag catches AdBlock, uBlock Origin, AdGuard, Brave and DNS-level blocking, shows your real ad-block rate in a live dashboard and asks blocked visitors to allow ads. The Free plan covers 5,000 detections a month.

Free plan // 5,000 detections a month // no payment method // about 60 seconds to install

What is an adblock detector?

An adblock detector is a script on your website that checks, visit by visit, whether the visitor is blocking ads. A good one answers three questions: is this visitor blocking ads, what is doing the blocking, and how many of your visitors do it.

Detection is the first step. Adblock recovery is what you do with the answer: ask the visitor to allow ads on your site, or pass the result to your own code.

adblock detector noun // a script on your website
Is this visitor blocking ads?
A yes or no for every visit.
What is doing the blocking?
Extension, browser shield or network level. Network blocking has its own counter on every plan; the full breakdown by type comes with Max and Business.
How many of your visitors?
Your real ad-block rate, per site and per day.

Four kinds of adblock detector, and which one fits your site

Every detector does the same job. They differ in who keeps them working as blockers change, and in what you get besides a yes or no.

Kind of detectorWho keeps it workingWhere it runsShows your ad-block rateAsks visitors to allow adsWhat it costs
Free copy-paste scriptYouAny site you can editOnly if you build itOnly if you build itFree, plus your time
CMS pluginThe plugin authorOne CMSDepends on the pluginUsually a popupFree or a paid license
Managed detector service AntiAdBlock CoreThe vendor, continuouslyAny site that accepts a script tagYes, in a dashboardYes, a ready noticeFree plan; paid plans from $5 a month, no revenue share
Headless detection APIThe vendor; you own the responseAny site, plus your own codeDepends on the vendorNo, your code decidesVaries; ours is on Max and Business

Categories of detector; only ours is named. Updated October 2026.

A free script is a fixed set of checks: when filter lists add rules against it, it keeps answering "no blocker" until someone updates it. AntiAdBlock Core is a managed detector, kept current daily, with the dashboard and the notice included. The Detection API comes with Max and Business.

What the detector catches

The detector runs a multi-signal engine, with page and network checks kept current daily, on desktop and mobile.

For maximum detection, serve the script first-party from a subdomain of your own domain with one DNS record; we issue and renew the certificate. It is included on every plan, Free too. The script is tamper-protected and bound to your domain.

99.7% is the detection precision we declare. Here is what a precision figure covers, and what to ask any vendor about theirs.

Coverage

Blockers
AdBlock // AdBlock Plus // uBlock Origin // uBlock Origin Lite (Basic, Optimal, Complete) // AdGuard // Ghostery // Brave Shields
Browsers
Chrome // Firefox // Edge // Safari // Brave // Opera
Network level
Pi-hole // AdGuard DNS // NextDNS detected and counted separately

99.7% declared detection precision

Measure your real ad-block rate

Every plan includes a real-time dashboard with daily activity per site: visits, ad-block rate, detections, recoveries (visitors who allow ads) and revenue at stake. Max and Business add analytics by blocking type and by audience (device, browser, country).

Plans count detections, not traffic. A detection is a page view where a blocker is found, and page views without one never count. The 5,000 free detections cover about 25,000 page views a month if 20% of your visitors block ads, or 16,000 if 30% do. We email you when you reach 80% of your quota.

Daily activity Sample data
Visits
48,210
Ad-block rate
27.4%
Detections
13,208
Detections per day, last 14 days

1,000,000 page views a month × 40% with a blocker = 400,000 detections

The other 600,000 page views never count against your quota.

See the detector at work on an example site

The live demo walks through one visit with an ad blocker, step by step, and opens an example site that runs the full AntiAdBlock Core script. Turn your ad blocker on before you visit and the notice appears, just as a visitor would see it on your site.

Add the adblock detector to your site in about a minute

  1. Create a free account. No payment method, no time limit.

  2. Verify your domain. With a meta tag, a file or a DNS TXT record.

  3. Paste one async tag in your <head>. It takes about a minute, and detections start showing in your dashboard.

Your tag, generated per site
<script async
  src="https://antiadblockcore.com/s/SITE_ID.js"
  data-aabc-site="SITE_ID"
  crossorigin="anonymous"></script>
  • WordPress

    The official plugin connects your site from its settings, verifies your domain and adds the script to every page.

  • Blogger

    Paste the tag in your theme HTML, just before </head>.

  • Any other site

    Shopify, Webflow, Ghost, Next.js or plain HTML. AMP pages are not supported.

Free plan // 5,000 detections a month // no payment method

What happens after a detection

One blocked visit

  1. Visit with a blocker

    The script loads asynchronously and never slows your page down.

  2. Detection

    The engine confirms that this visit is blocking ads.

  3. Notice

    By default, it asks the visitor to allow ads on your site.

  4. Recovery

    They allow ads, the script checks again and counts it.

Max and Business

Detection API

The same result goes to your own code, with no notice.

By default, the detector shows a notice from the first blocked page that asks the visitor to allow ads on your site, with steps for their blocker. When they click "I've disabled it", the page reloads and the script checks again, and a visitor who allows ads counts as a recovery. Readers without a blocker never see it.

The notice is a wall; only visitors blocked at network level can be allowed to close it. It speaks English or Spanish to match the browser. Its color is yours from Pro, and your logo and message from Max. Prefer to decide for yourself? On Max and Business, the headless Detection API sends the same result to your own JavaScript, with no notice.

Adblock detector pricing

The same engine runs on every plan: paying more does not detect more. Flat monthly or annual price in USD, no revenue share, no setup fee, cancel from your dashboard.

  1. Free $0 one site, no payment method
    5,000 detections a month
  2. Pro $5 a month 2 sites
    100,000 detections a month
  3. Max $12.99 a month 3 sites, Detection API
    1,500,000 detections a month
  4. Business $29.99 a month 5 sites, Detection API
    5,000,000 detections a month

Adblock detector FAQ

What is an adblock detector?

An adblock detector is a script a website adds to find out, visit by visit, whether a blocker is active, what kind it is (the breakdown by type comes with Max and Business) and how many visitors use one. AntiAdBlock Core is a managed adblock detector with one async tag, a real-time dashboard and a notice that asks blocked visitors to allow ads. Its Free plan covers 5,000 detections a month.

How do I add an adblock detector to my website?

Create a free AntiAdBlock Core account, add your site and paste one async script tag in your site's <head>. For maximum detection, add the DNS record the panel gives you so the script is served from your own domain; if you prefer not to touch DNS, verify your domain with a meta tag, a file or a DNS TXT record. Pasting the tag takes about a minute, and detections start showing in your dashboard.

Is there a free adblock detector for websites?

Yes. Free scripts and plugins exist, but they only keep working if you or their author update them as filter lists change. AntiAdBlock Core's Free plan gives you the full detection engine for 5,000 detections a month on one site, with the dashboard and the notice included, no payment method and no time limit. Paid plans start at $5 a month.

Does it detect uBlock Origin Lite, other Manifest V3 blockers and Brave Shields?

Yes. AntiAdBlock Core detects uBlock Origin Lite in its Basic, Optimal and Complete modes on Chrome's Manifest V3, along with uBlock Origin, AdBlock, AdBlock Plus, AdGuard and Ghostery, and Brave's built-in Shields, on desktop and mobile. The engine is kept current daily. See our uBlock Origin Lite guide.

Can an adblock detector see Pi-hole or DNS-level blocking?

AntiAdBlock Core can. Blocking at network level, with Pi-hole, AdGuard DNS or NextDNS, is detected on every plan and counted separately in your dashboard, because it happens outside the browser. You can let these visitors close the notice; visitors with an extension or a browser shield always get the wall.

Does the adblock detector work on WordPress and Blogger?

Yes. On WordPress, the official AntiAdBlock Core plugin connects from its settings, verifies your domain and adds the script to every page. On Blogger, paste the script tag in your theme HTML just before </head>. It also works on Shopify, Webflow, Ghost, Next.js and plain HTML, but not on AMP pages.

What does it store, and what about GDPR?

AntiAdBlock Core is designed for GDPR: no tracking cookies, no fingerprinting, no visitor identifiers, only daily totals per site. Like any web server, ours sees the visitor's IP address: we use it in transit, and it is kept only in server logs that are deleted after 14 days. The script stores a few timestamps with no identifier in the browser, for up to 30 days, which you can list in your cookie notice. On consent, read is adblock detection legal.

Is this page an adblock test for my own browser?

No. This page is about the adblock detector for websites, the script a site owner installs to detect blockers among visitors. To see the full engine react to an ad blocker, open the live demo: it walks through a blocked visit and links to an example site that runs AntiAdBlock Core, where the notice appears if your ad blocker is on.

Put an adblock detector on your site today

See how many of your visitors block ads from day one, while the notice asks them to allow ads on your site. Built and maintained by the AntiAdBlock Core team, with support in English and Spanish.

Free plan // 5,000 detections a month // no payment method