Set up Mixpanel

Mixpanel is an Adjust module partner. Our integration lets Mixpanel receive attribution and app event data through automated callbacks.

Use our basic setup instructions to turn on Adjust’s integration and send callbacks to Mixpanel. Then, use our advanced setup instructions to customize what information Mixpanel receives.

Basic setup

To turn on Adjust’s integration with Mixpanel, follow these steps.

  1. Find your app and select your app options caret (^)
  2. Select Partner Setup > ADD PARTNERS
  3. Select Add (+icon) next to Mixpanel
  4. Enter your TOKEN (contact your Mixpanel representative for help finding this)
  5. Optional: see advanced setup to customize your callbacks
  6. Select Save

Well done! Basic setup is complete. Mixpanel will receive callbacks for these activities:

  • install
  • event
  • reattribution

Advanced setup

Choose which data Mixpanel receives from Adjust by customizing your setup.

Forward in-app revenue

Revenue forwarding lets Mixpanel receive revenue amounts along with your revenue event data.

To forward in-app revenue to Mixpanel, follow these steps.

  1. Find your app and select your app options caret (^)
  2. Select Partner Setup > Mixpanel
  3. Turn on In-App Revenue Forwarding

Now Mixpanel will receive the revenue amount for every tracked transaction.

 

Note: Link at least one revenue event to Mixpanel before turning on Revenue Forwarding

 

Forward custom data

Partner parameters (available in Adjust SDK version 4.0+) let Adjust collect custom data points from your app and send them to Mixpanel.

Note: Before adding new partner parameters to the Adjust SDK, make sure no pre-existing partner parameters already fit your requirements.

To forward partner parameters to Mixpanel, follow these steps.

  1. Set up partner parameters within the Adjust SDK (instructions for iOS and Android)
  2. In the Adjust dashboard, find your app and select your app options caret (^)
  3. Select Partner Setup > Mixpanel
  4. Turn on Parameter Forwarding
  5. Select Partner Parameter Mapping
  6. In the FROM APP field, enter the name of your Adjust parameter (as written into the Adjust SDK). In the TO PARTNER field, enter your corresponding Mixpanel name.
  7. Select Save

Now Mixpanel will receive custom event details for each of your linked events.

 

Note: If you set up partner parameters within the Adjust SDK without turning on Partner Parameter Mapping, Adjust forwards the parameters as named in the Adjust SDK.

 

Forward app events

Event linking lets Mixpanel receive app event data. You can link every app event in Adjust to a preset Mixpanel name or a custom event name.

To forward app events to Mixpanel, follow these steps.

  1. Find your app and select your app options caret (^)
  2. Select Partner Setup >Mixpanel > Event Linking
  3. Find the event you want to link and update the field with a Mixpanel event or your own custom name
  4. When you finish linking events, select OK
  5. Select Save

Now Mixpanel will receive app event data for each of your linked events.

Partner specific setup instructions

You should primarily use the Mixpanel server-to-server integration if you are not using the Mixpanel SDK in the app. If you are using the Mixpanel SDK, you can use adjust's in-app attribution data access to inject the attribution data into the Mixpanel SDK locally, as described in the SDK readme: IOS & Android

Predefined parameters

Mixpanel allows you to send a set of predefined parameters. If you attach any of these parameters to an event in your adjust SDK, these will be forwarded to Mixpanel. You can find out more about attaching partner parameters in the SDK readme specific to the SDK or SDKs you are working with. Below is a list of the defined parameters that Mixpanel accepts:

Parameter key > Value

  • product_id > product ID of a transaction
  • product_spec > product specification

List of all parameters forwarded to Mixpanel

Mixpanel requires Adjust to send the following parameters (data points) with your callbacks:

Placeholder Information
{adgroup_name} Adgroup name, as taken from the tracker
{android_id} Android ID (Android only)
{campaign_name} Campaign name, as taken from the tracker
{created_at} Activity timestamp
{creative_name} Creative name, as taken from the tracker
{gps_adid} Google Play Store advertising ID
{idfa} ID for advertisers (iOS only)
{ip_address} Device IP address
{network_name} Network name, as taken from the tracker
{os_name} Device operating system
{revenue_usd} Revenue, in US dollars