Adblock detector

View on Github

Adblock detector helps you detect the visits which are using adblockers on your website and that are potentially blocking AT Internet requests.

Benefits

Based on a basic implementation you can measure the use of adblockers on your website and measure their impact on your tag implementation.

Getting started

  • Implement smarttag.js
  • Implement BlockAdBlock.js
  • Select an implementation method to measure adblocks (Publisher impression, Click or Custom Variables)

Do not hesitate to send your update recommendations on : https://github.com/QuentinMoncharmont/Adblocker-analytics

Category:

Description

Tag initialization

Both JavaScript files need to be initialised in the head in order to detect adblocks.

Adblock detection implementation 

Once the adblock is detected from BlockAdBlock.js you can use one of the following functions to send the information to AT internet Interface.

Publisher implementation

Click implementation

Custom variables imlementation

This field can't be Empty
This field can't be Empty
This field can't be Empty
This field can't be Empty

Reviews

There are no reviews yet.

Be the first to review “Adblock detector”

Your email address will not be published.

Publisher implementation

If a visitor is navigating on your website with an adblocker, the “adBlockDetected();” function sends a publisher impression.

Benefits

  • Automatic campaign (no need to declare this campaign).
  • The impression hit sent is independent from the page hit (no risk of losing some page data).
  • Possibility to apply a specific segment based on this campaign (to understand the different behaviour of these visitors).

More explanation

See the .pdf file : AT-Internet-publisher-results.pdf

Click implementation

With a click function it is possible to know if the visitor is navigating with or without an adblocker. In comparaison to the first method, “AtInternet_Adblock_hit(value)” method (which send a hit click) waits one parameter (value “detected” or “not_detected”).

Benefits

  • Event click (no setting requiered).
  • The impression hit sent is independent from the page hit (no risk of losing some page data).
  • Possibility to apply a specific segment based on this campaign (to understand the different behaviour of these visitors).

More explanation

See the .pdf file : AT-Internet-click-results.pdf

Custom variables implementation

With a custom variable function it is possible to know if the visitor is navigating with or without an adblocker. In this case, the information is linked to the page hit. To use this method, you need to declare a custom variable directly in your Nx Interface : “Tools > Configuration > Site custom variable (text or Id)”. You have different methods for this implementation. In this example, the page hit is sent through the function “function AtInternet_Adblock_hit(value)” because we need to wait a return from “fuckadblock.js” library to get the value “detected” or “not detected”. It’s possible to implement this method with a trigger.

Benefits

  • Possibility to apply a specific segment based on this campaign (to understand the different behaviour of these visitors).

More explanation

See the .pdf file : AT-Internet-custom-var-results