2 Steps and Google Can Tell You Who’s Blocking Your Ads
Marketers may be concerned that their ads are being blocked, but the publishers promising the advertisements will see traffic are the real ones sweating. The problem was, they didn’t know how many visitors were using ad blockers.
On Thursday, Avinash Kaushik’s blog post in Occam’s Razor cleared that up. First, “Ad Block Tracking With Google Analytics: Code, Metrics, Reports” basically sasy publishers who don’t like ad blockers are lazy whiners who want to make an easy buck but haven’t ensured visitors see relevant ads. There. Kaushik’s opinion is aired.
Now to learn what marketers and publishers can do about ad blocking, according to Kaushik:
Step 1: How to Implement Enhanced Code
Implement the code highlighted in red in the coding block below.
“I don't trust WordPress to render code cleanly, always mucks something up. Please right click and save this text file: adblock_analyticsjs_tracking_avinash.txt”
“The way this code works is it creates an HTML element with the class name ‘AdSense’ and temporarily adds it to the page,” he says. “If the user has an ad blocker installed, the element will be invisible, so if that's true after the code inspects the element, then we can be reasonably sure the user has some sort of ad blocker installed.”
“Please right click and save this text file for your use: adblock_gtm_tracking_avinash.txt,” Kaushik writes. “Honestly, that is all you need to do when it comes to things that touch your site.”
Step 2: Getting Google Reports About Ad Blocking
Use this path to set up reporting in Google Analytics: Admin>Property>Custom Definitions (Dd)>Custom Dimensions>New Custom Dimension.
Next, follow this path: Add Segment>New Segment>Advanced>Conditions>Filter>Ad Content.
In the search box that shows up, marketers can type in what they named their custom dimension. “Ads Blocked,” for instance.
“The next choice you'll make is to change Contains to Exactly Matches, and finally in the box just type in ‘1,’ ” Kaushik says.
What do you think, marketers?
Please respond in the comments section below.
Related story: Worried About Ad Blocking Updates?