Amplitude (event streaming)

Connect Amplitude with Statsig using API keys to import events for experiment analysis and export Statsig data into Amplitude.

Legacy

This is a legacy feature. It is still supported but no longer actively developed; a newer replacement is recommended for new projects.

The Amplitude event-streaming connector moves events between Amplitude and Statsig using API keys. It works for any Amplitude project in either data center, and doesn't require a link between your Statsig and Amplitude organizations.

Newer Amplitude integrations cover most of what this connector does, and Statsig recommends them for new setups:

Use event streaming when you need raw Amplitude events delivered into Statsig Cloud, or when the Amplitude project isn't part of your linked Amplitude organization.

Two differences matter if you move an existing setup to Amplitude Native: Amplitude doesn't count natively forwarded events toward your event volume, and the native path doesn't promote Statsig stableID values into the Amplitude user_id field.

Don't run both outgoing integrations

Amplitude Native and this connector can both forward exposures. Enabling both for the same Amplitude project duplicates those events.

Incoming: receiving events from Amplitude

This integration supports ingestion for Statsig Cloud only. For Warehouse Native, create a metrics source that references this data in your warehouse.

The following steps outline how to forward events from Amplitude into Statsig.

  1. Get a Statsig Server Secret Key from the API keys page in Project Settings.

  2. In Amplitude, go to the Data Destinations page. Click Add Destination in the top right.

    Amplitude Data Destinations page showing Add Destination button

  3. In the Destinations Catalog, search for and select the Statsig Event Streaming destination.

    Destinations catalog highlighting Statsig event streaming option

  4. Give this destination a name and click Create Sync.

    Create Sync form for Statsig destination

  5. Enter the Server Secret Key you copied in step 1 into the provided field. Select the events you want to send to Statsig. Set Status to Enabled, then click Save.

    Statsig destination settings entering server secret key and event selection

  6. On the Integrations page for your Statsig project, turn on the Amplitude Incoming integration.

    Statsig integration panel confirming Amplitude connection

Outgoing: sending Statsig events to Amplitude

  1. In Amplitude, click Settings in the bottom-left corner.

    Amplitude settings menu accessed from bottom-left

  2. Click the Projects tab and choose the project you want to send data to.

    Amplitude Projects tab listing available workspaces

  3. Copy the API key and paste it into the Statsig integration panel.

    Amplitude project API key display

    Statsig integration panel fields for Amplitude API key

  4. Click Enable on the integration panel. Any data logged to Statsig appears in your Amplitude project.

    Amplitude event stream showing Statsig exposure events

First exposures

First exposures are an enterprise-tier feature that simplifies your project insights.

This feature requires an Enterprise contract. Reach out to the support team, your sales contact, or through the Slack community to enable it.

How first exposures work

The Amplitude integration can forward first exposures instead of every exposure, reducing the total number of events forwarded. Statsig calculates first exposures daily and forwards them to integrations at approximately 7pm UTC.

How to enable

First, confirm that Statsig has enabled the "first exposure" feature for your account by reaching out to the support team, your sales contact, or through the Slack community. After that, go to the event filtering tab of the integration and turn on the First Exposure setting.

Example events in Amplitude

Example of a get_experiment First Exposure in Amplitude.

Example first exposure event in Amplitude log

Accessing raw data

To access raw first exposure data in CSV format, make a request to the console/v1/reports endpoint to receive a download link.

Filtering events

You can customize which events Statsig sends and receives through Amplitude using Event Filtering.

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