Skip to content

Commit 97f7c36

Browse files
authored
Merge pull request #593 from segmentio/repo-sync
repo sync
2 parents eae66ca + de0cc9f commit 97f7c36

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/connections/destinations/catalog/actions-mixpanel/index.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ Mixpanel (Actions) provides the following benefits over the classic Mixpanel des
3636

3737
The Mixpanel (Actions) destination does not offer a device-mode connection mode. If you're using one of Segment's new libraries ([Analytics.js 2.0](/docs/connections/sources/catalog/libraries/website/javascript/), [Swift](https://github.com/segmentio/analytics-swift) or [Kotlin](https://github.com/segmentio/analytics-kotlin)) with the Actions-framework version of the destination, you do not need the device-mode connection.
3838

39-
Once you have a mapping, you can follow the steps in the Destinations Actions documentation on [Customizing mappings](/docs/connections/destinations/actions/#customizing-mappings).
39+
### Mappings
40+
You can follow the steps in the Destinations Actions documentation on [Customizing mappings](/docs/connections/destinations/actions/#customizing-mappings).
4041

42+
> success ""
43+
> Make sure you map the `traits.email` property to Mixpanel's `$email`, otherwise email will be undefined.
4144
4245

4346

@@ -51,15 +54,15 @@ In the default configuration, Mixpanel (Actions) triggers this action when it re
5154
5255
This action sets or updates the properties of specific groups. Use this when you want to update properties on a [group profile](https://help.mixpanel.com/hc/en-us/articles/360025333632-Group-Analytics#group-profiles){:target='_blank'}.
5356

54-
The Groups model in Segment is slightly different than in Mixpanel. To explain the conceptual difference, it may help to think in terms of database tables. In Segment, there is a single "groups" table. You can have as many group rows as you want and each row has a unique identifier. When you want to set traits on that group, you only need to know the group id.
57+
The Groups model in Segment is slightly different than in Mixpanel. To explain the conceptual difference, it may help to think in terms of database tables. In Segment, there is a single "groups" table. You can have as many group rows as you want and each row has a unique identifier. When you want to set traits on that group, you only need to know the group id.
5558

5659
However, in Segment you cannot distinguish between "types" of groups. For example, a user can belong to a "Company" as well as a "Team". There is no way to differentiate between those in Segment. In Mixpanel, you can have multiple group types which are defined by a `group key`. To update group traits in Mixpanel you need to specify the `group key` *and* `group id`.
5760

5861
### Default group key
59-
By default, the Mixpanel (Actions) destination uses `$group_id` as the group key. Create a new group in Mixpanel with `$group_id` as the group key to complete the configuration.
62+
By default, the Mixpanel (Actions) destination uses `$group_id` as the group key. Create a new group in Mixpanel with `$group_id` as the group key to complete the configuration.
6063

6164
1. Go to your [Mixpanel project](https://mixpanel.com/report){:target='_blank'} settings
62-
2. Scroll to the "Group Keys" section. If this section doesn't exist, you may not have the Group Analytics add-on.
65+
2. Scroll to the "Group Keys" section. If this section doesn't exist, you may not have the Group Analytics add-on.
6366
3. Create the new group key:
6467

6568
![Set Group Key](./images/set-group-key.gif)
@@ -103,7 +106,7 @@ The group id that Mixpanel will use is `12345`.
103106

104107
{% include content/ajs-upgrade.md %}
105108

106-
Assuming you're already using Segment Cloud-mode, the Mixpanel (Actions) destination is expected to have no breaking changes when upgrading. With the exception of a few new properties added to your events in the new Actions destination, there should be no difference in the data received in Mixpanel when using either of the Mixpanel destinations.
109+
Assuming you're already using Segment Cloud-mode, the Mixpanel (Actions) destination is expected to have no breaking changes when upgrading. With the exception of a few new properties added to your events in the new Actions destination, there should be no difference in the data received in Mixpanel when using either of the Mixpanel destinations.
107110

108111
If you want to confirm, you can configure the new destination to point to a different Mixpanel project and connect it to the same source(s) as the Classic destination and manually verify before fully switching over.
109112

-256 KB
Loading

0 commit comments

Comments
 (0)