How to Split Test Landing Pages
-
One of the main reasons why many new affiliates fail is because they don’t split test everything, the purpose of a campaign is to make money right? Why not make as much profit as you can from your campaigns.
If you don’t split test your landing page you are potentially throwing away money, you never know what will convert better until you try it, whether it be a review style landing page, a landing site or just a normal landing page. You will be kicking yourself, especially because it’s so easy to split test 2 landing pages.
After reading this there is no excuse to do this for every campaign you make.
Right, so you have 2 landing pages you want to test, in your root directory you create a index.php file as you would normally but this time just insert this code and upload it to the server:
<?php
if(rand(0,1) == 0) {
header(”Location: http://www.yourdomain.com/landing-page-folder-1″);
} else {
header(”Location: http://www.yourdomain.com/landing-page-folder-2″);
}
?>Ignoring the 'landing-page-folder-X' for a moment you then create two folders within your root directory, one for each landing page. Name these appropriately so that you can differentiate the two.
Once you have a landing page in each folder simply upload them to the server and go back to the index.php and edit the location fields with the URL to the folders of the landing pages.
That’s all there is to it.
To be able to monitor which ones converting better you just have to have a relevant sub ID on the affiliate links so that when you get the conversion/sale you can identity which landing page it came from.
Don’t just test 2 landing pages and stick with the higher CTR - why not throw another one in after to see if that performs better. Simply rinse and repeat this method to get best CTR possible!
Get new posts sent directly via email by subscribing to my RSS feed.
















October 27th, 2008 at 8:37 pm
How does this affect SEO? Will Google index both pages or amalgamate the two for SERPS?
Reply to this comment
October 27th, 2008 at 8:41 pm
Hi, I found a very good answer here! Thanks for your blog…it’s great: http://www.seoegghead.com/blog/seo/3-tips-for-seo-aware-split-testing-p160.html.
Reply to this comment
June 17th, 2009 at 7:35 am
hmmm… I’m having trouble implementing your code. I created the two folders with alternate landing pages inside. I added the snippet of code to my index.php file in root directory. When I load up my landing page, I receive an error message saying:
Parse error: syntax error, unexpected ‘:’ in /home/amer/public_html/xxxxxx.com/index.php on line 14
Have I forgotten something simple?
Reply to this comment
June 17th, 2009 at 11:19 am
It’s hard to say without seeing the exact code you used, the links in the index go directly to each of the landing pages index/home file right?
Reply to this comment
June 17th, 2009 at 11:28 am
I created 2 folders. One called “start” and another called “startnow” in the root directory. Inside each folder I uploaded a variation of my landing page. Then I inserted the code below into my root directory index.php file.
I also tried it without the index.php extension on the links in the code.
Reply to this comment
September 28th, 2009 at 12:41 am
Hi Richard,
If I use Prosper202 and this code, then the information from the traffic source (what ad was clicked, what keyword triggered the ad) would be lost right? In other words, Prosper could not make the connection between the ad+keyword and the landing page. So I could not know exactly which keyword+ad+LP generated the sale, right?
I was looking for a lp split testing method that works with Prosper, but the one on their website seems too complicated. I’m not a good coder and I’m afraid I’ll mess it up.
Thanks for the reply,
Alex.
Reply to this comment
May 15th, 2010 at 5:01 pm
Great post but I think Evenly splitting as offered by spSplitter script at http://ebookminer.com/spsplitter/ can give more accurate result.
Reply to this comment