Mixpanel

This page describes how to use Census with Mixpanel.

๐Ÿƒโ€โ™‚๏ธ Getting Started

Prerequisites

1. Connect Mixpanel

  • Once you are in Census, Navigate to Connections.

  • Click the Add Service button.

  • Select Mixpanel in the dropdown list

  • Copy your Mixpanel's Project Token and API secret that you can find in your Mixpanel Project Settings. your end state should look something like this ๐Ÿ‘‡

2. Connect your Data Warehouse

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.

3. Create your first Model

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.

4. Create your first Sync

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.

5. Confirm the data is in Mixpanel

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 ๐ŸŽ‰

๐Ÿ—„ Supported Objects

Census currently supports syncing to the following Mixpanel objects.

Object Name

Supported?

Identifiers

Event

โœ…

Insert ID

User Profile

โœ…

Distinct ID

Group Profile

โœ…

Group ID

โ€‹Contact us if you want Census to support more objects for Mixpanel.

๐Ÿ”„ Supported Sync Behaviors

Learn more about all of our sync behaviors on our Core Concepts page.

Behaviors

Supported?

Objects?

Update or Create

โœ…

User Profile, Group Profile

Create Only

โœ…

Event

Append

โœ…

Event

โ€‹Contact us if you want Census to support more Sync behaviors for Mixpanel.

โ€‹