$0.00

Ad-Blocker Alert WordPress Plugin

A free to use WordPress plugin that detects the use of ad blockers and displays a red alert banner fixed on the bottom to turn off ad-blocker. Website access is not blocked.

Description

A free to use WordPress plugin that detects the use of ad blockers and displays a red alert banner fixed on the bottom to turn off ad-blocker. Loads a file called banner_ads_300_250.js, a name routinely blocked by ad-blockers. If the file load is blocked it displays a red banner fixed on the bottom of the page requesting disabling the ad blocker. Website access is not restricted. Extremely light weight, just a few lines of code. Install and activate, there are no settings, it simply works.

If you are using Google Analytics, here is code to track your website’s ad blocking events to add to your Google Analytics tag. Place inside the <script></script> tags:
if(!document.getElementById('zjaIKtlLcRpd')){
gtag('event', 'blocking_ads', {
'event_label': 'Blocking Ads',
'event_category': 'blocking_ads',
'non_interaction': true
});}

Note: The banner_ads_300_250.js does not contain any ads! Ad blockers routinely block files that are named ads, banners, common ad sizes, etc. The file is located within the plugin directory and is used as bait. As soon as an ad-blocker blocks this file from loading we detect it’s presence.