This article will walk you through the process of adding EB.clickthrough() to your HTML5 Standard Banner ads. If the ad is missing our API and tracking code, the snippet below can be inserted into the <head> tag of your document.

If the ad is currently using a ClickTag or you would like the ad to use the HTML5 API instead, the clickTag variable along with the function should be removed.


Note: To avoid tracking issues, please make sure the following criteria below is met:

  • There should only be one reference to EBLoader.js.

  • EBLoader and clickTag should not be used in the same ad (you must choose one execution).

Adding the Snippet to Your Ad

Paste the snippet below inside the <head> section of your document.

<script src=""></script> 
  window.addEventListener('load', function() {
    if (!EB.isInitialized()) {
       EB.addEventListener(EBG.EventName.EB_INITIALIZED, startAd); 
    else {
    function startAd() { = "pointer";
        document.body.addEventListener('click', function() {

Your document should look similar to the screenshot below.

Was this article helpful?
4 out of 4 found this helpful
Have more questions? Submit a request