Skip to content

Commit ac099bc

Browse files
authored
Merge pull request #5644 from segmentio/joeynmq-patch-6
Add note about sending Track events with a custom Group Key to Mixpanel
2 parents 2b548b7 + 2330c50 commit ac099bc

File tree

1 file changed

+5
-0
lines changed
  • src/connections/destinations/catalog/actions-mixpanel

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,8 @@ If you want to confirm, you can configure the new destination to point to a diff
133133

134134
If the Mixpanel (Actions) destination uses $group_id as the group key, ensure that the mappings handling your `track` events have the field for **Group ID** mapped to a valid value. By default, this field maps to the event variable `context.groupId`.
135135

136+
To send Track events with a custom Group Key, include the key as a property of Track events. For example:
137+
```js
138+
analytics.track('Example Event', { custom_group_key : 'group1' });
139+
```
140+

0 commit comments

Comments
 (0)