This guided tour shows how to create an A/B test associated with a given strategy.

With an A/B test you can compare two product mixes associated with the same strategy against each other to determine which one performs better.
Note
Before starting this guided tour, fulfil these prerequisites:
  • Set the site to one that is connected to SAP Commerce Cloud.
  • Create at least two product mixes. For instructions on how to do that, see the Product Mix Builder documentation, or follow the steps in the dedicated SAP Companion guided tour called Create a Product Mix which is accessible from the Product Mixes UI.
  • Create a strategy and associate two different product mixes with it. For instructions on how to do that, see the Create a Strategy and Add a Product Mix to Your Strategy documentation sections, or follow the steps in the dedicated SAP Companion guided tour called Create a Strategy which is accessible from the Strategies UI.

To advance from one step to another, click on the highlighted UI elements or select Next in the bottom right corner of the pop-up, where applicable.

Click on the highlighted strategy to enter the strategy editing screen where you can create an A/B test.

The highlighted strategy fulfils the requirement of having at least two associated product mixes.

Note

If nothing is highlighted for you, it means that you either don't have any strategies listed in the table, or that none of the strategies fulfil the requirement of having at least two associated product mixes. If that's the case, exit this guided tour and create a strategy with two associated product mixes before restarting the guided tour.

To learn how to create a product mix and associate it with a given strategy, follow the steps in the Create a Product Mix and Create a Strategy guided tours, respectively. Alternatively, see the Product Mix Builder and Strategy Builder documentation.

Click the Create Test button to open the test builder.

Note

If the Create Test button is inactive for you, you are probably trying to add a test to a strategy that does not have product mixes associated with it.

If that's the case, exit this guided tour, add two product mixes to your strategy or select another strategy that already has two product mixes added, and then restart the guided tour.

Enter a meaningful name for your A/B test.

This parameter is mandatory.

Enter a meaningful description for your A/B test.

This parameter is optional.

Use the start date picker to define when the test should start working within your strategy.

This parameter is mandatory.
Note

The test should be scheduled to start at least ten minutes from now.

Use the end date picker to define when the test should stop working within your strategy.

This parameter is mandatory.
Note

The end date cannot exceed 31 days from the start date.

Select the target category or categories.

This parameter is optional.

Select the first of the two product mixes you want to test against each other.

Note

The test audience is comprised of the visitors who granted their consent. Visitors who didn't grant their consent get an experience based on the matching product mix.

Select the other one of the two two product mixes you want to test against each other.

Note

The test audience is comprised of the visitors who granted their consent. Visitors who didn't grant their consent get an experience based on the matching product mix.

Click the Save button to complete the process of creating an A/B test.

You have now successfully created an A/B test in your strategy.

Running A/B tests always take priority over product mixes associated with a given strategy. For more information see, A/B Test Priority.