Skip to content
Flagsmith experiment rehearsals

Rehearse your A/B test before real users see it

Table Read sends AI personas through your real page in a real browser. Flagsmith records every exposure and conversion, so broken tracking and weak variants show up before launch.

AI personas on the page under testA ⇄ B
Published case study

We rehearsed our own landing page.

Would leading with the problem earn more clicks than describing the product? 160 synthetic sessions put both headlines through the same Flagsmith experiment.

Recorded Flagsmith results for experiment 1645
VariantExposuresClicksRate
control8444.8%
problem_first7656.6%
Collecting data. The demo fell short of its conversion floor. Rehearsal exposure counts match Flagsmith.
Open experiment #1645

Recorded demo

The rehearsal room

control0/2 clicked
  • Siddharth Mehta

    “Another LLM wrapper with zero performance benchmarks.”

  • Chloe Dupont

    “Yet another developer tool hiding its pricing behind vague code snippets.”

problem_first0/3 clicked
  • Mateo Fernandez

    “No self-hosting docs anywhere, so we can't use it.”

  • Yuki Tanaka

    “It's just more marketing fluff about AI testing, not a tool I can actually use.”

5/20 selected sessionsFull replay

From hypothesis to rehearsal

  1. Plan the experiment

    Draft variants, a testable hypothesis, and a sample-size estimate. Review the Flagsmith changes before applying them.

    Plan a test
  2. Cast the audience

    Try a saved audience or build a synthetic persona in Persona Studio. Rehearse against the built-in demo or a connected website.

    Open Persona Studio
  3. Read the evidence

    Compare SDK events with Flagsmith results, replay sessions, and use the objections to decide what to test next.

    Browse rehearsals

Run it from your workflow.

Connect a website, check previews in CI, or let a coding agent do the rehearsal while you review the experiment.

Bring the page you already have

Use a separate Flagsmith key for rehearsals. The same SDK reads a variant and records the conversion on both paths.

const id = new URLSearchParams(location.search).get("tr_id");
await flagsmith.init({
  environmentID: id ? REHEARSAL_KEY : PRODUCTION_KEY,
  identity: id ?? visitorId(),
  enableEvents: true,
});
const flag = flagsmith.getExperimentFlag("hero_pitch");
button.onclick = () => flagsmith.trackEvent("cta_clicked");

Questions before rehearsal?

Open console
What can I learn from a rehearsal?

A rehearsal can catch instrumentation failures, surface objections to a variant, and give you ideas for a follow-up test. Use real traffic to make the rollout decision.

Where do the experiment numbers come from?

The page’s Flagsmith SDK assigns a variant and sends the exposure and conversion events. Table Read captures the SDK requests during rehearsals and cross-checks them with Flagsmith’s warehouse.

Can I test a site I already maintain?

Yes. Connect it in the Websites page, add the SDK snippet, and run preflight. Use the Rehearsal key on the preview you want to test and the Production key for real visitors.