I avoid p202 and cpvlab with my mobile campaigns, and was just wondering if anyone out there had a script or recommendation for a mobile-friendly split testing script?
Thx
Visual Website optimizer, unbounce, google website optimizer, conversion202 all offer A/B or multivariant testing... I don't think you need anything special for "mobile-friendly" traffic unless I'm missing something
Some mobile browsers don't support even basic Javascript, so I was more interested in light-weight solutions that some of you guys may have found leak as little traffic as possible. Have you had good luck using google website optimizer on mobile traffic?
How about doing it with some basic php?
Do something like:
$ver=rand(1,2)
if $ver=="1", show page a
if $ver=="2", show page b
php was what i was thinking... do you think php less likely to leak visitors than js?
Absolutely. PHP is server side so it doesn't depend on the client, javascript does, so you've already eliminated the biggest variable: the visitor.
With split testing I just used PHP as shanktank demonstrated to split traffic between two destinations. I change the subid's in each link to suit to make it easy to track EPCs network side.
E.g.
<?php
$subid = $_GET['subid'];
$redirect[0] = 'URL1'.$subid;
$redirect[1] = 'URL2'.$subid;
$redirect[2] = 'URL3'.$subid;
$number = mt_rand(0,2);
header("Location:$redirect[$number]");
?>
<?php
$subid1 = $_GET['subid1']; //Country code
$subid2 = $_GET['subid2']; //Gender
$subid3 = $_GET['subid3']; //Age group
$subid4 = $_GET['subid4']; //Advert ID
$country = getenv(GEOIP_COUNTRY_NAME);
$country_code = getenv(GEOIP_COUNTRY_CODE);
//redirect split based on subids
switch($country_code) {
case 'XX':
if ($subid2=="M")
{
$redirect[0] = 'http://affiliateurl.com/something&s1=.$subid1."&s2=".$subid2."&s3=".$subid3."&s4=".$subid4;
$redirect[1] = 'http://affiliateurl.com/something&s1=.$subid1."&s2=".$subid2."&s3=".$subid3."&s4=".$subid4;
$number = mt_rand(0,1);
header("Location:$redirect[$number]");
exit;
}
if ($subid2=="F")
{
$redirect[0] = 'http://affiliateurl.com/something&s1=.$subid1."&s2=".$subid2."&s3=".$subid3."&s4=".$subid4;
$redirect[1] = 'http://affiliateurl.com/something&s1=.$subid1."&s2=".$subid2."&s3=".$subid3."&s4=".$subid4;
$number = mt_rand(0,1);
header("Location:$redirect[$number]");
exit;
}
}
?>
Thanks zeno!