Find How Many Visitors Are Not Seeing Ads on your Website
Adblocking software like AdBlock Plus have become mainstream and now pose a significant threat to web businesses that are dependent on online advertisements. The problem is so severe that Google and Amazon are paying the writers of AdBlock Plus to whitelist their ads. This may be seen as some kind of extortion but with billions of dollars at stake, the advertising companies have chosen to take the more profitable route.
It is estimated that ~5% of website visitors are blocking ads (PDF report) and the situation could be far worse for websites that have a more tech-savvy audience. If you are curious to know how many people visiting your own site are blocking AdSense and other ads, here's a little trick.
Track Adblock Users with Google Analytics
Open your website template and copy-paste the snippet below before the closing body. This code will detect the presence of adblocking software on the visitor's browser and, if found, an event gets logged into your Google Analytics account.
<script>window.onload = function() {
// Delay to allow the async Google Ads to load
setTimeout(function() {