100% Free Split Testing Script!
Here is a free split testing script I created in php. It can be tweaked to whatever you need it to be, consider this just a rough framework to begin. It doesn't rotate the offers 100% evenly but it does what I need it to do. Maybe it will be of some use to someone.
How to use the code:
Copy and paste the below in notepad and save as index.php then put inside a folder. Just link to that folder from wherever the split test is coming from. I've used this to split test landers from traffic sources and offers from my winning lander.
<? if(rand(1,10) < 5) { header("Location: http://www.affiliatelink.com"); } else { header("Location: http://www.affiliatelink.com"); } ?>
On line two, php calls a random number between 1-10. (Change this to rotate more or less frequently) If the number is less than 5, it goes to your first link. If its higher than 5 it goes to your second link.
Feel free to hack this code up for 3 way split tests, etc.
Let me know if it helps?
- WANTED: 25 Students Looking to Earn $1,000-$10,000/Month -
- WANTED: 25 Students Looking to Earn $1,000-$10,000/Month -