Mixpanel is an analytics platform that helps you to track user actions with your application. It also provides specific tools for targeted business communication and engagement with your customers. In-app A/B testing, user survey forms, and custom reports to measure customer retention are some of the other features offered by Mixpanel.

This document guides you in setting up Mixpanel as a source in RudderStack. Once configured, RudderStack automatically ingests your specified Mixpanel data, which can then be routed to your data warehouse destination supported by RudderStack.

All the Cloud Extract sources support sending data only to a data warehouse destination.

Getting Started

To add Mixpanel as a source in RudderStack, follow these steps:

  • Log into your RudderStack dashboard.
  • From the left panel, select Sources. Then, click on Add Source, as shown:
Add Source
  • Next, navigate to Cloud Extract within the Sources directory and select Mixpanel.
Select Mixpanel
  • Assign a name to your source, and click on Next.
Assign a name

Setting Up the Connection

  • Under Create new account, fill in the relevant connection credentials.
Create new account
  • The connection settings are:
    • Account Name : Your Mixpanel account name goes here.
    • API Key : Enter your Mixpanel API Key, which can be obtained from the Project Settings option in your Mixpanel header bar.
    • API Secret : Enter your Mixpanel API Secret, which can be obtained from the Project Settings option as mentioned above.
    • Project timezone : This can be obtained within the Access URL section in your Mixpanel Project Settings option.

More information on how to obtain the above credentials can be found here.

If you have already connected RudderStack to your Mixpanel account, your credentials should appear automatically under Use existing credentials.

Configuring the Source

  • In the next screen, choose the Start Date under Source Settings. This is the date from which RudderStack ingests the data from Mixpanel.
Source Settings

Setting the Data Update Schedule

  • Next, you will be required to set the Run Frequency to schedule the data import from your Mixpanel account to RudderStack. You can also specify the time when you want this synchronization to start, by choosing the time under the Sync Starting At option, as shown:
Run Frequency

That's it! Mixpanel is now successfully configured as a source on your RudderStack dashboard.

RudderStack will start importing data from your Mixpanel source as per the specified frequency. You can further connect this source to your data warehouse by clicking on Connect Destinations or Add Destination, as shown:

Import data from your Mixpanel source

Use the Connect Destinations option if you have already configured a data warehouse destination in RudderStack. To configure a data warehouse destination from scratch, click on the Add Destination button.

FAQs

Is it possible to have multiple Cloud Extract sources writing to the same schema?

Yes, it is.

We have implemented a feature wherein RudderStack associates a table prefix for every Cloud Extract source writing to a warehouse schema. This way, multiple Cloud Extract sources can write to the same schema with different table prefixes.

Contact Us

If you come across any issues while configuring Mixpanel as a source on the RudderStack dashboard, please feel free to contact us. You can also start a conversation in our Slack community; we will be happy to talk to you!

Contents