mParticle
Overview
Enabling the mParticle integration for Statsig allows Statsig to receive events from mParticle.
You can find all events that Statsig receives from mParticle in the Metrics tab in the Statsig console. Statsig will automatically include these events in Pulse and Experiment results for your feature gates and experiments respectively.
Configuring Incoming Events
- From the API Keys tab in the Statsig console, copy the Statsig
Server Secret Key. - Use your Statsig
Server Secret Keyto configure a Statsig Event Integration via mParticle's integrations directory.
Mapping User IDs
In order to associate your mParticle events with your Statsig Feature Gates or Experiments, you must use mParticle's IDSync framework to ensure your mParticle events pass along the same user IDs used with the Statsig SDK.
Configuring Outbound Events
To export your Statsig events to mParticle:
-
Go to your mParticle account and choose
Setup>Inputson the left-hand column to start configuring your integration.
-
Click on the
Feedstab within the page that loads, click onAdd Feed Inputbutton, and then search forStatsigand click on the option.
-
Provide a name for your
Statsig Feedand clickSave.
-
Copy the
Server to Server KeyandServer to Server Secretfor the next step. -
Log into the Statsig console and navigate to the Integrations page.
-
Click on the
mParticlecard and switch to theOutboundtab. Paste theServer to Server KeyandServer to Server Secretin their respective boxes and Enable the integration.