Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Do A/B Split Testing in WordPress (Step by Step)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to run A/B split tests on your WordPress site to improve conversions?

Split testing helps you understand how small changes in content and design affect user behavior. You can create different versions of a landing page and see which one converts the best.

In this article, we will show you how to easily do A/B split testing in WordPress.

How to do A/B split testing in WordPress

What Is A/B Split Testing?

A/B split testing is a technique that allows you to compare two versions of the same web page against each other so that you can determine which one performs better and produces the best results.

Marketers often use A/B split testing for their landing pages to find out which one gets them more conversions and sales.

Split testing can be used to test any element on the page, including call-to-action buttons, color schemes, layout changes, marketing text, images, and more.

Basically, you show different variations of a page to your audience. After that, you track user engagement and conversions to find out which variation gives you the best results.

Split testing explained

How to Do A/B Split Testing in WordPress

Before we move forward, there are a few things you will need for this tutorial.

Previously, Google Optimize was a free tool that many people used for split testing. However, Google Optimize sunsetted on September 30, 2023. Google announced that it would be investing in A/B testing in Google Analytics 4, which is the latest version of the famous analytics platform.

This means that if you were using Google Optimize before, then you can no longer access your experiments, personalizations, and historical data. When you open your account, you will see a message at the top showing that the tool is now sunset.

Fortunately, there are some other simple ways of A/B testing in WordPress. These are great Google Optimize alternatives, as they are easier to use and help you conduct experiments in WordPress. Simply click the links below to jump ahead to your preferred method:

Method 1: A/B Testing in WordPress Using Thrive Optimize

Thrive Optimize is part of the Thrive Theme suite and lets you run experiments and split tests in WordPress.

Since Google Optimize is no longer available, Thrive Optimize is a great alternative to conduct A/B tests. It offers more features, and you don’t need to enter a code to run a split test. Plus, it will keep your experiment data safe.

Just keep in mind that you will only be able to use Thrive Optimize if you are also using the Thrive Architect page builder plugin.

First, you’ll need to visit the Thrive Themes website and sign up for an account.

Thrive Theme

After creating an account, you can download the Thrive Product Manager plugin from your account area.

Next, you’ll need to install and activate the Thrive Product Manager plugin. For more details, please see our guide on how to install a WordPress plugin.

From here, you can go to the Product Manager page from your WordPress dashboard and click the ‘Log into my account’ button.

Go to Thrive product manager

On the next screen, you’ll see different Thrive Theme products.

From here, you’ll need to install Thrive Optimize and Thrive Architect. Simply check the ‘Install Product’ options and click the ‘Install selected products’ button at the bottom.

Install thrive optimize and thrive architect

If the products don’t automatically activate, then you will need to head back to the Product Manager page from your WordPress dashboard and activate Thrive Architect and Thrive Optimize.

You should now see a success message once the plugin is installed.

View success message

Next, you’ll need to head to Thrive Dashboard » Thrive Optimize from your WordPress admin panel.

After that, you can add a new page by going to Pages » Add New from your WordPress admin panel. Once you are in the content editor, simply click the ‘Launch Thrive Architect’ button.

Edit with Thrive Architect

Next, Thrive Architect will ask you what type of page you would like to create.

You can create a normal page, a blank page with a header and footer, a completely blank page, or select a pre-built landing page. For this tutorial, we will select the ‘Pre-built Landing Page’ option.

Select the type of page you want to create

There are many pre-built landing page templates to choose from. Simply select one and edit your page.

For more details on how to edit your page with Thrive Architect, you can see our guide on how to design landing pages in WordPress.

Select landing page template

In the Thrive Architect page builder, you will see an A/B testing option in the right panel.

Go ahead and click the ‘A/B’ icon.

Click split testing icon

Next, you can create different variants for your page for split testing.

We recommend clicking the ‘Duplicate this variation’ button for your control page. This will create a clone of your main page so you won’t have to create the landing page all over again from scratch.

Create a duplicate variation

You will now see a duplicate variant of your landing page.

Go ahead and click the ‘Edit Variation’ button to make changes.

Edit your variation

Next, you can edit the landing page to split-test different elements.

For example, we will change the color of the call to action (CTA) button. Once you are done, just click the ‘Save Work’ button at the bottom.

Make changes to variation

Now, you can click the ‘A/B’ button from the panel on the left to go back to the A/B testing dashboard.

Next, Thrive Architect also lets you split traffic for each variation. Simply use the toggles at the bottom to allocate the amount of traffic to each page.

Once you are done, go ahead and click the ‘Set Up & Start A/B Test’ option.

Set up and start A/B test

A popup window will now open.

Go ahead and enter a name for your split test and a short description. You can also toggle on the ‘Enable Automatic Winner Settings’ option and set conditions to pick a clear winner, as well as the duration that Thrive Optimize will run the A/B test.

