lpa Posted April 1, 2021 Report Share Posted April 1, 2021 After upgrading from 5.0.5 to 5.2.0, I noticed that click-tracking of the banners that we use with direct selection codes don't work. The banner is selected like this: http://host.com/www/delivery/avw.php?bannerid=3444 We have used this kind of click-tracking codes:https://host.com/www/delivery/ck.php?bannerid=3444&dest=https://host.com/adstats/click.php?uid=5&source=710&banner_id=3444&zone_id=-1&campaign_id=1522&destination=https%3A%2F%2Fdestinationhost.com Is this now deprecated and how should we define the click-tracking now? We use this kind of selection, because the newsletter could have 5-10 banners and we want to be dynamic with the placement of the banners in the newsletter. I think the newsletter banner type we can't define many banners dynamically: https://documentation.revive-adserver.com/display/DOCS/Only+One+Active+Banner+in+Email-Newsletter+Zones. So, what is the correct way to define the click-tracking with direct selection banners? Quote Link to comment Share on other sites More sharing options...
lpa Posted April 1, 2021 Author Report Share Posted April 1, 2021 13 minutes ago, lpa said: After upgrading from 5.0.5 to 5.2.0, I noticed that click-tracking of the banners that we use with direct selection codes don't work. The banner is selected like this: http://host.com/www/delivery/avw.php?bannerid=3444 We have used this kind of click-tracking codes:https://host.com/www/delivery/ck.php?bannerid=3444&dest=https://host.com/adstats/click.php?uid=5&source=710&banner_id=3444&zone_id=-1&campaign_id=1522&destination=https%3A%2F%2Fdestinationhost.com Is this now deprecated and how should we define the click-tracking now? We use this kind of selection, because the newsletter could have 5-10 banners and we want to be dynamic with the placement of the banners in the newsletter. I think the newsletter banner type we can't define many banners dynamically: https://documentation.revive-adserver.com/display/DOCS/Only+One+Active+Banner+in+Email-Newsletter+Zones. So, what is the correct way to define the click-tracking with direct selection banners? Further question: If we should use the new cl.php script for click-tracking is this macro usage possible any more: The click-url defined for the banner would be like this with the Revive macro-tags: https://host.com/click.php?uid={uid}&source={source}&banner_id={bannerid}&zone_id={zoneid}&campaign_id={campaignid}&destination=https%3A%2F%2Fdestinationhost.com Quote Link to comment Share on other sites More sharing options...
lpa Posted April 1, 2021 Author Report Share Posted April 1, 2021 I tried the new cl.php, but it does not seem to expand the macros: <a href="https://host.com/www/delivery/cl.php?bannerid=3444"><img src=""></a> does not expand the macros {uid}, {source}, {bannerid}, {campaigned} as the ck.php did before. Now I will be redirected to https://host.com/click.php?uid={uid}&source={source}&banner_id={bannerid}&zone_id=-1&campaign_id={campaignid}&destination=https%3A%2F%2Fdestinationhost.com instead of: https://host.com/click.php?uid=5&source=710&banner_id=3444&zone_id=-1&campaign_id=1522&destination=https%3A%2F%2Fdestinationhost.com Quote Link to comment Share on other sites More sharing options...
scott001 Posted April 8, 2021 Report Share Posted April 8, 2021 I am also having trouble creating links to track clicks in my eNewsletters. Has anyone found a solution to this issue? Quote Link to comment Share on other sites More sharing options...
scott001 Posted April 9, 2021 Report Share Posted April 9, 2021 After the same upgrade my click tracking and links used in my eNewsletter no longer work. I re-created a tag which looks like this: <!-- MySite.com Advertising No Cookie Image Tag - Generated with Revive Adserver v5.2.0 --> <a href='http://www. MySite.com/adserv/www/delivery/cl.php?zoneid=397' target='_blank'><img src='http://www. MySite.com/adserv/www/delivery/avw.php?zoneid=397&source= MySite.com&target=_blank' border='0' alt='' /></a> However, the link does not function, even though it is correctly set up for the banner selected for this zone. Quote Link to comment Share on other sites More sharing options...
scott001 Posted April 9, 2021 Report Share Posted April 9, 2021 (edited) Update, I am able to get the link to at least function with the changes below, but notice the destination URL is very different from what is generated by the zone. In the code above generated by the zone, the link does not work: <!-- MySite.com Advertising No Cookie Image Tag - Generated with Revive Adserver v5.2.0 --> <a href='https://www. MySite.com/adserv/www/delivery/cl.php?zoneid=397&campaignid=1131&bannerid=2539' target='external'><img src='https://www. MySite.com/adserv/www/delivery/avw.php?zoneid=397&source= MySite.com&target=_blank&cb=INSERT_RANDOM_NUMBER_HERE' border='0' alt='Gluten-Free Mall' /></a> Edited April 9, 2021 by scott001 Quote Link to comment Share on other sites More sharing options...
lpa Posted June 15, 2021 Author Report Share Posted June 15, 2021 On 4/1/2021 at 11:09 AM, lpa said: I tried the new cl.php, but it does not seem to expand the macros: <a href="https://host.com/www/delivery/cl.php?bannerid=3444"><img src=""></a> does not expand the macros {uid}, {source}, {bannerid}, {campaigned} as the ck.php did before. Now I will be redirected to https://host.com/click.php?uid={uid}&source={source}&banner_id={bannerid}&zone_id=-1&campaign_id={campaignid}&destination=https%3A%2F%2Fdestinationhost.com instead of: https://host.com/click.php?uid=5&source=710&banner_id=3444&zone_id=-1&campaign_id=1522&destination=https%3A%2F%2Fdestinationhost.com This problem is still unsolved. Is there any way to get the user defined macros like {uid}, {source} etc be populated while using the direct selection method with the new cl.php? The destination url is stored in the banner like this, but the macros are not working: https://host.com/click.php?uid={uid}&source={source}&banner_id={bannerid}&zone_id=-1&campaign_id={campaignid}&destination=https%3A%2F%2Fdestinationhost.com Quote Link to comment Share on other sites More sharing options...
M.M. Posted June 30, 2021 Report Share Posted June 30, 2021 On 6/15/2021 at 2:59 PM, lpa said: This problem is still unsolved. Is there any way to get the user defined macros like {uid}, {source} etc be populated while using the direct selection method with the new cl.php? The destination url is stored in the banner like this, but the macros are not working: https://host.com/click.php?uid={uid}&source={source}&banner_id={bannerid}&zone_id=-1&campaign_id={campaignid}&destination=https%3A%2F%2Fdestinationhost.com Hi @lpa, did you find a solution yet? It seems i run into the same problem as i wrote in here: I am coming from OpenX 2.8.9 and didn't use my Adserver actively for quite a while (obv.). Now i signed some new programs as a publisher and none of the banner links work. Quote Link to comment Share on other sites More sharing options...
scott001 Posted June 30, 2021 Report Share Posted June 30, 2021 No solution yet, I still have to create the links manually for them to work. Quote Link to comment Share on other sites More sharing options...
M.M. Posted July 1, 2021 Report Share Posted July 1, 2021 All my sites run on the same server. So my adserver is on <somedomain> and i use <someotherdomain> on the sites publishing the ads. When i click on a banner using https://<somedomain>/www/delivery/cl.php?... then the redirect works. When i click on the same banner from one of my websites using https://<someotherdomain>/www/delivery/cl.php?... then it loads the page but doesn't do any redirect. To me this is really strange. Quote Link to comment Share on other sites More sharing options...
M.M. Posted July 1, 2021 Report Share Posted July 1, 2021 I am back to not changing html for click tracking. At least the banners are clickable now and do work. I will just not have the possibilty to track any clicks. I will have to rely on the records of my ad network partner. It is a pity that OpenX had to go this way eventhough i understand the reasons which led to the change from ck.php to cl.php 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.