Skip to main content

Overview

Statsig supports both incoming and outgoing events for Amplitude. As well as adding Amplitude Cohorts to Statsig ID Lists.

Incoming - Receiving Events From Amplitude

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. Go to Amplitude and navigate to the Data Destinations page. Click the “Add Destination” button in the top right.
    Amplitude Data Destinations page showing Add Destination button
  3. From 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 wish to send to Statsig. Ensure that the Status is set to “Enabled” and then click “Save”.
    Statsig destination settings entering server secret key and event selection
  6. Enable the integration - On the Integrations page for your Statsig project, enable the Amplitude Incoming integration.
    Statsig integration panel confirming Amplitude connection

Outgoing - Sending Statsig Events to Amplitude

  1. Navigate to Amplitude and click on the Settings button in the bottom-left corner.
    Amplitude settings menu accessed from bottom-left
  2. Click on the Projects tab and choose the Project you wish to send data to.
    Amplitude Projects tab listing available workspaces
  3. Copy the API Key and paste it in the Statsig integration panel.
    Amplitude project API key display
    Statsig integration panel fields for Amplitude API key
  4. Hit Enable on the integration panel and any data logged to Statsig will show up in your Amplitude Project account.
    Amplitude event stream showing Statsig exposure events

First Exposures

First exposures are an enterprise-tier feature that simplifies your project insights.
This is available for Enterprise contracts. Please reach out to our support team, your sales contact, or via our slack channel if you want this enabled.

What is it?

Our Amplitude Integration offers the flexibility to forward first exposures instead of every exposure, reducing the overall number of events being forwarded. First exposures are calculated daily and forwarded to integrations at around 7pm UTC.

How to enable

First ensure that the “first exposure” feature has been enabled for your company by reaching out to support team, your sales contact, or via our slack channel. Once this is done you will be able to go into the event filtering tab of the integration and enabled “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

For a comprehensive view, you can obtain the raw first exposure data in CSV format. Simply make a request to the console/v1/reports endpoint to receive a download link.

Cohort Sync - Syncing Amplitude Cohorts to Statsig Segments

For up to date configuration information on syncing Cohorts (aka Segments) from Amplitude to Statsig, please take a look at Amplitude’s documentation here.

Filtering Events

You can customize which events should be sent and received via Amplitude using Event Filtering