Mixpanel Cohorts Source


Source Info
  • The Mixpanel Cohorts Source is an Event Cloud source. This means that it sends data as events, which are behaviors or occurrences tied to a user and a point in time. Data from these sources can be loaded into your Segment warehouses, and also sent to Segment streaming destinations. Learn more about cloud sources.

Partner Owned
  • This integration is partner owned. Please reach out to the partner's support for any issues.

This source is supported in US data processing regions.

The Mixpanel Cohorts source is only supported in workspaces configured to process data in the US region. Workspaces configured with data processing regions outside of the US cannot connect to this source. For more information, see Regional Segment.

Mixpanel Cohorts are groups of users defined by a set of criteria. The Mixpanel Cohorts Source allows you to export Cohorts of users from Mixpanel to Segment so that you can better target users across many downstream connections. You can sync Cohorts of users to your Segment-connected raw data warehouses and downstream destinations that accept Segment identify events.

This source is maintained by Mixpanel. For any issues with the source, contact the Mixpanel Support team.

Getting Started

  1. From your workspace’s Sources catalog page click Add Source.
  2. Search for Mixpanel Cohorts in the Sources Catalog and click Add Source.
  3. On the next screen, give the Source a nickname and configure any other settings.
  4. From the new Source’s Overview page, copy the Segment WriteKey
  5. To export users from Mixpanel to Segment, in Mixpanel first Connect Your segment workspace in integrations page add add the copied WriteKey in the API KEY field and give the connection a desired name in CONNECTOR NAME field. Add the connector name
  6. Once connected you can go to mixpanel cohorts page and export any cohort to the connection.Export cohorts
  7. Once configured, Cohorts sync to Segment based on the sync schedule in Mixpanel. For more information go to Mixpanel Segment Integration documentation.

The Cohort sync process

Mixpanel sets a property on the user’s profile in Segment indicating whether they are currently part of the cohort.

The following identify call to Segment when a user enters the cohort:

{
  "type": "identify",
  "traits": {
    "Mixpanel - <Cohort Name in Mixpanel>": true,
  },
  "userId": "user@email.com" // mixpanel uses the distinct_id property here
}

Mixpanel sends the following identify call when a user exits the cohort:

{
  "type": "identify",
  "traits": {
    "Mixpanel - <Cohort Name in Mixpanel>": false,
  },
  "userId": "user@email.com" // mixpanel uses the distinct_id property here
}

Sync Mixpanel Cohorts with Engage

To send your Cohorts data to Engage, connect a Mixpanel Cohorts source in the Unify settings.

To connect Mixpanel Cohorts:

  1. Navigate to Unify > Unify settings and select the Profile sources tab.
  2. Click Connect source to open the Connect sources window.
  3. Select Replay data to replay the last month of data into Engage.
  4. Locate Mixpanel Cohorts and click Connect source.

Mixpanel Cohorts data will begin to flow into Engage.

This page was last modified: 08 Mar 2024



Get started with Segment

Segment is the easiest way to integrate your websites & mobile apps data to over 300 analytics and growth tools.
or
Create free account