Mixpanel

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. 

Configuring Mixpanel and AppsFlyer Integration

  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 

 

  1. Configure Mixpanel in AppsFlyer’s Dashboard.  Go to Integrated Partners and search for Mixpanel:

  • Click the Mixpanel logo to open the configuration window

  • Under Integration Parameters, select Enable 
  • Insert the Token taken from the Mixpanel console (see Section 1)
  • Select the Events option if you want to send the data to Mixpanel Events end point
  • Select the people option if want to send the data to Mixpanel People end point
  • 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 iOS and Android.
  • Click Save & Close

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

IMPORTANT: 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.

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)

NOTEIf 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
Have more questions? Submit a request
Powered by Zendesk