You can integrate with Appsflyer by sending Leanplum a postback containing publisher information. This allows you to view attribution data in Leanplum analytics as well as use it for targeting in A/B tests or marketing campaigns, via 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 how Leanplum matches the user install in Leanplum with the postback data from Appsflyer, so if the Device IDs don't 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, see: Device IDs.
- In the main navigation, click Development -> App Settings.
- In the API Keys tab, you'll see your App ID and Production key. Copy these for later.
Now go to Configure Leanplum in AppsFlyer’s Dashboard.
Click Integrated Partners in the left of the screen and search for Leanplum.
- Click the Leanplum logo to open the configuration window.
Under Integration Parameters, click the Enable check box.
Insert the App ID and Production key you copied from Leanplum console (see step 3).
Click Save & Close.
Once you have saved the configuration, AppsFlyer sends the following data to Leanplum for every organic and non-organic install:
- Device ID (IDFA / Google Advertising ID)
- Media Source
- Campaign name
Twitter and Facebook installs sent as organic
According to Facebook and Twitter T&C, Appsflyer is unable to share user level data with any third party. As a result, all Facebook and Twitter installs are sent to Leanplum as organic.
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.
Updated 9 months ago