There’s been some controversy about the ethics of using Adblock. Webmasters want advertising income, users want a better browsing experience. Yadda yadda yadda. I can certainly sympathize with both sides of the debate – on the one hand, I hate intrusive ads as much as anyone. On the other hand, this site is mainly ad-supported.
But enough about that. If we lay aside the morality debate, do you know how big is the real impact of Adblock users on your site’s financial success? Perhaps you’re only “losing” 0.1% of your potential ad impressions. Or it might be over 50%. In any case, it wouldn’t hurt to have some actual numbers, right? I’ll show you how to get them.
Nuts And Bolts
Tracking the Adblock users is a bit trickier. There are two choices here – either write a specialized web stats tool (a marvelous waste of time), or try to integrate the detection script with your existing analytics software (requires grokking the API). I decided to go the second route and use Google Analytics custom segments for this task. If you’re already using GA on your site, creating a custom segment is relatively painless (more on this later) and you get all the advanced reporting with no additional hassle.
Bringing It All Together – The Tracker
Place the below piece of code on every page where you want to track Adblock users. It doesn’t matter where exactly you put it, as long as there’s the GA tracker code on the same page, too.
Sidenote for WordPress users : The easiest way to install this script on your site is to put it in your theme’s footer. Go to Appearance -> Editor, click on Footer and paste the code just before the
Sorry for the lack of indentation – it looks like my syntax highlighter plugin has a few glitches.
Viewing The Results
Now that you’ve installed the tracker, you’ll probably want to verify that it’s working and see the promised statistics. To do this, you need to create a custom segment in your Google Analytics report. Okay, that’s an easy one.
1. Go to “Advanced Segments” and click on “Create a new customised segment”.
2. Expand the “Visitors” list and drag the “User-Defined Value” block to the empty box on the right. Select “Matches exactly” from the Condition dropdown, and enter “Adblock Detected” in the Value field. Finally, enter a suitable name in the Name segment : field and click on Create Segment. You can also click the Test Segment button to check the segment before saving, but this will only work if the tracker has already been running for a while and has recorded some hits.
3. Now, go back to the Dashboard and select the newly created segment from the “Advanced Segments” box.
On a more personal note, it appears that only 5% of my visitors use Adblock. I believe this hardly merits more than a “meh” reaction
And in case anyone cares about my stance on the ethics of ABP : at this point in time, there is no proper solution. Everybody wants free stuff. Everybody wants money. Consider the digital piracy debate – Adblock vs. Anti-Adblock is a more subtle manifestation of the same issues. And it doesn’t look like there’s a way out, not until we hit some kind of Utopia.Related posts :