A/B testing: what it is, how to do it right — and how it works in Greyor
Should the button say "Book a visit" or "Check free dates"? Does the photo of your team sell better than the photo of your product? Most website owners answer these questions by taste, or by asking friends. An A/B test answers them with your real visitors.
What an A/B test is
You keep your current page (version A) and make a second one with one change (version B). Each visitor sees one of them. After enough visits you compare how often each version led to the result you care about: a sent form, a booking, a purchase.
The version that reaches the goal more often wins. You keep it, and the next test starts from there.
Choose the goal first
A test without a goal is just two pages. Before you change anything, decide what counts as success:
- a sent form (an enquiry, a sign-up),
- reaching a page (e.g. the thank-you page after a booking or a purchase),
- a click that matters (e.g. opening a pop-up with an offer).
Pick one goal per test. "More time on the page" or "more scrolling" are not goals; they do not pay the bills.
What to test first
Test the things a visitor sees in the first seconds and the things that ask for a decision:
- The headline. Does it name the result the customer wants?
- The main button: its words, and sometimes its place.
- The first photo under the headline.
- The form: fewer fields usually help; test it.
- The order of sections, e.g. reviews before the price or after it.
- The offer itself: a free consultation versus a discount, a guarantee shown or not.
Do not start with colours of small elements or font sizes. On a small website the differences are too small to see in your numbers.
How long to wait
The most common mistake is stopping too early. After 30 visits one version may look twice as good purely by chance.
- Wait for enough visits and goals. As a rough guide, dozens of goals per version, not a handful.
- Run at least one or two full weeks, so that weekdays and the weekend are both included.
- Do not change anything else during the test, neither on the page nor in your ads, or you will not know what caused the difference.
If your website has few visitors, test bigger changes (a different headline and offer) rather than small ones. Small changes need a lot of traffic to show a difference.
Common mistakes
- Many changes at once. If B has a new headline, photo and button, you will not know which one worked. (Sometimes that is fine: test two completely different approaches, then refine the winner.)
- Ending the test when the result looks good. Decide in advance how long it runs.
- No goal, or the wrong goal.
- Showing different versions at different addresses without a reason, which can confuse visitors and search engines.
- Tracking people more than you need. You do not need to follow a visitor around the internet to compare two pages.
How it works in Greyor
Every Greyor website has Statystyki (statistics) with an A/B test section. Visitors are counted without cookies, so the test needs no consent banner.
- Choose the page you want to test.
- Choose version B. Greyor can make a copy of the page that you then edit, or you choose another existing page.
- Choose how to split visitors: 50/50, or 70/30, 80/20, 90/10 if you want to risk less traffic on the new version.
- Choose the goal: a sent form, reaching a chosen page, or a pop-up shown.
- Start the test. Each visitor sees one version at the same address, and usually sees the same version again on later visits (without cookies, Greyor cannot guarantee it after a change of network or browser).
- Read the result. For each version you see visits, goals and the conversion rate, and Greyor says plainly whether there is a winner, no difference, or not enough data yet (each version needs at least 100 views and 10 goals).
- End the test and keep version A or version B. If you keep B, its content goes into the page and goes live with your next "Publish", like any other change.
You can also see where people drop out on the way to the goal in the funnel view, and where they click and how far they scroll on the heatmap of each version. Read more in Sales funnel: what it is and how to build it.
Checklist
- One goal per test.
- One clear change, or two completely different approaches.
- Enough visits and goals before you decide.
- At least one or two full weeks.
- Nothing else changed during the test.
- Keep the winner, then test the next thing.