Anti-adblock for any website // updated November 2026

Add anti-adblock to your website, on any platform

To add anti-adblock to your website, create a free AntiAdBlock Core account, add and verify your domain, and paste one async tag into the <head> of every page. On WordPress, the official plugin does it for you. It works on any site where you can edit the head, from Blogger and Shopify to plain HTML. Pasting the tag takes about 60 seconds.

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

yoursite.com <head>
<head>
  <meta charset="utf-8">
  <title>Your site</title>
  <script async
    src="https://antiadblockcore.com/s/SITE_ID.js"
    data-aabc-site="SITE_ID"
    crossorigin="anonymous"></script>
</head>
  • Async
  • Locked to your domain
  • Zero dependencies

WordPress · Blogger · HTML · Shopify · Webflow · Next.js · any CMS with a head setting ·

Example tag. Copy yours from your dashboard: with first-party delivery, the default, it loads from your own subdomain.

Pick your platform: where the anti-adblock tag goes

The tag is the same on every platform. What changes is where your platform lets you edit the <head>. Pick yours.

07 platforms // one tag

WordPress

Where: the official plugin, no code to paste

  1. To add anti-adblock to WordPress, install and activate AntiAdBlockCore – AdBlock Recovery from the WordPress plugin directory.
  2. In Settings › AntiAdBlock Core, click the link to connect, sign in or create your free account, confirm the code and approve.
  3. The plugin verifies your domain and adds the script to every page; with first-party delivery, as soon as your DNS record is active.

It works with caching plugins such as WP Rocket and LiteSpeed Cache, and skips logged-in users who can edit posts. Prefer to paste the tag? Use a header-code plugin or header.php.

Get the WordPress anti-adblock plugin

Blogger

Where: Theme › Edit HTML › before </head>

  1. To add anti-adblock to Blogger, open Theme, then the menu next to Customize, and choose Edit HTML.
  2. Paste your AntiAdBlock Core tag just before </head>.
  3. Save. The tag now loads on every post and page.

On a blogspot.com address, serve the tag from antiadblockcore.com and verify the blog with a meta tag; with a custom domain, first-party delivery works too.

Anti-adblock for Blogger blogs

HTML

Where: the <head> of every page

  1. To add anti-adblock to a plain HTML site, open the template or layout your pages share, or each page if they are separate files.
  2. Paste the AntiAdBlock Core tag inside <head>, as high as you reasonably can.
  3. Publish. One copy per page is enough.

Shopify

Where: theme.liquid › inside <head>

  1. To add anti-adblock to a Shopify store, open theme.liquid, the layout file every page uses, in your theme's code.
  2. Paste the AntiAdBlock Core tag inside <head> and save.

Webflow

Where: Site settings › Custom code › Head code

  1. To add anti-adblock to a Webflow site, open your site settings, go to Custom code and paste the AntiAdBlock Core tag into Head code.
  2. Save and publish the site so the change goes live.

Next.js

Where: the root layout › inside <head>

  1. To add anti-adblock to a Next.js site, add the AntiAdBlock Core tag to your root layout, inside <head>, so it is on every page.
  2. Keep it exactly as the dashboard gives it: async, with its attributes, not wrapped in another loader.

Any other platform

Where: the setting for code in the head of every page

To add anti-adblock to any other platform, look for its setting for code in the head of every page. Ghost and most CMSs and site builders have one, often called code injection, custom code or header scripts. Paste the AntiAdBlock Core tag there, for all pages. If you can add a script tag to the head, you can add antiadblock to your site. AMP pages are the exception.

Your tag, with your site ID, is waiting in your dashboard.

Menus change. Look for the setting that edits the <head> of every page.

How to add anti-adblock to your website in four steps

The whole setup, in order, with real timings.

  1. Create a free account

    Sign up on the Free plan. No payment method, no sales call.

    Free plan

  2. Add your site

    Enter your domain, a name and your estimated CPM, so your dashboard can show the revenue at stake. First-party delivery is on by default.

    first-party on by default

  3. Verify your domain

    With first-party delivery, the DNS record we give you also verifies the domain: usually within minutes, sometimes up to an hour (on Cloudflare, with the proxy on).

    minutes with the CNAME, under a minute otherwise

  4. Paste the tag, or install the plugin

    Paste it into the <head> of every page, or let the WordPress plugin do it. Your dashboard shows Live soon after the first visit.

    about 60 seconds

We build AntiAdBlock Core, and these steps follow our own dashboard.

First-party or third-party: how your tag is served

You choose where the script loads from when you add a site, and you can switch later.

  1. Visitor
  2. yoursite.com
  3. your subdomain
First-party · maximum detection

First-party, the default

Served from a subdomain of your own domain, set up with one CNAME record that also verifies the site. Filter lists keep adding rules against third-party detection scripts; first-party keeps the script inside your own domain, for maximum detection. We issue and renew the certificate, on every plan, Free included.

  1. Visitor
  2. yoursite.com
  3. antiadblockcore.com
Third-party · quickest start

Third-party

Served from antiadblockcore.com. The quickest start: no DNS change, and you can move to first-party at any time.

Same script, same dashboard. Only the address in the tag changes.

First-party and third-party delivery, side by side
First-party, the defaultThird-party
Served fromA subdomain of your own domainantiadblockcore.com
Verified withThe same CNAME recordA meta tag, a file or a TXT record
How long it takesUsually minutes, sometimes up to an hourUnder a minute
Best forMaximum detection, on every planThe quickest start, no DNS change

Before you paste: five checks that keep the tag working

Five things to get right, whatever your platform.

