Skip to Content

Mixpanel

Mixpanel connections give you access to your company’s Mixpanel event data.

Source Setup

Etleap requires a project’s Timezone and Project ID, and the Username and Secret of a service account  with access to the project, when you set up a Mixpanel source. The steps below show how to get this information from the Mixpanel console. You will need to be the Owner of the project or have the Admin role to create a service account.

  1. Log in to the Mixpanel Web Console .

  2. In the right of the navigation bar, select the project that includes the events to export.

    A screenshot of the Mixpanel web console showing the projects menu open.
  3. Open the settings menu in the navigation bar and click on the project name in Project Settings sub menu.

    A screenshot of the Mixpanel web console showing the settings menu open.
  4. The project’s timezone is shown under Project Details → Timezone, and its ID under Project Details → Project ID.

  5. Open Service Accounts in the project settings and click Add Service Account.

  6. Enter a name for the service account, for example etleap, and give it the Analyst role. Roles below Analyst cannot export events.

  7. Leave the expiration at Never. If you set an expiration date, Etleap can no longer extract events after that date until you update the connection with a new service account.

  8. Click Add. Mixpanel shows the service account’s Username and Secret. Copy both now, because Mixpanel does not show the secret again.

Note

A Mixpanel service account can be given access to several projects, but each connection is tied to one specific project. If you want to extract data from multiple projects, you’ll need one Mixpanel connection per project.

What Data is Available?

Warning

Update-Mode Deletes Support

Deletes are not supported for update-mode entities with this connector.

Etleap will extract raw event data from Mixpanel. Mixpanel pipelines always run in update mode. Etleap creates a primary key in the destination by taking an MD5 hash of all columns in the raw event data during transformations. The transform steps to compute this event hash are included in the default transformation script that is shown in the Wrangler.

The event time field is used for the Last-Updated Timestamp to determine the order of the events when loading to warehouse destinations.

Key Considerations

Duplicates

Mixpanel event data may contain duplicate rows. Etleap accounts for this during transformations by deduplicating on the primary key and selecting the duplicate row with the latest event time.

API Quotas & Limits

Etleap ensures that its requests to the Raw Export API  do not exceed Mixpanel’s native limits . However, these limits may still be exceeded if you are also using other services to export events from the same Mixpanel project.