A/B Testing on WordPress: A Beginner Guide to Better Conversions

A/B Testing on WordPress: A Beginner Guide to Better Conversions

Quick answer: A/B testing shows two versions of a page to different visitors at the same time and measures which one gets more enquiries, calls or sales. On WordPress, start with a page that already gets steady traffic, change one element such as the headline or call to action, split traffic with a tool like Nelio A/B Testing, VWO or Convert, run the test for at least two full weeks and until each version has enough conversions, then make the winner permanent.

Key takeaways

  • A/B testing replaces opinions with evidence from real visitors.
  • Google Optimize closed in September 2023, so you need a different tool.
  • Test the elements closest to the conversion first: calls to action, forms and headlines.
  • Low traffic sites need bigger, bolder changes and longer tests.
  • Stopping a test early is the most common way to pick the wrong winner.
A/B testing on WordPress for more conversions showing hypothesis, split traffic and a winning version
A/B testing replaces guesswork with real visitor data

What is A/B testing?

In an A/B test, version A is your current page and version B has one change. The testing tool randomly sends each visitor to one version and records whether they convert. After enough visitors, the results show whether the change genuinely helped or the difference was just chance.

Split URL testing is a variation where version B is a completely different page. Multivariate testing changes several elements at once, but needs far more traffic than most small business sites have.

Do you have enough traffic to A/B test?

As a rough guide, you want at least 100 conversions per version before trusting a result, and ideally more. If a page gets 2,000 visitors a month and converts at 2%, that is about 40 conversions a month in total, so a test could take months. In that case:

  • Test bigger changes, such as a whole new hero section, rather than a button colour.
  • Test on your highest traffic page or a paid landing page. See Google Ads on a small budget.
  • Use a micro conversion such as a button click as the main metric.
  • Use heatmaps and recordings to find problems you can simply fix without testing.

What to test first

Table of A/B test ideas for a business website: headline, call to action, form, hero image, social proof and pricing
Start with the elements closest to the conversion

Look at your analytics and heatmaps before choosing. Microsoft Clarity shows where people click, how far they scroll and where they rage click. GA4 shows which pages lose the most visitors. Focus on the pages with the most traffic and the biggest drop off.

  • Calls to action: wording, placement and how many you show.
  • Forms: fewer fields, or a multi step form. See multi step vs single forms.
  • Headlines: lead with the outcome the customer wants.
  • Above the fold: what people see first. See home page design above the fold.
  • Trust: reviews, guarantees and logos near the decision point.

How to run an A/B test

Five steps to run an A/B test: find the problem, write a hypothesis, build version B, split traffic and ship the winner
Every test starts with a clear hypothesis

1. Write a hypothesis

A good hypothesis has three parts: "If we change the button text from Submit to Get my free quote, form completions will increase, because visitors will know what happens next." It keeps the test focused and tells you what you learned even if it loses.

2. Set up tracking first

Make sure the conversion you care about is tracked in GA4 before you start. Form submissions, phone clicks and purchases should all be events. The GA4 ecommerce tracking guide and click to call tracking guide cover the setup.

3. Choose a tool

  • Nelio A/B Testing: a WordPress plugin that tests pages, posts, headlines, menus and themes from inside the dashboard.
  • VWO and Convert: visual editors and solid statistics, with a script added to your site.
  • Page builders: some landing page tools include built in split testing.
  • Google Ads experiments: useful for testing landing pages for paid traffic.

4. Run the test properly

Run the test for at least two full weeks so weekdays and weekends are both covered, and do not stop it the moment one version looks ahead. Avoid other big changes to the page or your ads while it runs. Check the test works on mobile, and make sure the tool does not slow the page or cause content to flicker.

5. Read the results and act

Most tools report a probability that version B beats A. Look for 95% or higher with a meaningful number of conversions. If B wins, make it permanent. If there is no clear winner, keep the original and test something bolder.

Comparison of redesigning a website by guessing versus running proper A/B tests with a hypothesis and enough data
Good tests are patient and focused

A/B testing mistakes to avoid

  • Testing tiny changes on low traffic pages.
  • Changing several things at once in an A/B test, so you cannot tell what worked.
  • Stopping early because one version is ahead after a few days.
  • Testing without conversion tracking set up.
  • Leaving the testing script running after the test, which slows the site. See how to speed up WordPress.

Need A/B testing set up?

My WordPress A/B Testing Setup reviews your analytics and heatmaps, writes the hypothesis, builds version B, sets up the tool and conversion tracking, and reports on the result for a fixed A$290. It is delivered online for businesses in Australia, New Zealand, the United States and Canada.

Related services: Microsoft Clarity heatmaps setup, GA4 and Google Tag Manager conversion tracking and landing page design and build. Related reading: how to create a landing page that converts.

Frequently asked questions

How long should an A/B test run?

Run it for at least two full weeks to cover weekday and weekend behaviour, and keep going until each version has enough conversions, ideally 100 or more, for a reliable result.

What replaced Google Optimize?

Google Optimize closed in September 2023. Popular alternatives include VWO, Convert, AB Tasty, Optimizely and, for WordPress, the Nelio A/B Testing plugin.

Can I A/B test with low website traffic?

Yes, but test bigger changes, use high traffic or paid landing pages, and measure micro conversions such as button clicks. Very small changes need far more traffic to show a clear result.

Does A/B testing hurt SEO?

Not if done properly. Google says testing is fine as long as you do not show search engines different content from users, use rel canonical on split URL variants and 302 redirects rather than 301s, and end tests when they finish.

What should I A/B test first?

Start with the elements closest to the conversion on your highest traffic page: the call to action, the form and the main headline.

Back to blog
Get in touch

Have a project in mind?

Tell me about your idea. I'll get back to you with honest advice and a clear quote.

  • Talk directly to the developer
  • Clear quotes before any work starts
  • Sydney CBD based
Contact us