Cohort Sync



The Marketo integration with Mixpanel is a turn-key integration that allows users to export Mixpanel cohorts into Marketo. The integration enables Marketo email campaigns to target users based on Mixpanel cohort data. The cohort export can happen once, or can be configured to dynamically update a Marketo Custom Field every two hours.


You must be a Mixpanel project admin to use the Marketo data integration.

Enable the Integration

In order to setup your Mixpanel and Marketo Integration, you must be an Admin in both Marketo and your Mixpanel project. To set up the integration:

  1. Input your Marketo credentials (opens in a new tab) (Client ID, Client Secret, Rest URL) in the Mixpanel integration setup flow. Remove "identity" from the url so its rest endpoint when setting up the integration looks like: (opens in a new tab)

  2. Create a Mixpanel Custom Field in Marketo. This Custom Field should be set as a boolean type. Read the Marketo Documentation (opens in a new tab) for additional information on how to set up a Custom Field.

  3. The new Custom Field will update to 'True', allowing you to target users based on the Mixpanel cohort criteria.

Sending a Mixpanel Cohort to Marketo

To send a Mixpanel Cohort to Marketo:

  1. Create a Custom Field in Marketo (opens in a new tab) for each cohort that you plan to export.

  2. Navigate to Cohorts in Mixpanel by clicking in the Data Management tab and select Cohorts.

Marketo 1 Image

  1. Select the cohort that you want to export. Click on the three-dot icon on the right side of the cohort.

  2. Copy and paste the field name associated with the cohort you want to export into Marketo.

  3. After exporting your cohort to Marketo, the custom field name for all matched users will be set to True.

Sync Types

This integration supports two types of exports: one-time export and dynamic sync.

One-Time Exports

The Custom Field will automatically be updated to 'True', allowing you to target users based on this criteria.

Dynamic Syncs

The Custom Field will be updated every two hours to reflect the status of the Mixpanel cohort. The Custom Field will be set to 'True' or 'False' to reflect the movement of any users in to or out of a Mixpanel cohort.


Exporting the Same Cohort to Marketo

It is possible to export the same cohort to Marketo more than once, however each export will require a new custom field within Marketo. Mixpanel disallows exporting to the same custom field so that the custom field you have created in Marketo is up-to-date with only the latest export.

Why is the cohort user count larger in Mixpanel than in Marketo?

In order to export a user to Marketo using Cohorts, the user must have the special user profile property $email set on their user profile. If this property is not set on a user’s profile, they will not be exported to Marketo.

How does Mixpanel handle users that exist within Mixpanel, but not in Marketo?

If the user within Mixpanel has the $email user profile property, a new lead will be created in Marketo with the $email user profile property value and the designated custom field will be set to True.

Is there a limitation to the number of profiles that can be exported to Marketo?

The maximum cohort size exportable is 30 million profiles.

Does Mixpanel export other profile properties to Marketo besides the user's email address?

No. At this time, Mixpanel will only export the $email profile property.

Was this page useful?