0% found this document useful (0 votes)
2 views

The Ultimate Guide to Ab Testing Smashing Magazine

The document is a comprehensive guide to A/B testing, explaining its purpose, methodology, and the importance of testing different website elements to improve conversion rates. It covers what to test, how to set up tests, and provides practical do's and don'ts based on real-world experiences. Additionally, it includes case studies and resources for further exploration of A/B testing tools and techniques.

Uploaded by

cuchulu78
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

The Ultimate Guide to Ab Testing Smashing Magazine

The document is a comprehensive guide to A/B testing, explaining its purpose, methodology, and the importance of testing different website elements to improve conversion rates. It covers what to test, how to set up tests, and provides practical do's and don'ts based on real-world experiences. Additionally, it includes case studies and resources for further exploration of A/B testing tools and techniques.

Uploaded by

cuchulu78
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

The Ultimate Guide To A/B Testing


By Paras Chopra

Published on June 24th, 2010 in Testing, Workflow with 83 Comments

A/B testing isn’t a buzz term. A lot of savvy marketers and designs are
using it right now to gain insight into visitor behavior and to increase
conversion rate. And yet A/B testing is still not as common as such
Internet marketing subjects as SEO, Web analytics and usability. People
just aren’t as aware of it. They don’t completely understand what it is or
how it could benefit them or how they should use it. This article is meant
to be the best guide you will ever need for A/B testing.

What Is A/B Testing?


At its core, A/B testing is exactly what it sounds like: you have two versions of an element (A
and B) and a metric that defines success. To determine which version is better, you subject
both versions to experimentation simultaneously. In the end, you measure which version
was more successful and select that version for real-world use.

This is similar to the experiments you did in Science 101. Remember the experiment in
which you tested various substances to see which supports plant growth and which
suppresses it. At different intervals, you measured the growth of plants as they were

http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 1 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

subjected to different conditions, and in the end you tallied the increase in height of the
different plants.

Large version

A/B testing on the Web is similar. You have two designs of a website: A and B. Typically, A is
the existing design (called the control), and B is the new design. You split your website traffic
between these two versions and measure their performance using metrics that you care
about (conversion rate, sales, bounce rate, etc.). In the end, you select the version that
performs best.

What To Test?
Your choice of what to test will obviously depend on your goals. For example, if your goal is
to increase the number of sign-ups, then you might test the following: length of the sign-up
form, types of fields in the form, display of privacy policy, “social proof,” etc. The goal of A/B
testing in this case is to figure out what prevents visitors from signing up. Is the form’s length

http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 2 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

intimidating? Are visitors concerned about privacy? Or does the website do a bad job of
convincing visitors to sign up? All of these questions can be answered one by one by
testing the appropriate website elements.

Even though every A/B test is unique, certain elements are usually tested:

The call to action’s (i.e. the button’s) wording, size, color and placement,
Headline or product description,
Form’s length and types of fields,
Layout and style of website,
Product pricing and promotional offers,
Images on landing and product pages,
Amount of text on the page (short vs. long).

Create Your First A/B Test


Once you’ve decided what to test, the next step, of course, is to select a tool for the job. If
you want a free basic tool and don’t mind fiddling with HTML and JavaScript, go with
Google Website Optimizer1 . If you want an easier alternative with extra features, go with
Visual Website Optimizer2 (disclaimer: my start-up). Other options are available, which I
discuss at the end of this post. Setting up the core test is more or less similar for all tools, so
we can discuss it while remaining tool-agnostic.

You can set up an A/B test in one of two ways:

Replace the element to be tested before the page loads


If you are testing a single element on a Web page—say, the sign-up button—then
you’ll need to create variations of that button (in HTML) in your testing tool. When the
test is live, the A/B tool will randomly replace the original button on the page with one
of the variations before displaying the page to the visitor.
Redirect to another page
If you want to A/B test an entire page—say, a green theme vs. a red theme—then

http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 3 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

you’ll need to create and upload a new page on your website. For example, if your
home page is !""#$%%&&&'()*+#,('-.+%/01()'!"+, , then you’ll need to create a variation
located at !""#$%%&&&'()*+#,('-.+%/01()2'!"+, . When the test runs, your tool will
redirect some visitors to one of your alternate URLs.

