Jump to content

Revive not counting html5 zip banners

Recommended Posts

Hi all

Have an issue here , all HTML5 banners (zip) click are not counted . I'm using latest revive  i did a lot of search on this forum and i know that Macros are not supported when it comees to HTML 5 banners instead it is using clickTAG  So i unzipped the banner file and checked the html file , it has the clicktag  parameter still no click count . Any idea ? did i miss something ?


Thank you in advance

Link to comment
Share on other sites

Issue solved once and for all! 

seems like Clicktag implementation was wrong  i will post the solution because i've never seen a working solution in this forum. ( this will work when no clicktag is implemented and also when implementation is wrong)

basically what i did is creating a layer over the existing banner and inserted the click tag :

in the html file of the banner i added the following between  <head></head> tags

  <script type="text/javascript">
    var clickTag = "";

then between <body></body> tags


<div id="clickTagLayer" style="position: absolute; top: 0; left: 0; z-index: 16777271; width: 100%; height: 100%; cursor: pointer; cursor: pointer">

<script type="text/javascript">
(function() {
  var layer = document.getElementById("clickTagLayer");
  if (layer) {
    var listen = function(obj, e, fn) {
      if (obj.addEventListener) { obj.addEventListener(e, fn, false); } else { obj.attachEvent("on"+e, fn); }
    listen(layer, 'click', function (evt) {
      try { evt.cancelBubble(); } catch (e) { /* ignore */ }
      window.open(window.clickTag, '_blank');


Then , uploaded the html5 zip file with the new modifications and added the desired banner link as shown in the screenshot below and it works , revive is counting clicks






Link to comment
Share on other sites

  • 2 years later...

Question: Is it always necessary to manually add the two code segments above to the HTML5 banner files to make the banner link setting work and enable counting of clicks in Revive?

Recently I got a HTML5 banner for the first time and saved a destination URL exactly like shown above, but still the banner was not linked to anything.
I asked my graphics colleague if he can add a link with Google Web Designer and so he did. Clicking on the banner does work, but the URL saved at Revive banner settings does not have any effect.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...