Monthly Archive: November 2012

0

Stupidly Simple AB or Multivariate Testing

Here’s a simple way you can setup a simple multivariate or A/B split test without any software just using the subid variables provided by an affiliate network and some really basic php. <?php $out = ‘http://www.myaffiliatelink.com/page1.php?affid=123&subid1=’; if (rand(0,1) == 0) { $out.=’g1′; $girlimg = ‘1.png’; } else { $out.=’g2′; $girlimg = ‘2.png’; } // this randomly chooses an image and adds either g1 or g2 to the outlink. if (rand(0,1)...