A/B testing your optin wheels

A/B testing your optin popups

A/B testing is an experiment in which 2 variations (A and B) of the same object are tested. In other words: you can test two or more optin wheels and see which one performs better in terms of conversions.

How does it work?

Basically, if you’ve created multiple wheels that appear on the same page, the system will pick one wheel, at random, to show to the user. All wheels have the same chance of being shown to the user.

We recommend you use A/B testing to test these differences:

  • Different prizes
  • Different chances of winning
  • Different colors
  • Different text

With WP Optin Wheel version 3.2.7 or higher, you can easily A/B test your wheels by following the steps below:

1. Create two or more wheels

In order to A/B test, you need at least two wheels. The system will pick one wheel at random to display to the user. Make sure in the wheel settings, these wheels will appear on the same page(s). The display condition (exit-intent, immediately, on a delay, …) can of course be different.

Tip: don’t create your second wheel from scratch. Use the “duplicate” button on the “wheels” tab to create an exact copy of your first wheel!

2. Add a piece of code to your functions.php file

To activate A/B testing, add the following code into your (child) theme’s functions.php file:

function wof_do_ab_test($wheels) {
	// Bail early if needed.
		return $wheels;
	// If the current page has more than 1 active wheel, randomly pick one.
	if(count($wheels) > 1) {
		return array( $wheels[array_rand($wheels)] );
	return $wheels;

Are you done testing? Simply remove this piece of code and remove your wheels.

3. Interpret results

Run the A/B test for a few days or weeks, depending on how much traffic your site gets. You can find out which wheel performs best by looking at its statistics within the plugin settings page.

Needless to say, the highest opt-in rate wins!