Send adblock data to third-party platform
Adblocking, adblock, DMP, data

Sending Ad-Block Data to Web Analytics or DMP

One powerful feature of the Sourcepoint Analytics tag is the ability to send data on ad-blocked user to other 3rd party analytics platforms. The Sourcepoint Analytics script provides two events that you can listen to. They are sp.blocking, which is for an ad-blocked page view, and sp.not_blocking for a non-ad-blocked page view.
In the example functions below you would add the appropriate calls to send data to your Web analytics platform (i.e. Site Catalyst, Google Analytics, Web Trends) or Data Management Platform (i.e BlueKai, Krux, Lotame). Please note that there have been instances where the ad-block community have blocked DMP and site analytics calls.
This will allow you to see valuable Web analytics data like time on site, browser, OS, number of pages viewed, etc. on ad-blocked users integrated with the rest of your Web analytics data.
document.addEventListener('sp.blocking', function (e) {
/*Add Web analytics call for ad-blocked users below*/
document.addEventListener('sp.not_blocking', function (e) {
/*Add Web analytics call for non-ad-blocked users below*/
Last modified 1yr ago
Export as PDF
Copy link