Before you paste // 5 checks

  1. Every page, in the <head>.

    Visitors land on articles from search and social, not only on your home page.

  2. Once per page, exactly as given.

    Keep async and the other attributes, and do not wrap the tag in another loader.

  3. Out of your optimizer's reach.

    In WP Rocket, LiteSpeed Cache, Autoptimize and similar tools, exclude the tag from minifying, combining and delaying JavaScript. With Cloudflare Rocket Loader, add data-cfasync="false".

  4. One anti-adblock at a time.

    Remove any other anti-adblock code first, and turn off Google's ad blocking recovery message if you use it, so visitors never see two notices. If you are replacing a free script such as BlockAdblock, remove its code wherever you pasted it.

  5. Real pages, not AMP or iframes.

    AMP pages do not allow custom scripts, and a tag inside an embedded frame checks the frame, not your page.

What happens once the tag is live

AntiAdBlock Core detects visitors who use an ad blocker and shows them a wall that asks them to allow ads on your site; your ads keep coming from your own network.

From verification to first detection

  1. Not verified
  2. Not installed
  3. Live
  4. First detection
A visitor with an ad blocker // illustration

What your visitors see

Visitors without an ad blocker see nothing new. Visitors with one see a wall that asks them to allow ads on your site, with instructions for their blocker; once they allow ads, one click checks again right away. See what the adblock detector catches.

What you see

Your dashboard shows visits, ad-block rate, detections, recoveries and the revenue at stake at your CPM, in real time, with network-level (DNS) blocking counted separately.

Want the result in your own code, with no notice? The Detection API does that on Max and Business. Before you decide what to ask readers, read how to block adblock on your website the right way.

See the wall on an example site that runs the script.

What it costs to add anti-adblock to your site

The Free plan covers 5,000 detections a month on one site, with the same detection engine as every paid plan and no payment method. A detection is a page view where an ad blocker is found; page views without one never count. Paid plans start at $5 a month, and Business covers 5,000,000 detections a month for $29.99. Flat price, no revenue share.

No payment method. Upgrade or cancel from your dashboard.

Plans by detections // illustration

Detections a month

  1. Free 5,000 $0 one site
  2. Pro 100,000 $5 a month 2 sites
  3. Max 1,500,000 $12.99 a month 3 sites
  4. Business 5,000,000 $29.99 a month 5 sites
  • Page views without an ad blocker: never counted
  • Detections: counted against your plan
Illustration, not a measured ad-block rate. Heights on a log scale.

Adding anti-adblock to a website: questions

How do I add anti-adblock to my website?

Create a free AntiAdBlock Core account, add your domain and verify it. Then copy your tag from the dashboard and paste it into the <head> of every page, or install the official plugin on WordPress. Pasting takes about 60 seconds; the first-party DNS record usually works within minutes, sometimes up to an hour.

Can I add anti-adblock to a website that isn't on WordPress?

Yes. Any site where you can add a script tag to the <head> of every page works: Blogger (Theme › Edit HTML), Shopify (theme.liquid), Webflow (Custom code › Head code), Ghost, Next.js, plain HTML and most other CMSs and site builders. WordPress has one more option, the official plugin. AMP pages are the exception: they do not allow custom scripts.

Do I need a plugin to add anti-adblock to my site?

No. One async tag in your <head> is enough, on any platform. On WordPress you can choose: the official WordPress anti-adblock plugin connects your site from its settings, verifies your domain and adds the script to every page (with first-party delivery, once your DNS record is active), or you paste the tag yourself with a header-code plugin or in your theme.

Is there a free anti-adblock for my website?

Yes. The AntiAdBlock Core Free plan covers 5,000 detections a month on one site, with no payment method and no end date, on the same detection engine as the paid plans. Only page views where an ad blocker is found count, so page views without one never use up your quota.

Will adding anti-adblock slow down my website?

No. The tag loads asynchronously, has no dependencies and never blocks your page from rendering. If our servers ever fail to answer, the script does nothing and your site works as usual. Keep it out of the minify, combine and delay settings of caching plugins.

Does it work with AdSense and my ad network?

Yes. AntiAdBlock Core is not an ad network and does not serve ads. It detects ad blockers and asks those visitors to allow ads on your site, while your ads keep coming from AdSense, Google Ad Manager, Mediavine, Ezoic or whichever network you use. More on anti-adblock for publishers.

Does it work on mobile?

Yes. The same tag detects ad blockers on desktop and mobile, in Chrome, Firefox, Edge, Safari, Brave and Opera, including uBlock Origin, AdGuard and Brave Shields. Network-level blocking, such as Pi-hole, AdGuard DNS or NextDNS, is detected too and counted separately in your dashboard.

How long does it take to add anti-adblock to a site?

Pasting the tag takes about 60 seconds, and verifying with a meta tag, a file or a DNS TXT record takes under a minute. With first-party delivery, the default, the DNS record usually works within minutes, sometimes up to an hour. Your dashboard shows Live soon after the first visit.

Can I use one account on several websites?

Yes. Each site gets its own tag, settings and statistics, all in one account: one site on Free, 2 sites on Pro, 3 sites on Max and 5 sites on Business. Your monthly detections are shared across your sites, and each tag only works on the domain it was verified for.

Does the tag set cookies or track my visitors?

No tracking cookies, no fingerprinting and no visitor identifiers: your statistics are daily totals per site. In the browser, the script keeps a few timestamps with no identifier, for 30 days at most, which you can list in your cookie notice. AntiAdBlock Core is designed for GDPR.

Add anti-adblock to your website today

Create your free account, copy your tag and paste it into your <head>, or install the WordPress plugin.

<script async src="https://antiadblockcore.com/s/SITE_ID.js" data-aabc-site="SITE_ID" crossorigin="anonymous"></script>

No payment method · prices in USD