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.
WordPress · Blogger · HTML · Shopify · Webflow · Next.js · any CMS with a head setting · 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.
Your platform
07 platforms // one tag
WordPress
Where:the official plugin, no code to paste
To add anti-adblock to WordPress, install and activate AntiAdBlockCore – AdBlock Recovery from the WordPress plugin directory.
In Settings › AntiAdBlock Core, click the link to connect, sign in or create your free account, confirm the code and approve.
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.
To add anti-adblock to Blogger, open Theme, then the menu next to Customize, and choose Edit HTML.
Paste your AntiAdBlock Core tag just before </head>.
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.
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.
Paste the AntiAdBlock Core tag inside <head>, as high as you reasonably can.
Publish. One copy per page is enough.
template
Shopify
Where:theme.liquid › inside <head>
To add anti-adblock to a Shopify store, open theme.liquid, the layout file every page uses, in your theme's code.
Paste the AntiAdBlock Core tag inside <head> and save.
theme.liquid
Webflow
Where:Site settings › Custom code › Head code
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.
Save and publish the site so the change goes live.
Head code
Next.js
Where:the root layout › inside <head>
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.
Keep it exactly as the dashboard gives it: async, with its attributes, not wrapped in another loader.
root layout
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.
01
Create a free account
Sign up on the Free plan. No payment method, no sales call.
Free plan
02
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
03
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
04
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.
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.
Visitor
yoursite.com
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.
Visitor
yoursite.com
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 default
Third-party
Served from
A subdomain of your own domain
antiadblockcore.com
Verified with
The same CNAME record
A meta tag, a file or a TXT record
How long it takes
Usually minutes, sometimes up to an hour
Under a minute
Best for
Maximum detection, on every plan
The 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
Every page, in the <head>.
Visitors land on articles from search and social, not only on your home page.
Once per page, exactly as given.
Keep async and the other attributes, and do not wrap the tag in another loader.
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".
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.
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
Not verified
Not installed
Live
First detection
yoursite.com/article
Adblocker detectedI've disabled it
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.
See the wall on an example site that runs the script.
What it costs to add anti-adblockto 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
Free5,000$0one site
Pro100,000$5 a month2 sites
Max1,500,000$12.99 a month3 sites
Business5,000,000$29.99 a month5 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
01
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.
02
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.
03
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.
04
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.
05
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.
06
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.
07
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.
08
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.
09
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.
10
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.