For split testing is it possible to create a page that will randomly select one page to display to a visitor.
Nothing blackhat here I know but I have an idea based on c0nversi0nPr0fit that I haven't seen anywhere else.
As c0nversi0nPr0fit only allows tracking of 3 versions of a landing page I am trying to create an index.php that will randomly select from index1.html, index2.html and index3.html.
I have used the following code :
<?php
$pageid = rand(1, 3);
if ($pageid == 1){$location = "http://www.google.com";}
else if ($pageid == 2){$location = "http://www.yahoo.com";}
else if ($pageid == 3){$location = "http://www.msn.com";}
echo "<a href=$location>$location</a>";
?>
and this echo does display a random pagelink in text but I can not work out how to get it to open the selected/displayed location.
As you can guess I am not a php coder
So happy for any workable suggestions
Thanx