Skip to content

Commit 7ae058f

Browse files
authored
Merge pull request #6172 from segmentio/thomas/mixpanel-cohorts
Add slug override and cleanup folders
2 parents 2a794c9 + 5ff2e8d commit 7ae058f

File tree

5 files changed

+59
-65
lines changed

5 files changed

+59
-65
lines changed

src/_data/catalog/slugs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ sources:
1010
override: "shopify-fueled"
1111
- original: "alloy-flow"
1212
override: "alloyflow"
13+
- original: "mixpanel-cohorts"
14+
override: "mixpanel-cohorts-source"
1315
destinations:
1416
- original: "vwo-cloud-mode-actions"
1517
override: "actions-vwo-cloud"
Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,61 @@
11
---
22
title: Mixpanel Cohorts Source
3-
hidden: true
3+
id: RxxzG3Dyva
44
---
5-
65
{% include content/source-region-unsupported.md %}
6+
7+
[Mixpanel Cohorts](https://help.mixpanel.com/hc/en-us/articles/115005708186-Cohorts-Overview-){:target="_blank”} 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.
8+
9+
This source is maintained by Mixpanel. For any issues with the source, contact the [Mixpanel Support team](https://help.mixpanel.com/hc/en-us/requests/new){:target="_blank"}.
10+
11+
## Getting Started
12+
13+
1. From your workspace's [Sources catalog page](https://app.segment.com/goto-my-workspace/sources/catalog){:target="_blank"} click **Add Source**.
14+
2. Search for **Mixpanel Cohorts** in the Sources Catalog and click **Add Source**.
15+
3. On the next screen, give the Source a nickname and configure any other settings.
16+
4. From the new Source's Overview page, copy the Segment WriteKey
17+
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](images/connect.png)
18+
6. Once connected you can go to mixpanel cohorts page and export any cohort to the connection.![Export cohorts](images/export.png)
19+
7. Once configured, Cohorts sync to Segment based on the sync schedule in Mixpanel. For more information go to [Mixpanel Segment Integration documentation.](https://help.mixpanel.com/hc/en-us/articles/4408988683156-Segment-Integration){:target="_blank"}
20+
21+
22+
23+
## The Cohort sync process
24+
25+
Mixpanel sets a property on the user's profile in Segment indicating whether they are currently part of the cohort.
26+
27+
The following identify call to Segment when a user enters the cohort:
28+
```json
29+
{
30+
"type": "identify",
31+
"traits": {
32+
"Mixpanel - <Cohort Name in Mixpanel>": true,
33+
},
34+
"userId": "[email protected]" // mixpanel uses the distinct_id property here
35+
}
36+
```
37+
38+
39+
Mixpanel sends the following identify call when a user exits the cohort:
40+
```json
41+
{
42+
"type": "identify",
43+
"traits": {
44+
"Mixpanel - <Cohort Name in Mixpanel>": false,
45+
},
46+
"userId": "[email protected]" // mixpanel uses the distinct_id property here
47+
}
48+
```
49+
50+
### Sync Mixpanel Cohorts with Engage
51+
52+
To send your Cohorts data to Engage, connect a Mixpanel Cohorts source in the Unify settings.
53+
54+
To connect Mixpanel Cohorts:
55+
56+
1. Navigate to **Unify > Unify settings** and select the **Profile sources** tab.
57+
2. Click **Connect source** to open the Connect sources window.
58+
3. Select **Replay data** to replay the last month of data into Engage.
59+
4. Locate Mixpanel Cohorts and click **Connect source**.
60+
61+
Mixpanel Cohorts data will begin to flow into Engage.

src/connections/sources/catalog/cloud-apps/mixpanel-cohorts/index.md

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)