Mixpanel

Introduction

This article is intended for Advertisers who would like to post to Mixpanel for every new attribution recorded on the AppsFlyer platform. 

Mixpanel is a product analytics platform that enables everyone to learn from and act on their data. With the power to track every user action and easily query and visualize answers, Mixpanel gives product leaders the insight they need to build products people love. 

The integration between AppsFlyer and Mixpanel enables you to import the Acquisition Campaign information from AppsFlyer to Mixpanel.

Setting Up Mixpanel

Go to the dashboard of your app and click on Integrated Partners on the left bar.

Integrated_Partners_link.png

Enter "Mixpanel" in the search field and click on its logo to open the Mixpanel configuration window.

The Mixpanel configuration window includes 4 tabs: Integration, Tracking link, Data enrichment and Permissions. Click on the items below to read about the tabs setup. 

For a detailed description of the Partner Configuration Window Header, click here.

Integration Tab

The Integration Tab is divided into different sections as described below. 

General Settings

Mixpanel connects with AppsFlyer via a unique Token. If you don't already have it, you must obtain it from Mixpanel to continue with the integration or follow the steps below.

Mixpanel_msc_new_3.png

Configuring AppsFlyer and Mixpanel

  1. Get the Token parameter from Mixpanel:
  • Login to your Mixpanel account at: https://mixpanel.com/login/
  • Select Account in the upper menu

  • Select Projects– on this page you can find the token parameter 

Mixpanel_msc_new_4.png

  • Send Advertiser ID:
    • If you are using AppsFlyer customer_user_id parameter then it is sent to Mixpanel with every install (Leave Send Advertiser ID unchecked
    • If you are not using AppsFlyer customer_user_id - check Send Advertiser ID and the device ID is sent to Mixpanel as the customer_user_id (unique_id in Mixpanel) refer to the AppsFlyer SDK integration guide for Android and iOS.
  • Select Events if you want to send the data to Mixpanel Events end point
  • Select People if want to send the data to Mixpanel People end point
  • Select Advanced Data Sharing to send additional information to Mixpanel: cost, cost_value, c (campaign), network (pid), impression_based (is-impression).
  • Click Save.

Default Postbacks

AppsFlyer can send automatic user installs postbacks to Mixpanel. Use this section to define sending these postbacks. 

Swrve_msc_new_4.png

Select Events attributed to any partner or organic to send to Mixpanel postbacks for any user that installs the app. Post-install in-app events can't be automatically sent from AppsFlyer to Mixpanel.

 Note

According to both Facebook and Twitter Terms and Conditions, we cannot share user level data with any 3rd party.  Therefore, all Facebook and Twitter installs are sent to Mixpanel as organic.

For details on sharing data with 3rd parties, click here.

Click Save. 

Once you have saved the configuration, AppsFlyer sends the following data to Mixpanel for every organic and non-organic install:

  • Mixpanel token parameter
  • Customer_user_id or Device ID (IDFA / Google Advertising ID)
  • Media Source
  • Campaign name

Tracking Link Tab

Tracking Links are not available for Mixpanel.
 

Data Enrichment Tab

Data Enrichment is not available for Mixpanel.

Permissions Tab

Permissions are not available for Mixpanel.

Integrating with Mixpanel when using a Login Mechanism

Some apps are using a login mechanism and will generate a user id only after a login event. In these cases you should use Mixpanel Alias function as seen in the following example:

  1. App has been launched (opened) by the user
  2. Collect the device IDFA / Advertising ID of the device and set it as the Customer User ID, using the SDK function setCustomerUserId.
  3. Send Track App Launch.  This API enables AppsFlyer to detect installations, sessions and updates.
  4. After installation is tracked, an install event is sent to Mixpanel with the customer_user_id 
  5. User Registration occurs, as set by your own requirements.
  6. User Registration completes, as set by your own requirements.
  7. If you are using your internal User ID as Mixpanel ID, Please set the customer_user_id (or the device id – see section 2) and User ID (e.g email address) as mixpanel.alias. For more information click here
  8. Mixpanel receives the customer_user_id from AppsFlyer with the alias of the User ID (e.g email address)

 Note

If you are not using any registration process inside your application, implement sections 1-3.

Viewing AppsFlyer Data in Mixpanel

The screenshots below are a Funnel report selecting a specific Attribution Analytics partner and segmenting by Attribution Analytics offer.

Was this article helpful?
0 out of 0 found this helpful