At a glance: Batch, an AppsFlyer integrated partner, is an app analytics, marketing automation and mobile CRM platform.
Batch allows advertisers to maximize user engagement while offering a personalized user experience. The Batch advanced user engagement platform lets you communicate with your smartphone users in a more personalized way, reduce your churn and boost your app ROI. AppsFlyer and Batch combined can help the advertiser to further customize user experience and engagement based on user journey. This means that the advertiser can send specific in-app messages and push notifications based on attribution data such as media source and campaign. Integrating Batch and AppsFlyer is simple and straightforward.
Important!
Some media sources restrict sharing data with third parties. Therefore, postbacks for restricted events won't be sent to this partner, regardless of the configured selection for sending postbacks.
Integrating Batch and AppsFlyer
Setting Customer User ID
In order for Batch to be able to match data from AppsFlyer with its own data, the advertiser must provide the same Customer User ID to both. The Customer User ID is set in the SDK.
It's important that you put a real Customer User ID, and not a placeholder value. A real Customer User ID is a user ID that you use to identify your customers in your own systems.
Batch
Set Customer User ID in Batch SDK.
Batch.User.editor()
.setIdentifier("user@example.com")
.save();
AppsFlyer
Set Customer User ID in AppsFlyer SDK.
AppsFlyerLib.getInstance().setCustomerUserId("user@example.com");
Batch
Set Customer User ID in Batch SDK.
BatchUserDataEditor *editor = [BatchUser editor];
[editor setIdentifier:@"user@example.com"];
[editor save];
AppsFlyer
Set Customer User ID in AppsFlyer SDK.
[AppsFlyerTracker sharedTracker].customerUserID = @"user@example.com";
Batch
Set Customer User ID in Batch SDK.
let editor = BatchUser.editor()
editor.setIdentifier("user@example.com")
editor.save()
AppsFlyer
Set Customer User ID in AppsFlyer SDK.
AppsFlyerLib.getInstance().setCustomerUserId("user@example.com");
Setting Up Batch
Prerequisite: Before setting up the integration, make sure you contact the partner and open an account with them.
To activate or edit the integration:
-
To activate: In AppsFlyer, from the side menu, select Collaborate > Partner Marketplace.
To edit: In AppsFlyer, from the side menu, select Collaborate > Active Integrations. - Search for the partner and select it.
- Click Set up integration. You’re directed to the integration setup page.
- In the Integration tab, select the app for the integration and turn Activate partner on.
Note: The toggle must be on (activated) for as long as you work with the partner. - Complete the configuration using the relevant tabs, as described below.
The Batch configuration only requires the Integration tab. The other four tabs are inactive as they are not required in this integration.
Integration tab
Activate Partner
On the first visit here, you will need to toggle ON the Activate Partner button to enable the setup of the integration tab's parameters. The toggle MUST be ON for as long as you work with the partner.
For more details about partner activation please click here.
General Settings
Before you can set up the integration with Batch, make sure to obtain your Batch Rest API Key and Batch API Key. If not sure, contact Batch for more information.
Once you obtain the two keys, enter each in the relevant field. Under General Settings, put your Batch Rest API Key in the BATCH_REST_API_KEY field and your Batch API Key in the BATCH_API_KEY field.
Default Postbacks
Under Default Postbacks, in the Sending Option drop-down list, select Events attributed to any partner or organic.
Attribution link tab
Attribution Links are not available for Batch.
Cost tab
Cost data is not supported in the integration with this partner.
Ad revenue tab
Ad Revenue is not supported in the integration with this partner.
Permissions tab
Permissions are not available for Batch.
Viewing AppsFlyer data in the Batch dashboard
Once AppsFlyer starts sending install postbacks to Batch, you can view the data in the Batch dashboard and start customizing user engagement according to attribution data.
You can see the data in the Userbase tab of your Batch dashboard.