- OpenX Community Forums

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Use Of A Variable Different From Clicktag., When you get non clickTAG flash banner.
Molotov
post Mar 12 2012, 03:50 PM
Post #1


Beginner
*

Group: Members
Posts: 1
Joined: 6-March 12
Member No.: 171,776



Hi.
This is how i modify my OpenX to use banners with link variable other than clickTAG. For exmaple url or link1.
You need to modify the following files
\lib\max\Delivery\adRender.php
in \www\delivery\ find the files containing $swfParams
In these files find the line containing
CODE
$swfParams = array('clickTARGET' => $target, 'clickTAG' => $clickUrl);

This is where the output of clickTAG is made.
Change this line to
CODE
$swfParams = array('clickTARGET' => $target, 'clickTAG' => $clickUrl, 'link1' => $clickUrl, 'url' => $clickUrl, 'lbnclick' => $clickUrl, 'banner_href' => $clickUrl, 'ealink' => $clickUrl);

Now the OpenX can deliver and track clicks on banners with variables clickTAG, link1, url, lbnclick, banner_href, ealink.
You can add what ever name you want.
I hope it become usefull for you.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 

Locations of visitors to this page