Set up Leanplum

Leanplum is an analytics network integrated with Adjust. Our integration lets Leanplum receive attribution and in-app event data through automated callbacks. Use this data with the partners' tools for analytics and insights.

In this article, learn how to set up measurement with Leanplum for your app. This includes activating the integration and choosing what data Adjust can share with Leanplum.

Before you begin

Requirements

iOS / Android / Windows / Unity / React Native / Flutter / Adobe Air / Cordova / Marmalade / Xamarin / Cocos2d-x / Titanium / Corona

Credentials

APP ID and CLIENT KEY

  • For help finding your credentials, contact your Leanplum representative.

Select Leanplum and your app in Campaign Lab

  1. Under Campaign Lab, select Partners.
  2. Select New partner > Leanplum. Select Next to move to the next screen.
  3. In the App selection screen, choose the app for which you want to create the link, and enable the integration to share data with Leanplum.
  4. Select Next.

Enable data sharing

Enable data sharing to activate the integration with Leanplum. To enable data sharing:

  1. Enter your APP ID and CLIENT KEY.

Once you enable data sharing with Leanplum, Adjust automatically sends Leanplum the following data, by default:

  • install
  • event

Set your data sharing options

If you’re working with a multi-platform app with data sharing enabled for multiple platforms, you can:

  1. Separate data sharing options at the platform-level by selecting Use platform-specific settings.
  2. Set the same data sharing settings for multiple platforms by selecting Use global settings.

Now, under What will be shared by default?, review the activities that Adjust shares with Leanplum by default:

  • install
  • event

Send additional data

Choose the amount and type of data that you want to share with Leanplum through callbacks. Leanplum may use this information to optimize performance.

To send additional data, you can review and customize the following:

In-app revenue (from in-app purchases)

Sharing in-app revenue lets Leanplum receive revenue amounts along with your revenue event data. You need to map events that generate revenue to share this data.

Map events

Map events that you want to share to the values that Leanplum can receive. Data for unmapped events is not shared with Leanplum.

Under Map events, follow these steps to choose the in-app events you want to directly send to Leanplum.

  1. Select Map event.
  2. In the Adjust event list, choose the Adjust event that you want to share with Leanplum.
  3. In the Partner event list, choose or enter a custom event name that you want to map the Adjust event to. You might have to map an event to several values.
  4. Select Apply.

Now Leanplum will receive in-app event data for each of your linked events.

Enable Leanplum for your app

In the Setup review screen, you can review your choices. You can also go back and make changes to:

  • Your selected app
  • Data sharing options

Select Enable partner to enable Leanplum for your app. Analytics partners don't work with links for campaigns. Once enabled, our integration sends attribution and in-app event data via automated callbacks.

Partner specific setup instructions

Leanplum accepts only "Purchase" as the name for revenue events, and Adjust uses "Purchase" as the global revenue event name sent when you link a revenue event.

You can change the name when linking revenue events, but they will still be sent to Leanplum as "Purchase".

Please also ensure that the default revenue event name listed in your Leanplum dashboard is "Purchase".

List of all parameters forwarded to Leanplum

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

PlaceholderInformation
{currency}Original ISO 4217 currency code sent from Adjust SDK
{idfa}ID for advertisers (iOS only)
{idfv}Uppercase iOS ID for vendors
{revenue_float}Revenue, as sent from Adjust SDK, in whole currency units
{adgroup_name}Adgroup name, as taken from the tracker
{campaign_name}Campaign name, as taken from the tracker
{created_at}Activity timestamp
{creative_name}Creative name, as taken from the tracker
{network_name}Network name, as taken from the tracker