Jump to content

HTML5 Zip Uploaded Banners - Clicks Not Counted


Recommended Posts

On all the campaigns for which we were provided zipped HTML5 banners to iimplement, we were unable to get our Revive adserver (ver. 4.1 and earlier) to log clicks.
We tried modifying the files to add a {clickurl} to the index file itself, then rezipped it and installed it via the Revive banner UI.
We tried adding the {clickurl} macro in front of the URL in the Destination URL field.
Nothing allowed us to track clicks.
So we have had to use the unsatisfactory workaround of calling the index page to an iframe, changing the links in the index page to all the various component files, then surrounding the entire iframe with a click division to which we prepended the {clickurl} macro.
Here is an example:
<div style="position: relative;">
<a target="_blank" href="{clickurl}https://www.vemlidy.com/tch?utm_source=asianmediagroup_asiamediagroup_network&utm_medium=display&utm_campaign=2017_consumer_vemlidy_awareness&utm_content=TCH_300x250_desktop" style="position:absolute; top:0px; left:0px; display:inline-block; width:300px; height:250px; z-index:0;"> </a>
<iframe src="https://asianmedia.com/SS/Gilead-803/chi-300-dt/index.html" width="300"  height="250"   style="border:0px;" sandbox="allow-scripts" scrolling="no"></iframe>
This can work (albeit being tedious) if the entire banner has only one clickTag and no other controls.  But it isn’t satisfactory when banners have two different clickTags or other controls like scrollbars, etc.
Is there a way to be able to upload zipped HTML5 banners and track clicks?
I would really appreciate if anyone can show us how to get clicks tracked as it would save us a lot of hassles in implementing HTML5 banner zip files.
Thank you.
Link to comment
Share on other sites

Thanks for the suggestion, Matteo.

Unfortunately, the Google page wasn't helpful as the banner files provided by the client are coded quite differently. 

Here is the test page of their banner without the macro, which works fine except that our Revive server doesn't track any clicks: http://asianmedia.com/Tags/test_300x250_ms3.html

When we add the {clickurl} macro ahead of their jump URL linked to the clickTag, the browser sends this error message:

The requested URL /MS3images/1338b2793eaf578a76149be640a94904/%7Bclickurl%7Dhttps://www.vemlidy.com/tch?utm_source=asianmediagroup_asiamediagroup_network&utm_medium=display&utm_campaign=2017_consumer_vemlidy_awareness&utm_content=TCH_300x250_desktop was not found on this server.

Here is a test page displaying the banner with the click macro added:  http://asianmedia.com/Tags/test_300x250-2_ms3.html

I would really appreciate any help you can provide as to how we might get this banner to track clicks on our Revive Adserver.

Link to comment
Share on other sites

Link to comment
Share on other sites

The Revive adserver also doesn't appear to track clicks from the following code from a test banner provided on the Google page:

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta name="ad.size" content="width=728,height=90">
  <link rel="stylesheet" href="HTML5_InPage_MultipleClicktags_728x90.css"/>
  <script type="text/javascript">
    var clickTag1 = "https://www.doubleclickbygoogle.com/";
    var clickTag2 = "https://www.doubleclickbygoogle.com/";
    var clickTag3 = "https://www.doubleclickbygoogle.com/";
  <div class="container_dc">
    <img class="logo_dc"/>
    <a href="javascript:window.open(window.clickTag3)">
      <div class="container_300x250"></div>
    <a href="javascript:window.open(window.clickTag1)">
      <img id="cta_dc">
    <a href="javascript:window.open(window.clickTag2)">
      <img id="cta_dc2">

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...