Export Mixpanel cohorts to Taplytics to create custom segments that you can apply in your Taplytics experiments, feature flags, and more. Manage the Taplytics integration from the Mixpanel integrations page.
Taplytics also supports an integration to send experiment data to Mixpanel - for more details, see the Taplytics Mixpanel integration.
You must be a Mixpanel project admin to enable the Taplytics integration. Read more about project roles and permissions here.
Enable the Integration
To enable the integration, select Integrations under the Data Management tab in the top navigation bar (if your project uses Data Views, it is only accessible via the "All Project Data" Data View):
From the Integrations page, select the Taplytics dropdown, and select Connect
The connection uses one credential to authorize, "API Key". Supply an API token generated from your Taplytics settings page to establish the connection.
The Taplytics integration will show a "Connected" tag in the UI once the connection establishes.
Matching Users between Taplytics and Mixpanel
Mixpanel only exports identified user profiles to match to Taplytics - users without user profiles (i.e. anonymous users) will not export.
The integration requires that you use the same system of identifiers for both tools, meaning the value you pass to
mixpanel.identify("internal_user_id") will have the same value as you pass to Taplytics when specifying "userId" to your Taplytics API calls. Taplytics will attempt to match users from inbound cohorts based on their Mixpanel distinct_id.
Export a Cohort
You can export a cohort to Taplytics from the Cohorts report. Navigate to Cohorts by clicking Cohorts under Users in the navigation bar.
Select the cohort that you want to export. Click on the three-dot icon on the right side of the cohort.
Click Export to > Taplytics. Select either one-time sync or dynamic sync. Click Start Sync.
This integration supports two types of exports: one-time export and dynamic sync.
In a one-time export, Mixpanel sends Taplytics a static export of users who currently qualify for the cohort. The cohort data will not be updated in Taplytics after a one-time export.
In dynamic sync, Mixpanel initiates sync between a cohort and Taplytics every two hours. The exported cohort will be updated every day to reflect the most recent list of users in a cohort.
When you generate a one-time export or dynamic sync, it overwrites the previous export with an updated export that reflects users who qualify for the cohort at the time of export.
Select the Segment in Taplytics
Once the export completes, you will see a Segment reflecting the set of users from your Mixpanel cohort in Taplytics's Segment editor, as custom data (e.g. "Beta Users"):
Taplytics data into Mixpanel
Taplytics offers the ability to forward experiment data to Mixpanel. For more detail, please refer to the Taplytics integration guide.