How To Track Visitors Blocking Your Ads In WordPress. This guide will show you how to tag new sessions from visitors using AdBlockers with Google Analytics custom event. Then show you how to segment users with AdBlockers via an advanced in Google Analytics.. Add the following code right after your Google Analytics tracking code in the body of your theme's header php file.. Install and enable AdBlocker advanced segments Google Analytics. View Google Analytics to see how many of your website visitors block your ads and how they use your website differently than visitors. Add the following code right after your Google Tag Manager container code in the body of your theme's header php file.. In your Google Tag Manager container create Universal Analytics tag called adBlocker Detected with the following settings Tracking ID. 1 2 5. Thanks to Christian Heilmann for writing JavaScript code for detecting AdBlock used in this guide.. He is known for his Analytics, HubSpot, Salesforce, SEM, SEO & WordPress expertise. Andy created the WP Author Bio WordPress Plugin and WPSNIFFER Chrome extension..
Read more