How to Detect AdBlock Users in WordPress and Ask Them to Disable
MailOptin AdBlock detection trigger allows you to detect AdBlock users and visitors on your WordPress site so that you can either hide or display an optin campaign to your them. MailOptin can detect ad-blocking software such as AdBlock, AdBlock Plus, uBlock, uBlock Origin and built-in browser ad-blockers.
While Adblock brings a cherished ad-free experience to users by automatically detecting and blocking advertisements, it can hurt bloggers who rely solely on ad revenues. With our AdBlock detection feature, you can appeal to your visitors nicely to whitelist your site.
Follow this guide to learn how to activate AdBlock detection.
Create a new optin campaign or edit an existing one by clicking the campaign title or the Customize button to open the edit screen. In this example, we’ll be creating a lightbox/popup. It’s worth noting that all optin types (such as the sidebar, before/after post, slide-in, notification bar) support the AdBlock detection feature.
Open Display Rules >> Visitors Using Adblock panel, activate the rule and select whether to show to visitors with Adblock enabled or disabled.
Tip: by default, if your users close the campaign, they won’t see it again for a while, depending on your cookie duration settings. If you want to keep showing the popup to users until they disable Adblock or whitelist your WordPress site, you will have to set Cookie Duration in Configuration panel to “0” (zero) with CTA “Action After Button Click” settings set to “Close optin and reload page“.