Jump to content
tomaszs

How To Track Clicks In Html Banner In Revive?

Recommended Posts

I have installed Revive Adserver and added a standard HTML ad banner created in Google Web Designer.

It is a HTML file with a part:

<a href='((target__URL))' target='_top'><gwd-taparea id="klik" class="gwd-taparea-wjps gwd-gen-ceuwgwdanimation" ></gwd-taparea></a>

In "((target__URL))" i have an actual link to a landing page.

 

When my ad is displayed and i click on this field i get redirected to target URL.

 

Also in reports i see impressions of the banner.

 

But i do not get any click reports.

 

In the ad type i choose "general HTML banner":

 

http://polishwords.com.pl/blog/wp-content/screenshotUploads/2014-12-29_12-14-26.jpg

 

I considered also to change to "DoubleClick/DFP" but will it help?

 

How to track clicks for the HTML banner?

 

Thanks in advance!

Share this post


Link to post
Share on other sites

Revive Adserver has a click URL macro which is {clickurl}. All you need is to put that before that target URL, like so:

<a href='{clickurl}((target__URL))' target='_top'><gwd-taparea id="klik" class="gwd-taparea-wjps gwd-gen-ceuwgwdanimation" ></gwd-taparea></a>

Revive Adserver will insert the correct click URL automatically when the ad is delivered.

Share this post


Link to post
Share on other sites

Hello

 

I was testing today a little bit more.

 

When i put {clickurl} into the banner HTML field in Revive admin panel it is replaced with the correct redirect url.

 

But the issue here is that in the banner HTML field i have a iframe loading a HTML banner contests from a HTML file i host on my server.

 

The contests of the banner is actually in the HTML file, not in the HTML field in Revive.

 

When i put {clickurl} in the HTML file of the banner it does not get replaced.

 

 

Maybe i am missing something here or doing something wrong?

 

How to handle this situation properly to get clicks counted?

Share this post


Link to post
Share on other sites

We are having the same problem. Prior to December 16, the ad server was tracking clicks normally. After that, all of our generic HTML expandable banners have yet to report a single click.

 

Further, we tried getting around this by using the URL macro listed above. The problem now, is that the "Banner Link" fields have now disappeared from the options when creating a new banner. So we can't even designate a URL for the macro to point to. Hopefully someone else has some input!

Share this post


Link to post
Share on other sites

Yes. It is kinda bummer we can not track clicks. It's like the most important feature of a adserver...? I've read the Banner Link was removed in one of last versions of Adserver. But i can not find any explanation why and how to overcome the lack of this feature. Hope also someone will give a try to help.

Share this post


Link to post
Share on other sites

When you're serving an ad that's in fact an iframe, then Revive Adserver has no control over the content of the ad inside the iframe, and therefore the {clickurl} macro won't work. What you're trying to achieve is impossible. This has nothing to do with Revive Adserver specifically, it won't work in any ad server if the ad is an iframe with the actual ad inside the iframe.

Share this post


Link to post
Share on other sites

Hi there!

 

I found a solution!!!

 

First you create a HTML banner and put any HTML in it.

You can use here any iFrames who includes HTML content from any server.

In my case I include Adobe Edge Animation as a banner with an iFrame.

At "Alter HTML to enable click tracking for" you choose "General HTML-Banner"

 

Than you go to the topic "create a bannercode" and choose "iFrame Tag"!

Choose your campaign where your banner is included.

Use the right window size.

xcbnb3ea.png

Than create the iFrame in Revive
<iframe id='91221a' name='91221a' src='http://YOUR_REVIVE_SERVER_URL/www/delivery/afr.php?campaignid=123&amp;target=_blank&amp;cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no'><a href='http://YOUR_REVIVE_SERVER_URL/www/delivery/ck.php?n=ad3423523345&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='YOUR_REVIVE_SERVER_URL/www/delivery/avw.php?campaignid=4536&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=ad356236605' border='0' alt='' /></a></iframe>

After that you need to replace

INSERT_RANDOM_NUMBER_HERE <-> {random}

and append: &amp;ct0={clickurl}

<iframe id='91221a' name='91221a' src='http://YOUR_REVIVE_SERVER_URL/www/delivery/afr.php?campaignid=123&amp;target=_blank&amp;cb={random}' frameborder='0' scrolling='no'><a href='http://YOUR_REVIVE_SERVER_URL/www/delivery/ck.php?n=ad3423523345&amp;cb={random}' target='_blank'><img src='http://YOUR_REVIVE_SERVER_URL/www/delivery/avw.php?campaignid=4536&amp;cb={random}&amp;n=ad356236605&amp;ct0={clickurl}' border='0' alt='' /></a></iframe>

Maybe it helps someone?

 

Best regards

Share this post


Link to post
Share on other sites

Hi 

edu-fbm

 

How did you package your Edge animation in the iFrame?

"In my case I include Adobe Edge Animation as a banner with an iFrame."

 

Thx

Hi there!

 

I found a solution!!!

 

First you create a HTML banner and put any HTML in it.

You can use here any iFrames who includes HTML content from any server.

In my case I include Adobe Edge Animation as a banner with an iFrame.

