All posts

Blog

A/B Testing Basics for Small Websites: How to Run Tests That Actually Mean Something

Illustrated cover for the SEO & Marketing guide "A/B Testing Basics for Small Websites: How to Run Tests That Actually Mean Something"

Should your button say "Get a Quote" or "See Pricing"? Should the signup form sit at the top of the page or the bottom? You can argue about it in meetings, or you can let your visitors decide. A/B testing (also called split testing) shows different versions of a page to different visitors at the same time and measures which one leads to more of the action you care about.

This guide covers the basics: how A/B tests work, what to test, how much traffic you really need, the mistakes that produce fake winners, and how to test without hurting your SEO.

How an A/B test works

  1. Pick one goal, such as form submissions, add-to-cart clicks or newsletter sign-ups.
  2. Create two versions of a page: the original (A, the "control") and a changed version (B, the "variant").
  3. Split traffic randomly so each visitor sees one version, and keeps seeing the same version on return visits.
  4. Run both versions at the same time until you have enough data.
  5. Compare conversion rates and use statistics to judge whether the difference is real or just chance.

Running both versions simultaneously matters. If you show version A in March and version B in April, any difference could come from seasonality, a holiday, a newsletter or a dozen other things. That is a before-and-after comparison, not an A/B test.

A/B vs multivariate vs split URL

  • A/B test: one change, two versions. Best for most small sites.
  • A/B/n test: several variants of the same element (A, B, C). Needs more traffic.
  • Multivariate test: several elements changed in combination. Needs a lot of traffic; usually not practical for small sites.
  • Split URL test: two entirely different pages at different URLs, useful for full redesigns.

The traffic question (be honest with yourself)

Here is the uncomfortable truth: A/B testing needs a decent amount of traffic and conversions to give trustworthy answers. A page with a handful of conversions per week can take a very long time to detect anything but a large difference.

Before you start, use a free sample size calculator (search for "A/B test sample size calculator"). You enter:

  • Your current conversion rate
  • The smallest improvement you care about detecting
  • Your desired confidence level (95% is the common choice)

It tells you how many visitors each version needs. If the answer would take many months, testing small tweaks on that page is not realistic. Instead:

  • Test bigger, bolder changes, which produce larger differences that are easier to detect.
  • Test on your highest-traffic pages first.
  • Test higher up the funnel, such as clicks to a pricing page rather than completed purchases, since those events happen more often.
  • Use qualitative research instead: heatmaps, session recordings, customer interviews and simple usability tests can reveal obvious problems without any statistics. Our guide to heatmaps and session recordings covers how.

What to test first

Start where the impact is likely to be largest:

  1. Headlines and value propositions. Does the page clearly say what you offer and for whom?
  2. Calls to action. Button text, color contrast, placement and the number of competing buttons.
  3. Forms. Number of fields, field labels, single-step vs multi-step.
  4. Pricing presentation. Monthly vs annual display, plan order, which plan is highlighted.
  5. Social proof. Real testimonials or reviews placed near the decision point.
  6. Page layout. Long-form vs short-form landing pages.

Write a hypothesis before every test

A good hypothesis has three parts: what you will change, what you expect to happen, and why.

"Because session recordings show many mobile visitors never scroll to the quote form, moving the form above the fold on mobile will increase quote requests."

Hypotheses keep you focused on problems rather than random ideas, and they make results useful even when the test "loses," because you learn something about your visitors.

Tools for running A/B tests

Google Optimize, once a popular free option, was shut down in 2023, so many small sites now use other tools. Options include dedicated testing platforms such as VWO, Optimizely, AB Tasty and Convert, open-source or self-hostable feature-flag and experimentation tools such as GrowthBook, built-in testing features in some email platforms, landing page builders and WordPress plugins, and ad platforms that test ad creatives. Features and pricing vary widely, so compare current plans against your traffic and needs.

For email, most marketing platforms let you A/B test subject lines natively, and this is often the easiest place for a small business to start, since a single send can provide plenty of data quickly.

Mistakes that produce false winners

  • Stopping the test as soon as it looks good. Results swing early on. Decide your sample size and duration in advance and stick to it. "Peeking" and stopping at the first significant result greatly increases false positives.
  • Running tests for less than a full week. Behavior differs between weekdays and weekends. Run for at least one full week, ideally two or more full weeks.
  • Changing too many things at once in an A/B test, then not knowing which change mattered.
  • Running overlapping tests on the same page and audience without accounting for it.
  • Ignoring segments. A change might help mobile and hurt desktop. Check major segments, but be careful not to go fishing for any segment that happens to "win."
  • Measuring the wrong goal. More clicks on a button is not a win if fewer people actually buy.
  • Letting a flicker give it away. Some client-side tools briefly show the original before switching to the variant. This "flicker" can bias results; follow your tool's guidance for preventing it.

A/B testing and SEO

Search engines are generally fine with A/B testing when you follow a few rules, which Google has documented:

  • Don't cloak. Don't show search engine crawlers a different page from what users see.
  • Use rel="canonical" on split URL test variants, pointing to the original page.
  • Use temporary (302) redirects, not permanent (301) redirects, when sending visitors to a variant URL.
  • End tests promptly. Once you have a result, roll out the winner and remove the test code.

After the test: what to do with the result

  • Clear winner: roll it out to everyone, document the result, and plan the next test.
  • No significant difference: that is a result too. Keep whichever version is simpler or cheaper to maintain, and test something bolder next.
  • Variant lost: document why you think it lost. Losing tests often teach you the most about your audience.

Keep a simple testing log with the date, page, hypothesis, variants, sample size, result and what you learned. Over time this becomes a valuable record of what works for your audience.

Wrapping up

A/B testing replaces opinions with evidence, but only when it is done carefully. Pick one clear goal, write a hypothesis, check the sample size you need, run both versions at the same time for full weeks, and don't stop early. If your traffic is too low for reliable tests, focus on qualitative research and bigger changes. Either way, you will make better decisions than guessing.