> For the full index of Sherpa pages for agents, see https://www.withsherpa.ai/llms.txt

URL: https://www.withsherpa.ai/academy/launch-an-ab-test
Title: Run an A/B test | Sherpa Academy
Description: A test shows multiple versions of the same page to visitors to measure which one converts best. It can be two versions or more.

# Run an A/B test

A test shows multiple versions of the same page to visitors to measure which one converts best. It can be two versions or more. Instead of asking to publish a change, ask to launch it as a test. Sherpa splits the traffic at the edge, so the page never flickers.

## How to do it

1. Ask for the change you want to try.

2. Say launch it as a test.

3. Open the preview. A test preview has a lab icon in the Sherpa toolbar. Click it to switch between versions. Your team can comment on each one.

4. Open the review and choose how much traffic each version gets, like 80 and 20.

5. Choose **Launch on publish** and press **Publish** to start it.

6. Open **Experiments** in Sherpa and pick a funnel on the test. The funnel is the goal the test is measured on.

7. To create a new funnel, ask Claude. Tell it what you want to measure and it makes the funnel, so each experiment can have its own north star.

8. Let it run. Sherpa shows each version at every step of the funnel and marks the winner.

9. Say ship the winner, then press **Publish**.

Connect your Google Analytics to reach metrics further down the funnel in your app, like signups and completed onboarding. They can be used as funnel steps too.