Starting your A/B test

After that, simply click the ‘Next’ button.

Now, you can select a goal for your test. There are 3 options, which include revenue, visit goal page, and subscription. After picking a goal, you can click the ‘Start A/B Test’ button.

Select a goal for the test

For this tutorial, we will select the ‘Subscription’ goal for our test.

Next, you’ll be redirected to the WordPress content editor. You can scroll down to the ‘Thrive Optimize – A/B Test Overview’ meta box and see the 2 variations.

You don’t have to do anything else. The plugin will now test both variations and show the winner.

View Thrive Optimize metabox

To view how the variations are performing, you can click the ‘View Test Details’ option in the meta box.

Here, you can see the conversions over time for each variant and also see which is the control variant. There is also an option to stop the test and choose a winner.

View split test results

Method 2: A/B Testing in WordPress Using Nelio AB Testing (Free)

If you are looking for a free solution for running A/B tests on your WordPress site, then you can use Nelio AB Testing.

While the free version isn’t as powerful as Thrive Optimize, you will get basic features to conduct experiments on your website. For example, you can test headlines, create two different versions of a page to test them, and more.

However, if you are looking for a visual builder and additional options like assigning weights to each variant in the experiment, then we recommend using the first method instead.

To start, you’ll need to install and activate the Nelio AB Testing plugin. If you need help, then please see our guide on how to install a WordPress plugin.

Upon activation, you can head to Nelio A/B Testing from your WordPress dashboard. From here, click the checkbox to accept the terms of service and privacy policy of the plugin, and then click the ‘Continue’ button.

Accept Nelio testing terms of service

After that, you’ll be taken to the Neilo A/B Testing » Tests page in the WordPress admin panel.

Go ahead and click the ‘Add Test’ button.

Add a new test

Next, you’ll see options to test on your website. For example, the plugin lets you split test pages, posts, headlines, widgets, menus, themes, JavaScript, CSS, and more.

For the sake of this tutorial, we will select the ‘Headline’ option and split-test some titles for a blog post.

Choose test type

After that, you can enter a title for your test at the top.

From here, you will see the Control Version and Variants section. First, you can click the dropdown menu and choose a post title. This will be the control version (labeled A).

Enter test title and select post

Next, you can scroll down and enter details of a variant (labeled B).

This will be the new headline you will be testing against the one that’s already live.

Enter variant details for testing

After that, you can scroll down to the Conversion Goals and Actions section. You will notice that the plugin will use the default goal for this experiment type. In this case, it will measure views for your page with a new headline.

However, you can define your own goals for other experiment types. For example, if you want to test a page, then you can select whether you’d like to measure page views, clicks, clicks on external links, YouTube video playback, or choose a custom event.

Select conversion goal and action

The plugin also lets you create segmentation and narrow your test audience. However, this feature is only available for premium users, and you’d need to subscribe to a paid plan.

After setting your conversion goals, you can click the ‘Start’ button at the top to start A/B testing.

Select goal and start the test

Nelio A/B Testing plugin will now conduct the experiment.

To stop the experiment, you can go to the Nelio A/B Testing » Tests page and then click the ‘Stop’ link under the test.

Stop your test

You can also click the ‘View Results’ option to see which variant is performing the best.

The plugin will help you select a winner and show conversions for each variant.

View test results

Bonus Tips for Running A/B Tests in WordPress

When it comes to doing split tests on your website, here are some tips for running your experiments the right way:

  • Decide on a Goal – You’ll need to first decide which feature you want to test and what the end goal is. A good place to start is by studying your audience and their needs. You can also get feedback from users to understand what they are looking for and then split test elements on your site to boost conversions.
  • Keep Your Experiments Simple – It’s generally a good idea to just create 2 versions of your landing pages, ads, text, and other elements. This makes it easier to compare which variant is performing the best.
  • Document Your Split Test Results – After you’ve successfully conducted an experiment, you should document the results. This way, you’ll have valuable data for future reference and easily see what worked on your site.

We hope this article helped you learn how to do A/B split testing in WordPress. You may also want to see our guide to WordPress conversion tracking made simple and how to create an email newsletter the right way.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

6 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Mrteesurez says

    I still need to learn more about this A/B testing of things, sometimes one need to know what works and what’s not. What convert and what does not convert.

    I am checking out Thrive Optimize.

  3. THANKGOD JONATHAN says

    I get it. Recently I have been hearing about A/B testing when I was searching for Email software and I was clueless what it mean but it is now clear to me. Help post once again. I will definately bookmark it.

  4. Sysamic says

    A/B Split testing is one of the fine methods to test the maximum outreach of the call to action button employed on an image, webpage or website.

    You explained very well.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.