0
You can utilize Google Analytics to figure out what number of guests have adblock introduced and in this manner not seeing promotions on your site. 

Adblocking programming like AdBlock Plus have ended up standard and now represent a critical danger to web organizations that are reliant on online promotions. The issue is severe to the point that Google and Amazon are paying the authors of AdBlock Plus to whitelist their promotions. This may be seen as a blackmail yet with billions of dollars in question, the publicizing organizations have decided to take the more beneficial course. 

It is assessed that ~5% of site guests are blocking promotions (PDF report) and the circumstance could be far more terrible for sites that have a more tech-clever gathering of people. On the off chance that you are interested to know what number of individuals going to your own site are blocking AdSense and different advertisements, here's a little trap. 

Track Adblock Users with Google Analytics 

Open your site format and duplicate glue the scrap beneath before the end body. This code will discover the vicinity of adblocking programming on the guest's program and, if found, an occasion gets logged into your Google Analytics account.


<script>

  window.onload = function() {

    // Delay to allow the async Google Ads to load
    setTimeout(function() {
   
      // Get the first AdSense ad unit on the page
      var ad = document.querySelector("ins.adsbygoogle");
   
      // If the ads are not loaded, track the event
      if (ad && ad.innerHTML.replace(/\s/g, "").length == 0) {

        if (typeof ga !== 'undefined') {

            // Log an event in Universal Analytics
            // but without affecting overall bounce rate
            ga('send', 'event', 'Adblock', 'Yes', {'nonInteraction': 1});

        } else if (typeof _gaq !== 'undefined') {

            // Log a non-interactive event in old Google Analytics
            _gaq.push(['_trackEvent', 'Adblock', 'Yes', undefined, undefined, true]);

        }
      }
    }, 2000); // Run ad block detection 2 seconds after page load
  };

</script>


The piece meets expectations for both Universal Analytics and the more seasoned form of Google Analytics tracker that utilized the _gaq object. As a web distributer, your just choice is to serve interchange substance to AdBlock clients so the guests in any event see some substance set up of the advertisements. 

One major proviso however – it will fall flat if the advertisement blocking augmentation introduced on the guest's PC has blocked Google Analytics too. A percentage of the prevalent decisions like μBlock, NoScript and Ghostery do piece Google Analytics so the methodology won't work and you may need to fabricate your own particular in-house arrangement – like downloading a picture facilitated all alone server and after that checking the hits to that picture through the Apache server  

Post a Comment

 
Top