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.
- Have your Mixpanel account ready.
- 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.
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.
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.
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.