« How to get relevant ads from adsense? | Main | For Adsense links - Blue is still the best »

Aug16
An easy way to do A/B adsense testing
I've been very vocal about adsense A/B testing to see which ad type brings the best click through rate.  Apart from well know and standard adsense placements,  it is always a good practice to do A/B testing just to make sure you are getting the most out of your website.

Google's adsense blog  discussed one excellent way to do A/B testing.   Using a simple javascript.

<script type="text/javascript">
    var random_number = Math.random();
    if (random_number < .5){
        //your first ad unit code goes here
    } else {
        //your second ad unit code goes here
    }
</script>
<script type="text/javascript"     src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>


You need to create 2 sets of adsense code with different custom channel.    Just dump the adsense code on the specified location above and you're good to go.

Read about the whole post here.

0 Comments/Trackbacks




submit a trackback

TrackBack URL for this entry:

post a comment

Name, Email Address, and URL are not required fields.





Comment Preview

« How to get relevant ads from adsense? | Main | For Adsense links - Blue is still the best »

Advertise

Related Resources

recent comments

sponsored ads



subscribe


Prefer Email?
Subscribe below-

Enter your Email:


Powered by FeedBlitz What's this?

Current News

Support This Blog

business social media

Use these fast growing business social media sites to promote your business, feature your products, spotlight your business leaders, create links, and drive traffic back to your company site, all for free!

BIZZlogos - Add your logo - free link to your site
BIZZphotos - Add photos of your products and people
BIZZprofiles - Submit your profile and build your online visibility
BIZZspotlight - Spotlight your business with free links
BIZZvideos - Videos about businesses, products and business people.
BIZZbites - "Digg" for Business - Submit your articles and posts

know more media network

View Network Map

Network Feed List (OPML)

Know More Media Network
Feed


we support unitus

PRWeb

Influencer



OnlineAdSwami is a member of the Know More Media network of business related blogs.

Here are some current headlines from some of our business publications:

ProductivityGoal

CallCenterScript

AdHurl

TheBizofKnowledge

LandingTheDeal

CustomersAreAlways

HealthCareVox

BrainBasedBusiness

TheInsurancePolicy

MarketingBlurb