Mixpanel
This page describes how to use Census with Mixpanel.

In this guide, we will show you how to connect Mixpanel to Census and create your first sync.

  • Once you are in Census, Navigate to Connections.
  • Click the Add Service button.
  • Select Mixpanel in the dropdown list
  • Copy your Mixpanel Projects's Project Token and API secret, which you can find in your Mixpanel Project Settings (for more details on where these values are located, check out Mixpanel's official documentation). Your end state should look something like this ๐Ÿ‘‡

Please follow one of our short guides depending on your data warehouse technology.
After setting up your warehouse, your Census Connections Page should look like this.

Now navigate to the Model section of our Dashboardโ€‹
Here you will have to write SQL queries to select the data you want to see in Mixpanel. Here are some ideas of data you should select
  • The Lifetime Value of a customer and add it to a contact.
  • The end of their trial
  • The date they became active in your product.
  • The number of key activities a user did in your app in the last 7/30 days
Once you have created your model, click save.

Now head to the Sync page and click the Add Sync button
In the " What data do you want to sync?" section
  • For the Connection, select the data warehouse you connected in step 2
  • For the Source, select the model you created in step 3
Next up is the "Where do you want to sync data to?" section.
  • Pick Mixpanel as the Connection
  • For Object, Select Events or User Profile. We will be using User Profile in this guide.
For the " How should changes to the source be synced?" section.
  • Select Update Or Create
  • Pick the right mapping key; Mixpanel only supports Distinct ID.
Finally, select the fields you want to update in the Mapper in the "Which Fields should be updated?" section. Here simply map the field from your Mixpanel instance to the column from your model.
Click the Next button to see the final preview, which will have a recap of what will happen when you start the sync.

Now go back to your Mixpanel Instance and view a Contact that should have been updated. If everything well well, you should see your data in Mixpanel.
That's it! In 5 steps, you connect Census to Mixpanel and started syncing customer & product data from your warehouse to Mixpanel ๐ŸŽ‰

Census currently supports syncing to the following Mixpanel objects.
Object Name
Supported?
Identifiers
Event
โœ…
Insert ID
User Profile
โœ…
Distinct ID
Group Profile
โœ…
Group ID
Lookup Table
โœ…
Join Key

Depending on which plan your Mixpanel is on, you may have limited ability to view historical data. For example, currently Mixpanel's Starter Free plan will only show events from the last 90 days, even though Census can successfully sync older data. If you find some of your event data missing, take a look at Mixpanel's documentation to understand what limits your plan may have.
โ€‹Contact us if you want Census to support more objects for Mixpanel.

Learn more about all of our sync behaviors on our Core Concepts page.
Behaviors
Supported?
Objects
Update or Create
โœ…
User Profile, Group Profile
Append
โœ…
Event
โ€‹Contact us if you want Census to support more Sync behaviors for Mixpanel.

โ€‹Contact us via [email protected] or start a conversation with us via the in-app chat.
Copy link
On this page
๐Ÿƒโ€โ™€๏ธ Getting Started
Prerequisites
1. Connect Mixpanel
2. Connect your Data Warehouse
3. Create your first Model
4. Create your first Sync
5. Confirm the data is in Mixpanel
๐Ÿ—„ Supported Objects
๐Ÿ”„ Supported Sync Behaviors
๐Ÿš‘ Need help connecting to Mixpanel?