Browse the docs
Overview
Start here
Websites
CMS
Forms and integrations
Analytics
Experiments
Proactive improvements
SEO and AI search
Team and account
Migrating
For agents and developers
Troubleshooting

DocsExperiments

Run an A/B test from a prompt

Test two or more versions of a page against each other and see which one wins.

A/B testing is part of Growth and Scale. Admins start, pause and end experiments.

Most teams do not test because testing is slow. Someone has to build the variant, wire up a tool, fight the flicker and wait for a developer. On Sherpa a test is one request. Your agent builds the versions, sets the goal and shows you all of them on a preview.

Versions are built ahead of time and served from the edge, so visitors never see a page jump, and a version can change anything on the page, not only a line of text.

What do you want to test?

Current50%
New50%
Current50%
New50%
Current50%
New50%
7 fields50%
3 fields50%

See it in action

Ask your agent this.

Test a shorter headline on my pricing page against the current one. Write two options in our voice, use the Demo requests funnel as the goal and show me every version on one preview.

It answers with something like this.

The test is set up with three versions and Demo requests as the goal.

  • Control. Simple pricing for teams of every size
  • Version B. One price. Every feature
  • Version C. Start free. Pay when it works

When you publish, you choose how to split traffic and whether to launch right away.

Test a shorter headline on my pricing page against the current one. Write two options in our voice, use the Demo requests funnel as the goal and show me every version on one preview.

  1. Started a changestart_change
  2. Read the pageread_file
  3. Made the editsedit_files
  4. Checked the experimentvalidate_experiments
  5. Built a previewpreview_change

The test is set up with three versions and Demo requests as the goal.

  • Control. Simple pricing for teams of every size
  • Version B. One price. Every feature
  • Version C. Start free. Pay when it works

When you publish, you choose how to split traffic and whether to launch right away.

Preview readyControl, Version B and Version COpen

What happens

  1. Your agent builds the new versions next to the current one and checks the experiment is set up correctly.
  2. It builds a preview where you can look at each version.
  3. You ask it to publish. The review shows the experiment and lets you choose the traffic split, and whether to launch on publish or later.
  4. You press Publish. Visitors start seeing the versions once the experiment is launched.
  5. You watch results on the Experiments page or ask your agent.

What to check

  • Each version looks right on desktop and on a phone.
  • The goal is the conversion you care about.
  • The experiment shows as Running on the Experiments page.

What you can test

  • A headline, a subheading or a button label
  • A whole section, such as the hero or the pricing table
  • The order of sections on a page
  • A long page against a short one
  • A completely different design for the same page

Because the website is code, a version can change anything on the page, not only text.

Good to know

No flicker

Every version is built ahead of time and served from the edge. Visitors never see the page change after it loads.

More than two versions

An experiment can have up to fifteen versions besides the current page. The current page is always Control.

Pick the goal first

A test needs one clear goal. Use a saved funnel so results are measured the same way every time.

Visitors keep their version

A returning visitor sees the version they saw before, so the experience is consistent and the results are clean.

Common questions

Will an A/B test make my page flicker?

No. Every version is built ahead of time and served from the edge, so visitors never see the page jump.

Does a person have to approve a test before it goes live?

Yes. Your agent builds the versions and a preview, and nothing reaches visitors until a person presses Publish on the review. You choose the traffic split there.

Who can start an A/B test?

Anyone on the team can ask their agent to build one. An admin starts, pauses and ends it. A/B testing is part of Growth and Scale.

Example prompts

Each one works as written in Claude or ChatGPT once Sherpa is connected. Swap in your own pages and dates.

The request from the example

Test a shorter headline on my pricing page against the current one. Write two options in our voice, use the Demo requests funnel as the goal and show me every version on one preview.

It names the page, the one thing being tested and the goal. A test with one change and one goal gives an answer you can trust.

The data-led test

Look at my analytics, find the page where the most visitors leave without clicking anything and propose one test for it.

Starting from the data means you test where it matters, not where it is easy.

The short form bet

Test our demo form with three fields against the current six. Use completed bookings as the goal.

Shorter forms usually convert better and qualify worse. Naming the goal decides which one you are measuring.

The headline tournament

Write five pricing page headlines in our voice and test them all against the current one.

More versions find a winner faster on a busy page. On a quiet page, test fewer.

The hero duel

Test the new homepage hero against the old one. Keep everything below it identical.

Changing one thing is what lets you say why the winner won.

For agents

Sherpa MCP tools for this job, in the order they are usually called. edit_files, validate_experiments, preview_change, submit_change, list_experiments. Work inside a change, and only call submit_change when the person asks to publish. A person presses Publish. Every tool is described in the MCP reference.

Next

See your own site on Sherpa.

  1. TodayPick a timePick a time
  2. Before the callWe copy your site over, freeWe copy it, free
  3. On the callYou take it for a spinTry it live
You'll talk to Ethan, Sherpa's founder.

Loading times…

Open the booking page in a new tab ↗