QUAKE MEDIA / THE PRACTICAL GUIDE
A beginner's guide to A/B testing your website
An A/B test randomly assigns eligible visitors to one of two versions of a page and measures the same outcome for both. Start with a testable problem and a hypothesis, define the primary metric and stopping rule before launch and treat a result such as 4.0% versus 4.5% as a sample difference, not proof.
Explore the guidePublished · Updated · 5 minute read
One question. A fair comparison.
A framework for the decisions in this guide.
Hypothesis / EXPLORE THE DETAILS
What an A/B test can and cannot answer
An A/B test compares two experiences by randomly assigning eligible visitors to one version or the other and measuring the same outcome. It can help answer a specific question—such as whether a clearer explanation produces more completed enquiries. It cannot rescue broken tracking or tell you why every visitor made a decision.
Assignment / EXPLORE THE DETAILS
First decide whether you have a testable problem
Start with evidence: recurring customer questions, usability observations, form abandonment or a mismatch between an advertisement and its landing page. Fix obvious defects directly. A broken submit button does not need an experiment to determine whether it should work.
Low-traffic sites may not generate enough outcomes to distinguish a useful effect from ordinary variation within a reasonable period. In that situation, customer interviews, usability sessions and a careful review of the journey can provide more useful direction. Do not promise a statistically decisive result just because a testing tool can display two versions.
If your site has modest traffic, our page on conversion rate optimization for Abbotsford businesses works through the sample-size arithmetic and the methods that need fewer visitors.
Measurement / EXPLORE THE DETAILS
Write a hypothesis that explains the change
A useful hypothesis links an observation, a change and an outcome: “Visitors ask what happens after submitting the enquiry form. Explaining the next step beside the button may increase completed qualified enquiries.” This is more informative than “make the button blue.”
| Observed problem | Possible test | Primary outcome |
|---|---|---|
| Visitors cannot tell what the service includes | Replace a vague introduction with a concise scope summary | Completed relevant enquiries |
| Customers worry about delivery | Make accurate delivery information easier to find | Completed purchases |
| The form asks for details customers do not have | Simplify nonessential fields | Valid submissions, with lead quality checked |
Hypothesis / EXPLORE THE DETAILS
Define the measurement before launch
Choose a primary metric tied to the business task. Decide which visitors are eligible, when a conversion counts and how repeat visits are handled. Include guardrails such as errors, cancellations or lead quality so an apparent improvement does not hide a worse experience.
Document the current baseline, the smallest effect worth acting on and the testing method's sample or stopping requirements. Those decisions depend on the conversion frequency and the analysis method; there is no universal rule that a test finishes after a particular number of days or conversions.
Assignment / EXPLORE THE DETAILS
Keep assignment and tracking consistent
Use an experiment system that assigns eligible visitors randomly and keeps the intended experience consistent across their journey. Confirm that both versions use the same conversion definition. Check the assignment count against the configured allocation: a large unexplained imbalance can indicate a technical problem.
Exclude internal checks according to a documented rule and test before the experiment starts. Confirm that the alternative layout works on phones, supports keyboard use and sends forms to the correct destination. Do not accidentally measure a different form event in each version.
Measurement / EXPLORE THE DETAILS
A worked example: difference is not yet proof
These numbers are illustrative. Suppose version A receives 1,000 eligible visitors and 40 complete the action; version B receives 1,000 and 45 complete it.
| Version | Visitors | Completed actions | Observed rate |
|---|---|---|---|
| A | 1,000 | 40 | 4.0% |
| B | 1,000 | 45 | 4.5% |
The observed difference is 0.5 percentage points, or 12.5% relative to A. Those calculations describe the sample; they do not establish that B will perform better in future. Review the uncertainty and the experiment's preselected decision rule before declaring a winner.
Keep the full result, including inconclusive outcomes. “We did not obtain enough evidence to choose” is a valid finding. It is different from proving the two experiences are identical.
Hypothesis / EXPLORE THE DETAILS
Avoid the mistakes that make a result hard to trust
- Stopping a fixed-horizon test as soon as the dashboard first shows a favourable result.
- Changing targeting, prices and page content mid-test without accounting for the changes.
- Selecting whichever metric or audience segment looks best after seeing the results.
- Calling extra clicks a win while completed purchases or enquiry quality decline.
- Comparing this month's version B with last month's version A as though visitors were randomly assigned.
- Applying one result to every page and audience without checking whether the context is comparable.
Assignment / EXPLORE THE DETAILS
Keep search engines and accessibility in the plan
Google advises against cloaking during tests. For experiments using separate URLs, its guidance discusses canonical references and temporary redirects, and recommends removing the test setup when the experiment is finished. Have the implementer follow the official website-testing guidance for the chosen setup.
Review both experiences for readable text, clear labels, focus order and usable controls. An alternative that makes the page harder to use for part of the audience needs investigation even if a top-line metric improves.
Measurement / EXPLORE THE DETAILS
Your first-test launch checklist
- State the question and record the evidence behind it.
- Choose the primary outcome and guardrails.
- Agree eligibility, assignment, analysis and stopping rules.
- Build and review both experiences.
- Verify conversion tracking and notifications.
- Record the launch date and check for technical failures.
- Interpret the result using the planned method.
- Document the decision, implement any accepted change and remove redundant test code.
Start with our landing-page lead check to identify questions worth investigating. If you need help designing or building the experience, talk to Quake Media about a focused website improvement project.
Hypothesis / EXPLORE THE DETAILS
Preparing reliable page variants for a test
Prepare reliable page variants and a working customer journey before evaluating a test. Explore our website development, or tell us about your project to discuss the next step.
FROM READING TO DOING
Bring us your goals and the questions this guide raised. We’ll help you work out what belongs in your plan.
Talk it through with Quake