SSL Labs ScoreSecurityHeaders.io ScoreHSTS Preloaded

Send Ad Blocker events to Google Analytics

Add this code to your System - Ad Block Reactor plugin, in a new "Change Action" item.

document.addEventListener('ABREvent',function(e){
var label = Joomla.getOptions('plg_system_adblockreactor').lastreport===null?'detected':'changed';
var value = window.adblockreactor.vars.lastreport?'enabled':'disabled';
ga('send', 'event', 'adBlocker', label, value);
},false);

You should see something like this when you're done:

Screenshot_from_20180427_003947_250x46.png

After your users have a chance to react to your requests to turn off their ad blockers, you should see some data like this in Google Analytics:

Screenshot_from_20180427_004328_250x66.png