Migrate from Amplitude Feature Experiment

Move feature flags and experiments from Amplitude Feature Experiment to Statsig in phases, while you keep Amplitude Analytics connected for measurement and exposure analysis.

Early Access

This feature is in Early Access. During this time, aspects of the functionality may still be developed, and this documentation may not always be up to date. If you have any questions, contact Statsig Support.

Migrate from Amplitude Feature Experiment to Statsig by linking the two products, running the Statsig SDK beside the Amplitude Experiment SDK, and moving experiments over in phases. Amplitude stays connected throughout, so your experiment metrics can keep using Amplitude events and Statsig exposures can flow back into Amplitude for analysis.

Use this guide when you want Statsig to evaluate your flags and run your experiments. If you want to keep running experiments in Amplitude and only share data between the two products, use the Amplitude integrations instead.

This guide covers Amplitude Feature Experiment. If you also use Amplitude Web Experiment, confirm its transition plan with your account team.

Availability

The Amplitude integrations this guide relies on aren't enabled for every account yet. Contact your Statsig or Amplitude account team to plan your migration and request access.

Choose a Cloud or Warehouse Native project

Decide with your account team which kind of Statsig project to migrate into. The choice decides how Statsig reads your measurement data.

For a broader comparison, refer to Warehouse Native vs. Cloud.

Prerequisites

  • An engineer who can change your application code and install SDKs.
  • A data owner who can define metrics and validate results.
  • An administrator for both Statsig and Amplitude. Linking the two organizations requires one person who is an organization admin in Statsig and an administrator in Amplitude, with the same email address in both.
  • A Statsig project. Your account team creates the project for you. Confirm that you can sign in to it before you start.

Connect Statsig to Amplitude

  1. Link your Statsig organization to your Amplitude organization, then link Statsig environments to Amplitude projects. Refer to Link your Statsig and Amplitude organizations.
  2. Optionally, configure the Amplitude Experiment integration to list your existing Amplitude experiments inside Statsig. This integration uses an Amplitude Management API key and works without the organization link.

Install the Statsig SDK

Install the Statsig SDK for each platform you run experiments on. Refer to Getting started with SDKs.

Keep the Amplitude Experiment SDK installed beside the Statsig SDK. Remove the Amplitude Experiment SDK only after it no longer serves any flags or experiments.

Connect measurement data

Follow the steps for the project type you chose.

Statsig Cloud

  1. In Statsig, go to Data > Metric Sources.
  2. Click Create and select your Amplitude project.
  3. Create the metrics you need, including their aggregations and filters.

For the full procedure and the supported aggregations, refer to Amplitude events as a metric source.

Warehouse Native

  1. In Amplitude, configure an event export to your warehouse. Export every event, or filter the export to the events you need.
  2. Connect Statsig to the warehouse, with the permissions Statsig requires.
  3. Create a metric source over the exported table, then build your metrics in the metric catalog.

Metric freshness depends on when the export delivers data to the warehouse and when Statsig queries the warehouse. For details, refer to Warehouse Native projects.

Validate with an A/A test

Before you move any production experiment, run an A/A test in Statsig. Both groups get the same experience, so any significant difference points to a setup problem.

Check the following:

  • Users get the same identifiers in Statsig and Amplitude.
  • Assignment splits match the allocation you configured.
  • Statsig logs an exposure for each user who sees the experiment.
  • Metric data arrives and covers the analysis window you expect.

Investigate any unexpected difference before you continue.

Move experiments and flags in phases

  1. Start new experiments in Statsig after the A/A test passes.
  2. For each active Amplitude experiment, decide whether it finishes in Amplitude or moves to Statsig in a coordinated transition. Decide before you change any production assignment.
  3. Recreate each flag you move in Statsig, then validate its targeting rules, variants, and fallback behavior before you switch your application to evaluate it in Statsig.
  4. Give more teams access to Statsig, and train them, as each phase completes.

During the transition, decide which product controls each experiment and each flag. One owner per experiment or flag keeps production behavior predictable.

Send Statsig exposures to Amplitude

To keep analyzing experiments in Amplitude, turn on Amplitude Native and select the exposure types, custom events, and environments to forward. Statsig exposures then appear in your linked Amplitude project as statsig:: events.

What happens to your existing work

  • Experiments and flags: Your existing experiments, flags, targeting, metrics, and historical results stay in Amplitude. To edit an Amplitude experiment, open it in Amplitude.
  • Past results: Statsig doesn't recompute experiments that ran in Amplitude.
  • New results: Results can differ between the two products, because the statistical engines and data sources differ. Validate data quality and metric definitions instead of expecting identical numbers.

Plan your migration with your account team

To start, send your Amplitude account team the following:

  • Your project type: Cloud or Warehouse Native.
  • Your technical owners.
  • Your active experiments and flags.
  • The first experiment you want to run in Statsig.
  • Your target start date.

Was this helpful?

For AI agents: a documentation index is available at /llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.

On this page