Once you have set up your variations using one of these two methods, the next step is to
set up your conversion goal. Typically, you will get a piece of JavaScript code, which you
would copy and paste onto a page that would represent a successful test were a visitor to
arrive there. For example, if you have an e-commerce store and you are testing the color of
the “Buy now” button, then your conversion goal would be the “Thank you” page that is
displayed to visitors after they complete a purchase.

As soon as a conversion event occurs on your website, the A/B testing tool records the
variation that was shown to the visitor. After a sufficient number of visitors and conversions,
you can check the results to find out which variation drove the most conversions. That’s it!
Setting up and running an A/B test is indeed quite simple.

Do’s And Don’ts


Even though A/B testing is super-simple in concept, keep some practical things in mind.
These suggestions are a result of my real-world experience of doing many A/B tests (read:
making numerous mistakes).

D O N ’ TS
When doing A/B testing, never ever wait to test the variation until after you’ve tested
the control. Always test both versions simultaneously. If you test one version one
week and the second the next, you’re doing it wrong. It’s possible that version B was
actually worse but you just happened to have better sales while testing it. Always split
traffic between two versions.
Don’t conclude too early. There is a concept called “statistical confidence” that
determines whether your test results are significant (that is, whether you should take
the results seriously). It prevents you from reading too much into the results if you
have only a few conversions or visitors for each variation. Most A/B testing tools
http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 4 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

report statistical confidence, but if you are testing manually, consider accounting for it
with an online calculator3 .
Don’t surprise regular visitors. If you are testing a core part of your website, include
only new visitors in the test. You want to avoid shocking regular visitors, especially
because the variations may not ultimately be implemented.
Don’t let your gut feeling overrule test results. The winners in A/B tests are often
surprising or unintuitive. On a green-themed website, a stark red button could
emerge as the winner. Even if the red button isn’t easy on the eye, don’t reject it
outright. Your goal with the test is a better conversion rate, not aesthetics, so don’t
reject the results because of your arbitrary judgment.

DO’S

Know how long to run a test before giving up. Giving up too early can cost you
because you may have gotten meaningful results had you waited a little longer.
Giving up too late isn’t good either, because poorly performing variations could cost
you conversions and sales. Use a calculator (like this one4 ) to determine exactly how
long to run a test before giving up.
Show repeat visitors the same variations. Your tool should have a mechanism for
remembering which variation a visitor has seen. This prevents blunders, such as
showing a user a different price or a different promotional offer.
Make your A/B test consistent across the whole website. If you are testing a sign-up
button that appears in multiple locations, then a visitor should see the same variation
everywhere. Showing one variation on page 1 and another variation on page 2 will
skew the results.
Do many A/B tests. Let’s face it: chances are, your first A/B test will turn out a lemon.
But don’t despair. An A/B test can have only three outcomes: no result, a negative
result or a positive result. The key to optimizing conversion rates is to do a ton of A/B
tests, so that all positive results add up to a huge boost to your sales and achieved
goals.

http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 5 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

Classic A/B Testing Case Studies


Here are some case studies to give you an idea of how people test in the wild.

Writing Decisions: Headline Tests on the Highrise Sign-Up Page5


37signals tested the headline on its pricing page. It found that “30-Day Free Trial on All
Accounts” generated 30% more sign-ups than the original “Start a Highrise Account.”

“You Should Follow Me on Twitter Here”6 (Dustin Curtis)


This much-hyped split-test involved testing multiple versions of a call to action for Twitter
followers. Dustin found that “You should follow me on Twitter here” worked 173% better
than his control text, “I’m on Twitter.”

Human Photos Double Conversion Rates7


A surprising conclusion from two separate A/B tests: putting human photos on a website
increases conversion rates by as much as double. Scientific research backs this up, saying
that we are subconsciously attracted to images with people.

http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 6 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

Google Website Optimizer Case Study: Daily Burn, 20%+ Improvement8 (Tim Ferriss)
A simple variation that gave visitors fewer options too choose from resulted in a 20%
increase in conversions. The winning version was also much easier on the eye than the
control in its detail and text.

