Split Testing - Prosper Script

4 replies
Hello, if somebody could help me to set up this rotate offer (split testing) script for proser I would really appreciate it!

Here is the script:

Code:
<?

//Tracking202 Offer Rotation Script

//enter your affiliate urls below, you can enter as many as you want, please
//make sure that you have the affiliate url with the SUBID syntax at the end
//of it, for reference goto: subids.com for more information.
$offer[1] = 'http://myaffiliateurl.com?subid=';
$offer[2] = 'http://myaffiliateurl2.com?subid=';
$offer[3] = 'http://myaffiliateurl3.com?subid=';

//this is the text file, which will be stored in the same directory as this file, 
//count.txt needs to be CHMOD to 777, full privlledges, to read and write to it.
$myFile = "count.txt";

//open the txt file
$fh = @fopen($myFile, 'r');
$offerNumber = @fread($fh, 5);
@fclose($fh);

//see which landing page is next in line to be shown.
if ($offerNumber >= count($offer)) {
    $offerNumber = 1;
} else {
    $offerNumber = $offerNumber + 1;
}

//write to the txt file.
$fh = fopen($myFile, 'w') or die("can't open file");
$stringData = $offerNumber . "\n";
fwrite($fh, $stringData);
fclose($fh);

//grab the subid that t202 adds
$subid = $_GET['subid'];

//redirect to the affilate url, + add the subid at the end
header('location: ' .$offer[$offerNumber] . $subid); 

?>
But my question is:

What if instead of adding CPA network links to the script, I add t202 campaign direct links and or t202 landing pages?

Then I drive traffic to mydomain.com/rotate.php?subid=

That way t202 should track the traffic sent to each campaign.
Is that correct? Anyone have done this?

Thanks
#prosper #script #split testing
  • Profile picture of the author jonhkh17
    I did used this method before, it not worth for your time, very painful to set up. Better spend your time on creative landing page. USED Bevo Media tracking can do landing & Offer rotation in simple few input, and it plus free.
    {{ DiscussionBoard.errors[7235308].message }}
    • Profile picture of the author MathewMaso
      Originally Posted by jonhkh17 View Post

      I did used this method before, it not worth for your time, very painful to set up. Better spend your time on creative landing page. USED Bevo Media tracking can do landing & Offer rotation in simple few input, and it plus free.
      Thanks, but I don't trust that site, I don't want to give them all my keyword and leads information. I'm running my tracking system in my own server.

      Also is that 100% free?
      {{ DiscussionBoard.errors[7235435].message }}
  • Profile picture of the author jonhkh17
    Hi Prodak,
    there is self install for bevo media, on you vps or hosting, but $20 a month. Other choice is cpvlab is one time pay $299. Let me know how it goes.
    {{ DiscussionBoard.errors[7236738].message }}
    • Profile picture of the author jonhkh17
      Hi
      If you want to used to prosper script you will spend alot of time pasting code around alot work, well if you unemployed and current working full time on internet marketing. I guess you can waste time on prosper script. But if you are working your regular job, and spend couple hour online marketing, just better goes with bevomedia self hosted install for $20 a month or cpvlab.
      {{ DiscussionBoard.errors[7236791].message }}

Trending Topics