tomaszs Posted December 29, 2014 Report Share Posted December 29, 2014 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! Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted December 29, 2014 Report Share Posted December 29, 2014 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. Quote Link to comment Share on other sites More sharing options...
tomaszs Posted December 30, 2014 Author Report Share Posted December 30, 2014 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? Quote Link to comment Share on other sites More sharing options...
tomaszs Posted January 12, 2015 Author Report Share Posted January 12, 2015 I'd appreciate any answer... Quote Link to comment Share on other sites More sharing options...
Cavi Posted January 12, 2015 Report Share Posted January 12, 2015 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! Quote Link to comment Share on other sites More sharing options...
tomaszs Posted January 13, 2015 Author Report Share Posted January 13, 2015 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. Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted January 19, 2015 Report Share Posted January 19, 2015 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. Quote Link to comment Share on other sites More sharing options...
tomaszs Posted January 19, 2015 Author Report Share Posted January 19, 2015 Hello Erik, Thanks for answer. So what is the solution? How should i track clicks? I have the ad on my server. So i have access to it. Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted January 19, 2015 Report Share Posted January 19, 2015 There is no solution. Quote Link to comment Share on other sites More sharing options...
edu-fbm Posted March 4, 2015 Report Share Posted March 4, 2015 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. Than create the iFrame in Revive <iframe id='91221a' name='91221a' src='http://YOUR_REVIVE_SERVER_URL/www/delivery/afr.php?campaignid=123&target=_blank&cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no'><a href='http://YOUR_REVIVE_SERVER_URL/www/delivery/ck.php?n=ad3423523345&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='YOUR_REVIVE_SERVER_URL/www/delivery/avw.php?campaignid=4536&cb=INSERT_RANDOM_NUMBER_HERE&n=ad356236605' border='0' alt='' /></a></iframe> After that you need to replace INSERT_RANDOM_NUMBER_HERE <-> {random} and append: &ct0={clickurl} <iframe id='91221a' name='91221a' src='http://YOUR_REVIVE_SERVER_URL/www/delivery/afr.php?campaignid=123&target=_blank&cb={random}' frameborder='0' scrolling='no'><a href='http://YOUR_REVIVE_SERVER_URL/www/delivery/ck.php?n=ad3423523345&cb={random}' target='_blank'><img src='http://YOUR_REVIVE_SERVER_URL/www/delivery/avw.php?campaignid=4536&cb={random}&n=ad356236605&ct0={clickurl}' border='0' alt='' /></a></iframe> Maybe it helps someone? Best regards Quote Link to comment Share on other sites More sharing options...
pmax Posted March 27, 2015 Report Share Posted March 27, 2015 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. Than create the iFrame in Revive <iframe id='91221a' name='91221a' src='http://YOUR_REVIVE_SERVER_URL/www/delivery/afr.php?campaignid=123&target=_blank&cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no'><a href='http://YOUR_REVIVE_SERVER_URL/www/delivery/ck.php?n=ad3423523345&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='YOUR_REVIVE_SERVER_URL/www/delivery/avw.php?campaignid=4536&cb=INSERT_RANDOM_NUMBER_HERE&n=ad356236605' border='0' alt='' /></a></iframe> After that you need to replace INSERT_RANDOM_NUMBER_HERE <-> {random} and append: &ct0={clickurl} <iframe id='91221a' name='91221a' src='http://YOUR_REVIVE_SERVER_URL/www/delivery/afr.php?campaignid=123&target=_blank&cb={random}' frameborder='0' scrolling='no'><a href='http://YOUR_REVIVE_SERVER_URL/www/delivery/ck.php?n=ad3423523345&cb={random}' target='_blank'><img src='http://YOUR_REVIVE_SERVER_URL/www/delivery/avw.php?campaignid=4536&cb={random}&n=ad356236605&ct0={clickurl}' border='0' alt='' /></a></iframe> Maybe it helps someone? Best regards Quote Link to comment Share on other sites More sharing options...
ericseabra Posted August 7, 2015 Report Share Posted August 7, 2015 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 Quote Link to comment Share on other sites More sharing options...
ericseabra Posted August 14, 2015 Report Share Posted August 14, 2015 Alguém pode me ajudar na questão acima? Obrigado. Quote Link to comment Share on other sites More sharing options...
Agrochaman Posted April 15, 2016 Report Share Posted April 15, 2016 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 Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted April 15, 2016 Report Share Posted April 15, 2016 2 hours ago, Agrochaman said: This works only for html5 banners with only one link. At most a minor work around. Quote Link to comment Share on other sites More sharing options...
rich83638 Posted June 7, 2016 Report Share Posted June 7, 2016 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> Quote Link to comment Share on other sites More sharing options...
sepalot Posted August 7, 2017 Report Share Posted August 7, 2017 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.