Two Magical Words Increased Conversion Rate by 28%9


The words “It’s free” increased the clicks on this sign-up button by 28%, illustrating the
importance of testing call-to-action buttons and how minor changes can have surprisingly
major results.

http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 7 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

Changing the Sign-Up Button from Green to Red10


Along with its other A/B tests, CareLogger increased its conversion rate by 34% simply by
changing the color of the sign-up button from green to red!

Single page vs. multi-step checkout11


If you have an online store, it is quite common to see visitors abandoning the purchase
process at the time of checkout. This A/B test found out that a single page checkout process
works much better at completing sales than multiple-page checkout process.

"Mad Libs" style form increases conversion 25-40%12


Defeating conventional wisdom, in this A/B test it was found out that a paragraph-styled form
with inline input fields worked much better than traditional form layout. Though the result
was probably specific to their offering as it wasn’t replicated in another, separate A/B test13 .

http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 8 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

Complete redesign of product page increased sales by 20%14


A software product company redesigned their product page to give it a modern look and
added trust building elements (such as seals, guarentees, etc.). End result: they managed to
increase total sales by 20%. This case study demonstrates the effect of design on sales.

Marketing Experiments response capture case study – triple digit increase in conversions15
Through a series of A/B tests they optimized the mailing list opt-in rate by 258%. Focus was
to remove all distractions and require the visitor to only provide email address. For
completing his/her complete profile, the landing page motivated the visitors with an Amazon
gift card (which was again split tested).

http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 9 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

Tools For A/B Testing


A number of tools are available for A/B testing, with different focuses, price points and
feature sets. Here are some:

Google Website Optimizer16


A free A/B testing tool from the search giant. A great option to get started, but lacks
advanced features.
A/Bingo17 and Vanity18
Server-side frameworks for Ruby on Rails developers. Requires programming and
integration in code.
Visual Website Optimizer19
An easy-to-use A/B testing tool, with advanced features such as WYSIWYG editor,
click maps, visitor segmentation and tag-less integration. (Disclaimer: my start-up.)
Unbounce20 and Performable21
Landing-page creators with integrated A/B testing.
Vertster22, SiteSpect23 , Webtrends Optimize24 and Omniture’s Test&Target25
Enterprise testing tools.

http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 10 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

Resources For Deep-Diving Into A/B Testing


If you’ve read this far, then A/B testing has presumably piqued your interest. Here, then, are
some cherry-picked resources on A/B testing from across the Web.

G ET I D EAS FO R Y O U R N EX T A/ B TES T

Which Test Won?26


A game in which you guess which variation won in a test.
101 A/B Testing Tips27
A comprehensive resource of tips, tricks and ideas.
ABtests.com28
A place to share and read A/B test results.
A/B Ideafox29
A search engine for A/B and multivariate case studies.

I N TR O D UCTO R Y PR ES EN TATI O N S AN D AR TI CLES

Effective A/B Testing30


By Ben Tilly.
Practical Guide to Controlled Experiments on the Web31 (PDF)
From Microsoft Research.
Introduction to A/B Testing32
From the 20bits blog

TH E MATH EMATI CS O F A/ B TES TI N G


Statistics for A/B Testing33
From the 20bits blog.
How Not to Do A/B Testing34

http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 11 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

What You Should Know About the Mathematics of A/B Testing35


From my own blog.
Easy Statistics for AdWords A/B Testing, and Hamsters36
Statistical Significance and Other A/B Test Pitfalls37

(al)

FOOTN OTES :

1
Google Website Optimizer - http://www.google.com/websiteoptimizer

2
Visual Website Optimizer - http://visualwebsiteoptimizer.com/
3
online calculator - http://visualwebsiteoptimizer.com/ab-split-significance-calculator/

