Need Help with very simple coding (direct link vs. landing

Need Help with very simple coding (direct link vs. landing page)

So I have a very nice setup provided by someone here that rotates between two LP’s evenly. I want to test between direct linked and an LP though so on the page I rotate to, what code do I need there?

would it be a simple PHP page with the direct linked prosper link inside it?


header( ‘Location:‘ ) ;


or is my thinkning completely wrong? I want it to show up properly in T202 Landing pages.

User Comment:
why dont you just send the traffic to the p202 link, and in the p202 campaign have it rotate between direct link and your landing page?

User Comment:
uhhh would that screw anything up in the tracking? it would make it so I cant test out other offers at the smae time but it could work. It might get messy with the c1 c2 c3 variables though.

User Comment:
While what you suggest in the first post definitely would work, I think you’re doing one redirect more than you need to.

I don’t have any code that rotates evenly (since I don’t care about it being exactly even) but your rotator code probably looks similar to mine, and this is how I would do it:

$links = array('', '');
$link = $links[array_rand($links)];
echo "<meta http-equiv='refresh' content='0;url=$link'/>";

This way you’re putting the code for direct linking in with your landing pages, and your visitors have one less redirect to go through.

The Article Published IN 09-10-2011 03:49 AM

Share To More ()