At "Alter HTML to enable click tracking for" you choose "General HTML-Banner"

 

Than you go to the topic "create a bannercode" and choose "iFrame Tag"!

Choose your campaign where your banner is included.

Use the right window size.

xcbnb3ea.png

Than create the iFrame in Revive
<iframe id='91221a' name='91221a' src='http://YOUR_REVIVE_SERVER_URL/www/delivery/afr.php?campaignid=123&amp;target=_blank&amp;cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no'><a href='http://YOUR_REVIVE_SERVER_URL/www/delivery/ck.php?n=ad3423523345&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='YOUR_REVIVE_SERVER_URL/www/delivery/avw.php?campaignid=4536&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=ad356236605' border='0' alt='' /></a></iframe>

After that you need to replace

INSERT_RANDOM_NUMBER_HERE <-> {random}

and append: &amp;ct0={clickurl}

<iframe id='91221a' name='91221a' src='http://YOUR_REVIVE_SERVER_URL/www/delivery/afr.php?campaignid=123&amp;target=_blank&amp;cb={random}' frameborder='0' scrolling='no'><a href='http://YOUR_REVIVE_SERVER_URL/www/delivery/ck.php?n=ad3423523345&amp;cb={random}' target='_blank'><img src='http://YOUR_REVIVE_SERVER_URL/www/delivery/avw.php?campaignid=4536&amp;cb={random}&amp;n=ad356236605&amp;ct0={clickurl}' border='0' alt='' /></a></iframe>

Maybe it helps someone?

 

Best regards

Share this post


Link to post
Share on other sites

Prezados, possuo o seguinte código (abaixo) e não consigo contabilizar os cliques, apenas as impressões. Como fazer para contabilizar os cliques?

 

<!--
Advertiser: Governo de Brasilia (4062)
Campaign: Pacto pela vida (20966)
Placement: Notibras - Banner - Pacto pela vida - ROS (242070)
Site: Notibrás (2077)
Size: 728x90
Channel: Rotativo (16719)
-->
 
<script type="text/javascript">
var ADM_iq = '//ia.nspmotion.com';
try { ADM_iq = (document.location.protocol=='https:'?'https:':'http:')+ADM_iq } catch(e){}
document.write('<scr'+'ipt type="text/javascr'+'ipt" src="'+ADM_iq+'/delivery/?p=242070&sc=16719&r='+Math.round(Math.random()*99999)+'"></scr'+'ipt>');
</script>
 
<noscript>
<iframe src="//ia.nspmotion.com/delivery-noscript/?p=242070&sc=16719&r=[timestamp]" width="728" height="90" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true"></iframe>
</noscript>
 
 
Atenciosamente,
Éric Seabra

Share this post


Link to post
Share on other sites
On 19/1/2015 at 1:49 PM, Erik Geurts said:

There is no solution.

 

I think i found a solution or at least a workaround.

Use an <a href=""></a> as a transparent layer with href and define width, height and z-index.
This works only for html5 banners with only one link.
For example:

HTML Banner:

<div style="position: relative;">
<a  target="_blank" href="{your banner click href here}" style="position:absolute; top:0; left:0; display:inline-block; width:300px; height:600px; z-index:10;"> </a>
<iframe src="{put your iframe url here}" width="300" height="600" frameborder="0"></iframe>
</div>

Remember to use the same width and height in a href style and in iframe.

 

Best regards

Share this post


Link to post
Share on other sites

I've used this technique in the past on html banners wrapping the ad code in an element then capturing the propagated click within to load a click tracking pixel, seems to work if your only worried about tracking one click on the ad. I used a generic pixel here but a third party click tracking pixel would work as well, which is why we were using it. This doesn't interfere with the links in the ad code so works with 3rd party tags and would work with the iframe as well I believe, I've tested it with async js and iframe tags.

<div id="(wrapper-id)">";

<Ad code here>

</div>

<script type="text/javascript" > document.getElementById("(wrapper-id)").addEventListener("click", function(event) {  var ccUrl = "{clickurl}{url_prefix}/pixel.png?ord={random}";  new Image(1,1).src = ccUrl;  }, true); </script>

Share this post


Link to post
Share on other sites
On 15.4.2016 at 8:29 PM, Agrochaman said:

 

I think i found a solution or at least a workaround.

Use an <a href=""></a> as a transparent layer with href and define width, height and z-index.
This works only for html5 banners with only one link.
For example:

HTML Banner:

<div style="position: relative;">
<a  target="_blank" href="{your banner click href here}" style="position:absolute; top:0; left:0; display:inline-block; width:300px; height:600px; z-index:10;"> </a>
<iframe src="{put your iframe url here}" width="300" height="600" frameborder="0"></iframe>
</div>

Remember to use the same width and height in a href style and in iframe.

 

Best regards

Hi @Agrochaman,

Great solution. I have only one issue. Banner that have sound on hover do not play the sound because the now there is a layer above it. I tried to add CSS pointer-events: none; on the a href but it removes the link of course (although the sound is playing).

Does anyone found a solution for that?

Thank you, sepa

Share this post


Link to post
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.

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