4
this one - http://visualwebsiteoptimizer.com/ab-split-test-duration/
5
Writing Decisions: Headline Tests on the Highrise Sign-Up Page -
http://37signals.com/svn/posts/1525-writing-decisions-headline-tests-on-the-highrise-signup-page
6
“You Should Follow Me on Twitter Here” -
http://dustincurtis.com/you_should_follow_me_on_twitter.html
7
Human Photos Double Conversion Rates - http://carsonified.com/blog/design/human-photos-
double-your-conversion-rate/
8
Google Website Optimizer Case Study: Daily Burn, 20%+ Improvement -
http://www.fourhourworkweek.com/blog/2009/08/12/google-website-optimizer-case-study/
9
Two Magical Words Increased Conversion Rate by 28% - http://visualwebsiteoptimizer.com/split-
testing-blog/ab-test-case-study-how-two-magical-words-increased-conversion-rate-by-28/
10
Changing the Sign-Up Button from Green to Red - http://dmix.ca/2010/05/how-we-increased-our-
conversion-rate-by-72/
11
Single page vs. multi-step checkout - http://www.getelastic.com/single-vs-two-page-checkout/

12
"Mad Libs" style form increases conversion 25-40% - http://www.lukew.com/ff/entry.asp?1007

13
http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 12 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

13
another, separate A/B test - http://www.kalzumeus.com/2010/02/27/lesson-from-madlibs-signup-
fad-do-your-own-tests/

14
Complete redesign of product page increased sales by 20% -
http://carsonified.com/blog/business/the-business-case-for-ab-testing/

15
Marketing Experiments response capture case study – triple digit increase in conversions -
http://www.marketingexperiments.com/blog/research-topics/response-capture-case-study.html

16
Google Website Optimizer - http://www.google.com/websiteoptimizer

17
A/Bingo - http://www.bingocardcreator.com/abingo/
18
Vanity - http://vanity.labnotes.org/

19
Visual Website Optimizer - http://visualwebsiteoptimizer.com

20
Unbounce - http://unbounce.com/

21
Performable - http://performable.com/

22
Vertster - http://vertster.com/
23
SiteSpect - http://sitespect.com/

24
Webtrends Optimize - http://www.webtrends.com/products/optimize.aspx

25
Omniture’s Test&Target - http://www.omniture.com/en/products/conversion/testandtarget

26
Which Test Won? - http://whichtestwon.com/

27
101 A/B Testing Tips - http://www.conversion-rate-experts.com/articles/101-google-website-
optimizer-tips/

28
ABtests.com - http://abtests.com/
29
A/B Ideafox - http://visualwebsiteoptimizer.com/ideafox.php

30
Effective A/B Testing - http://elem.com/~btilly/effective-ab-testing/

31
Practical Guide to Controlled Experiments on the Web - http://exp-
platform.com/Documents/GuideControlledExperiments.pdf

32
Introduction to A/B Testing - http://20bits.com/articles/an-introduction-to-ab-testing/
http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 13 of 14
The Ultimate Guide To A/B Testing | Smashing Magazine 4/17/13 7:40 AM

33
Statistics for A/B Testing - http://20bits.com/articles/statistical-analysis-and-ab-testing/

34
How Not to Do A/B Testing - http://www.evanmiller.org/how-not-to-run-an-ab-test.html
35
What You Should Know About the Mathematics of A/B Testing -
http://visualwebsiteoptimizer.com/split-testing-blog/what-you-really-need-to-know-about-
mathematics-of-ab-split-testing/

36
Easy Statistics for AdWords A/B Testing, and Hamsters - http://blog.asmartbear.com/easy-statistics-
for-adwords-ab-testing-and-hamsters.html

37
Statistical Significance and Other A/B Test Pitfalls - http://www.cennydd.co.uk/2009/statistical-
significance-other-ab-test-pitfalls/

38
Testing - http://www.smashingmagazine.com/tag/testing/
39
Workflow - http://www.smashingmagazine.com/tag/workflow-2/

Paras Chopra is founder of Visual Website Optimizer, a simple A/B


split and multivariate testing tool. Used by 5000+ companies
worldwide, it allows marketers and designers to create A/B tests and
make them live on website in less than 10 minutes.

With a commitment to quality content for the design community.


Made in Germany. 2006-2013. http://www.smashingmagazine.com

http://www.smashingmagazine.com/2010/06/24/the-ultimate-guide-to-a-b-testing/ Page 14 of 14

You might also like