Mixpanel

Configuration details for Mixpanel

Overview

Via the Mixpanel destination, Hightouch can create and sync users and events.

Initial Setup

To find the setup keys, navigate to Settings -> Project Settings -> Overview -> Access Keys.

Syncing Mixpanel Objects

Sync Modes

This integration only supports the Upsert mode.

In this mode, new users and groups will be inserted into Mixpanel and all attributes will be kept up-to-date within Mixpanel.

This mode is good for the following scenarios:

  • You want to push objects into Mixpanel and want to keep the data up-to-date

Record Matching

Records can be matched from your source to your Mixpanel workspace by your Mixpanel User ID, email or Group ID.

Group Key (Groups Only)

If you are syncing group profiles, you need to set the group key of the type of group. You can find your group keys in Settings > Your Project.

To sync your organization profiles, enter the key org_id into the Mixpanel group key field.

Field Mapping

You can sync columns from your source to Mixpanel's default and custom fields.

Assigning Users to Groups (Users Only)

To assign users to groups, create an upsert sync to users. Then, create a column in your model which contains the group IDs that you want to assign the user to.

For example, to sync organizations, use a column called organizations containing either a group ID (i.e. google) or an array of group IDs (i.e. [ google, apple, microsoft ]).

Then, find your group key, and use it as the destination field to sync to.

Syncing Mixpanel Events

Track Event Configuration

Hightouch supports sending events of a given name, i.e. Signed Up. Hightouch also allows you to choose the column containing the timestamp, user ID, and device ID.

Note: Hightouch accepts a normal date time format for the timestamp, and automatically converts it to the format required by Mixpanel.

Field Mappings

Hightouch allows you to pass data to the event properties of a Mixpanel event.

Assigning Events to Groups

To assign users to groups, create a sync to events. Then, create a column in your model which contains the group IDs that you want to assign the event to, similar to assigning users to groups.

For example, to sync organizations, use a column called organizations containing either a group ID (i.e. google) or an array of group IDs (i.e. [ google, apple, microsoft ]).

Then, find your group key, and use it as the destination field to sync to.