Experiments

Assign variants and measure impact against a metric.

An experiment ties variants to a metric with a stable per-device assignment. The SDK reads the variant like any other flag treatment.

DashboardApps → your app → Experiments → New experiment

Reading a variant

ts
const variant = ctrl.flag("checkout_experiment").treatment; // "control" | "v1" | "v2"

Recording exposure

Impressions are how the server knows a variant was actually shown. Report them via /flags/impressions.

Back to top