Automattic / newspack-popups

Popup notifications.
GNU General Public License v2.0
70 stars 17 forks source link

Option to target by adblocker status #661

Open aschweigert opened 3 years ago

aschweigert commented 3 years ago

As mentioned by @miguelpeixe in https://github.com/Automattic/newspack-ads/issues/223, detecting the use of an adblocker and the ability to display donation or subscription CTAs to these users is a fairly common thing news sites do.

For example, on Mother Jones: adblock-bottom

Popups are another common use-case for this. If done well, these can actually bring in a fair amount of $$$ so this seems like a fairly easy and potentially high value improvement to make.

kmwilkerson commented 2 years ago

Google Ad Manager has a nice feature for ad block recovery messaging. It was previously part of Funding Choices (Google's CMP), but the ad block recovery part of it is currently getting fully integrated into GAM - all publishers should see this feature under "Privacy & messaging" within the coming weeks. It's certainly not as pretty as a custom designed pop-up, but the ability to do this now is there!

yogeshbeniwal commented 2 years ago

@kmwilkerson From experience of using it with newspack products, this will work smoothly as intended. Javascript code for NTG will need little taxonomy update i.e. allow-ads to whitelisted.

aschweigert commented 2 years ago

relevant slack thread with a proposed solution: p1645651593025759/1645649609.637379-slack-G012YAG1WSU

adekbadek commented 2 years ago

Proposed solution – try to load an ads.js file, which should get blocked by any ad blocker. The file should append something to the DOM, or just a set a global (window) variable. The, the ad blocker detection script can verify if the DOM element or global is defined. If not, assume the ad script was blocked.

aschweigert commented 2 years ago

GAM also has a native option for this that should work for most sites: https://support.google.com/admanager/answer/10954990?hl=en&ref_topic=10057598. I still think having adblock status available as a segmentation option in Campaigns would be potentially useful but this can be lower priority since there's a good existing solution that should work for the primary use-case people tend to ask about.