prosper202 to track website banners?

j0hnsmith

Enlightened Member
Jul 12, 2010
321
4
0
I have a website that has multiple rotating banners on all the pages, is it possible to use prosper202 to track which ads are clicked and which ads convert?

How do I do this?
 


Yea.. just go through the setup... grab your tracking code to drop on your lander and grab your outbound redirect code... and skip the other steps.

If you want to rotate, you could do something like:

<?php
$url = rand(0,1);
if($url == 1){
<a href="http://prosperdomain.com/lp.phpblahblah&t202id=xxxx&t202keyword=banner1"><img src="banner1.jpg" /></a>
} else {
<a href="http://prosperdomain.com/lp.phpblahblah&t202id=xxxx&t202keyword=banner2"><img src="banner2.jpg" /></a>
}
?>

If you want to track multiple, you have to add an elseif statement

Code:
<?php
$url = rand(1,4);
if($url == 1){
<a href="http://prosperdomain.com/lp.phpblahblah&t202id=xxxx&t202keyword=banner1"><img src="banner1.jpg" /></a>
} elseif($url == 2) {
<a href="http://prosperdomain.com/lp.phpblahblah&t202id=xxxx&t202keyword=banner2"><img src="banner2.jpg" /></a>
} elseif($url == 3) {
<a href="http://prosperdomain.com/lp.phpblahblah&t202id=xxxx&t202keyword=banner3"><img src="banner3.jpg" /></a>
}
?>

all the code does is say, randomy choose a # between 1 & 4. If 1, drop this code. If 2, drop this code. And so on and so on.

Forget about tracking click costs (since you have none) and just do it like that. You will need to place the code I gave you in the appropriate spot of your sidebar though

Im drunk, so dont bitch if it's not exactly right :D