Mojito Logo
Mojito
Getting Started

Setting Up Experiments

Create features, variants, and traffic rules to run experiments.

Once you have a project and property set up, you can start creating experiments.

Creating a Feature

Features represent individual experiments. To create one:

  1. Navigate to your property
  2. Click Create Feature
  3. Enter a feature name and key (the key is used in your SDK code)

Adding Variants

Each feature needs at least two variants — a control and one or more treatments:

  • Control (0) — The default experience
  • Treatment (1+) — The alternative experience(s) you're testing

Configuring Traffic Rules

Rules control how users are allocated to variants:

  1. On the feature page, create a new Rule
  2. Set the sample rate — the percentage of eligible traffic included in the experiment
  3. Set the traffic distribution — how traffic is split between variants

Publishing and Launching

After configuring your feature:

  1. Publish your configuration to make it available to the SDK
  2. Launch the rule to start allocating traffic

Lifecycle

Experiments follow a lifecycle: DraftStagingLiveStopped. You can stop a running experiment at any time and choose a winning variant.

On this page