1. Headless A/B/n tests

Create a headless A/B/n test

Important

Feature availability is part of a phased rollout. Your organization may not see this functionality yet. It will become available when your environment is included in the rollout.

Create a headless A/B/n test by adding a test variant to an existing headless personalization. When you add the first test variant, SitecoreAI converts the personalization to an A/B/n test. The existing personalization experience becomes the control variant. An A/B/n test can have up to 6 variants in total.

To create a headless A/B/n test:

  1. Create a headless personalization and and configure the API response for its single variant..

  2. In the API response section, click Create variant to add a second variant.

  3. In the Convert to A/B/n test dialog, click Configure variant.

    SitecoreAI converts the personalization to an A/B/n test. The existing personalization experience becomes the control variant, and a new test variant is created.

  4. Configure the API response for the new variant.

  5. If needed, add more variants. An A/B/n test must have at least 2 variants and can have up to 6 variants in total.

    Note

    Keep the returned object shape identical across variants and vary only the values your application should render differently.

Next steps

After you create the A/B/n test and configure its variants, you can:

If you have suggestions for improving this article, let us know!