AppsFlyer - Leanplum Integration

  • Advertisers
  • Ad Networks


Leanplum, one of AppsFlyer's integrated partners, is a mobile marketing platform, designed for intelligent action. Its integrated solution delivers engagement across messaging and the in-app experience. Leanplum offers Messaging, Automation, App Editing, Personalization, A/B Testing, and Analytics.

Leanplum customers can integrate with AppsFlyer by sending Leanplum a postback containing publisher information. This allows you to view this data in Leanplum analytics as well as use it for targeting in A/B tests or marketing campaigns, using Leanplum’s targeting and segmentation menu.

Before you activate the integration with Appsflyer, you first need to confirm that your Leanplum integration is using the same device ID as Appsflyer. This is important as Leanplum matches the user install with the postback using the device ID, so if they do not match Leanplum cannot report the data.

By default, Leanplum collects the IDFV for iOS and the MD5 hash of the MAC address for Android, but this can be easily changed to IDFA for iOS and GAID for Android with one line of code. For information about how to change the device ID format for Android and iOS, click here.

Setting Up Leanplum

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


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

The Leanplum 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

App ID and Client Key

Leanplum connects with AppsFlyer via a unique App ID and Client Key. If you don't already have them, you must obtain them from Leanplum to continue with the integration or follow the steps below.


Obtaining the App ID and Client Key

Click on your name at the top right of the screen and select App Settings

Select an app and click Keys & Settings

Default Postbacks

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


Select Events attributed to any partner or organic to send postbacks for any user that downloads the app to Leanplum. 


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 Leanplum as organic.

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

Click Save. 

Tracking Link Tab

Tracking Links are not available for Leanplum.

Data Enrichment Tab

Data Enrichment is not available for Leanplum.

Permissions Tab

Permissions are not available for Leanplum.

Viewing User Attribution Data in Leanplum

Once you have set up the integration between Leanplum and Appsflyer, you can access the information by utilizing Leanplum’s targeting and segmentation menu:

This menu is available in the Analytics, Messages, A/B Tests, and Users sections of the Leanplum platform. You can filter by, group by, and cohort by this data in Analytics, filter by this data in the Users section, and target by this data in Analytics and A/B Tests.

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