Integrate Mixpanel

  • Updated

Import your Mixpanel audiences to Optimizely Data Platform (ODP) as real-time segments. Then, use those real-time segments in Optimizely Web Experimentation, Optimizely Feature Experimentation, or Optimizely Content Management System (CMS) Visitor Groups.


  • This integration leverages Mixpanel’s custom webhooks to sync your Mixpanel audiences to ODP, where ODP converts the audiences to real-time segments.
  • You can select your preferred customer identifier in Mixpanel to pass to ODP.
  • Audience changes are reflected in real time.


  • Mixpanel account
  • ODP account
  • Optimizely Web Experimentation, Optimizely Feature Experimentation, or CMS 11 or 12 account

Enable the integration

  1. Go to the ODP App Directory.
  2. Select the Mixpanel app.
  3. Click Install App.
  4. Copy the Webhook URL, Username, and Password from the Settings tab for use in the Mixpanel webhook configuration.

Configure the ODP webhook and audiences in Mixpanel

  1. Go to Data Management > Integrations > Custom Webhook in Mixpanel.
  2. Expand the webhook drop-down list, click Add Connection, and complete the following.
  3. Enter a name for the webhook connector, like ODP Real-Time Segments, and paste the URL, username, and password you copied from ODP in step 4 of the Enable the integration section.
  4. Choose the Mixpanel properties you want to export to ODP, like a customer ID.
  5. Click Continue.
  6. Go to Data Management > Cohorts and build the audiences you want to sync to ODP.

For each audience that you want to sync to ODP:

  1. Expand the options, click Export to, and select the ODP webhook you previously created.
  2. Select One-time export or Recurring sync and click Begin Sync. The recurring sync occurs every 30 minutes.

Now, your Mixpanel audiences sync to ODP as lists (prefixed with mixpanel_), which populate the ODP real-time segments (prefixed with Mixpanel -).

Use your Mixpanel audiences in other Optimizely products

You must configure the ODP integration with your desired Optimizely product before you can access your Mixpanel audiences in other Optimizely products.

Access your Mixpanel audience in Optimizely Experimentation

To access your Mixpanel audience in Optimizely Web Experimentation or Optimizely Feature Experimentation:

  1. In Optimizely Experimentation, go to Audiences.
  2. Edit an audience or click Create New Audience.
  3. Expand Real-Time Segments, then drag and drop the Custom Segments condition into the Audience Conditions section.
  4. Expand the Custom Segments drop-down list and select the audience you connected from Mixpanel.
  5. Click Save Audience.

Now, you can add this audience to an experiment.