abtesting.jpgSplit testing your adsense is the process of taking two different ads and presenting them both randomly to you website visitors.

The goal of split testing is to determine which ad receives the highest number of clicks or makes you the most money.

No need for guessing with your adsense anymore, use split testing, here’s how:

Caution: Back up any file before modifying it.

Step 1 - Replace your current adsense code in your blog template or website with the following code

<?php
$temp= rand(0,1);

if ($temp==0) {
//adsense version 1 goes here
}else{
//adsense version 2 goes here
}
?>

Step 2 - Go to you adsense account and create the first version of your ad with a unique channel, for instance make your links blue for version one and paste adsense over the above code where it says “//adsense version 1 goes here”.

Step 3 - Go to you adsense account and create the second version of your ad with a unique channel, for instance make your links red for version two and paste adsense over the above code where it says “//adsense version 2 goes here”.

Watch it in Action! Click here to see our split test demo.

That’s all it takes to split test your adsense! Both versions of your adsense ads will now be served randomly to your blog visitors.

After a few days you can view your adsense stats and see exactly which version of your ad received the most amount of clicks or made you the most money!

You’ve now eliminated most of the guesswork out of your adsense gameplan and hopefully keep increasing your earnings with this technique.

Notes:

1. The code obviously requires a server that supports php.

2. The code presents ads randomly, not exactly 50/50

3. The code could be streamlined and there are many different similar versions, however the above works fine and is presented in the most easy to understand way.

Enjoy your higher earnings!