> For the complete documentation index, see [llms.txt](https://docs.limio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.limio.com/product/journey/what-are-limio-journeys/create-a-journey-based-on-a-ab-test.md).

# Journey Based on A/B Test

## **Overview**

Configuring a journey to perform **A/B testing** allows you to direct users to different pages and measure the effectiveness of each experience. This approach helps optimize conversions, engagement, and customer satisfaction. For example, you might want to:

* Test **two different landing pages** to see which drives higher conversions.
* Experiment with **different messaging or layouts** to determine user preference.
* Split traffic between **two checkout flows** to measure drop-off rates.

The **Split** function in Limio Journeys enables you to create multiple destinations for the same conditions. You can define the percentage of traffic allocated to each destination, ensuring that users are distributed as needed. By leveraging **A/B testing in Limio Journeys**, businesses can optimize customer experiences and improve key performance metrics

## **Before you start**

Before setting up an A/B test, ensure that both pages exist and are ready for users.

## **Adding A/B test Criteria**

1. Define your **Condition** criteria.
2. Under **Action**, ensure **Type** is set to **Destination**.
3. Click **Add action** if the rule has none, then **Add Split**. Click the pencil ✏️ on the split's tag and choose the destination page.
4. Change the **Split (%)** to your desired split e.g **50%**
5. Click **Add Split** and follow repeat steps 3 & 4

**Verification Steps**:

1. Open an incognito window, visit the journey URL, and confirm the variant assignment.
2. Repeat multiple times to verify randomization.
   * Expected behaviour (using below example) is to randomly be redirected to journeytest or journeytestalt

## **Example:**

If a user is part of an **A/B test campaign**, they will be **randomly routed** to either the **journeytest** page or the **journeytestalt** page. This ensures that different experiences can be tested with equal traffic distribution.

In this setup, **50% of users** will be directed to the **journeytest** page, while the other **50%** will be sent to the **journeytestalt** page. This allows businesses to compare engagement, conversion rates, and overall effectiveness of each variation.

By analyzing user interactions on both pages, teams can determine which version performs better and optimize future campaigns accordingly.

<figure><img src="https://3320508512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAw9J8ugfVIqzNtzPQiWO%2Fuploads%2Fgit-blob-6641803162faabac5a79be2d2a3e8e8884df61ef%2Fimage%20(147).png?alt=media" alt=""><figcaption></figcaption></figure>

📷 *Screenshot: View of the example above in action*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.limio.com/product/journey/what-are-limio-journeys/create-a-journey-based-on-a-ab-test.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
