A/B Testing (Split testing)

In this article: About the A/B testing condition | How to set up A/B testing using If-so

What is the A/B testing condition

If-So’s A/B testing condition allows you to alternate up to four versions of content in order to determine which version is the most effective.

A/B testing sets up a random experiment, where different versions of content, set by you, will be displayed to the user. You can use If-So’s built-in analytics to track basic metrics (views and conversions), or to sync the dynamic content with Google Analytics if you are interested in a more complex analysis.

How to set up split testing with two versions using If-So?

To set A/B test with 2 alternatives, set version A for 50% of the sessions. Then, create another version and set it as “Control group (100% of the sessions). version B will be displayed for the remaining 50% sessions.

Make sure to tick the recurrence option in each of these versions to ensure that any given user will always see the same version.

How to set up split testing with three or four versions using If-So?

To set 3 alternatives, set version A for 33.3% of the sessions. Then, set version B as A/B testing for 50% of the (remaining 66.6%) sessions. Finally, set version C as A/B testing for 100% of the sessions.
Version A will be presented in a third of the sessions. Then, out of the remaining two thirds, version B will be presented half of the time, which is also a third of the sessions. Version C will be presented in all of the remaining sessions.

Make sure to tick the recurrence option in each of these versions to ensure that any given user will always see the same version.

Similarly, to set 4 alternatives, use the probabilities 25%, 33%, 50%, and 100%.

Which content can be tested using If-So’s A/B testing condition?

As with all of If-So’s dynamic triggers, any of the website’s content can be customized. That includes titles, texts, images, calls to actions, and buttons.

How to set up two variations A/B test using If-So. Step by step:

  1. On your WordPress dashboard, go to “If-So → Add New Trigger
  2. On version A section, click on “Select a condition” and select “A/B testing“.
  3. Select “50% of the sessions”. This option means that 50% of the time, version A will be displayed.
  4. In the version A content field set the content to be displayed as variant A
  5. Set a limit if you want to limit the number of times the version will be displayed
  6. In the default content field, set content to be displayed as variant B
  7. Press “Publish” and paste the shortcode generated by If-So on your website.

Syncing If-So with Google Analytics

In order to see how visitors engaged with your site after seeing each content version, you’ll need to create events on Google Analytics (or any other analytics service) that will collect data time every time a version is visible to the visitor. You can read more about how to track your dynamic versions here.

Ready to get started?
Try it on your website