At a glance: Swrve, an AppsFlyer integrated partner, is a cross-platform customer interaction engine, allowing advertisers to deliver targeted, personal and optimized interactions to end-users:
- Dynamic optimization and testing of core app content
- In-app and push notification campaigns
Alongside AppsFlyer, Swrve provides a complete lifecycle solution for maximizing the ROI on development and acquisition spend, and delivers outstanding user experiences throughout the mobile app journey. That includes customizing user experience based on acquisition source shared between the two platforms, meaning users can be served content specific to their user journey from the moment they open the app for the first time.
The integration works by notifying Swrve of installs to their API using their REST API. To do so, you will need to set up a server postback in your AppsFlyer account for each one of your mobile apps.
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 Swrve and AppsFlyer
Setting up a postback that allows Swrve to measure LTV and user behavior for different acquisition sources:
Step 1: After initializing Swrve, set your user’s ID (before any call to the AppsFlyer SDK) with the following:
AppsFlyerLib.setCustomerUserId(SwrveSDK.getUserId());
NSString* swrve_user_id = [[Swrve sharedInstanceWithAppID:appId apiKey:apiKey] userID];
[[AppsFlyerTracker sharedTracker].customerUserID = swrve_user_id];
Appsflyer.setCustomerUserID(SwrveComponent.Instance.SDK.UserId);
Step 2: Set a postback in your AppsFlyer dashboard by performing the following actions:
Setting up Swrve
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.
Swrve's configuration window only makes use of the integration tab.
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.
Activate partner
On the first visit here, you will need to toggle ON the Activate Partner button to enable the set up 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
App ID and API Key
Swrve connects with AppsFlyer via a unique App ID and API Key. If you don't already have them, you must obtain them from Swrve to continue with the integration.
Perform the following steps, as required:
- Enter the APP_ID
- Enter the api_key
- Select EU for EU customers
- Select Advanced Data Sharing to send the following additional information to Swrve: cost_value, channel, keywords, siteID, and c (campaign)
Default postbacks
AppsFlyer can send automatic postbacks to Swrve following 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 Swrve.
Click Save
Once saved, AppsFlyer begins sending the following data to Swrve for every organic and non-organic install:
- api_key
- Swrve user ID as set in the SDK
- Media Source
- Campaign Name
Attribution link tab
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 Swrve.
Swrve reporting with AppsFlyer data
After you have server postbacks set up to send attribution information from AppsFlyer to Swrve, you can view acquisition data in the Swrve platform and utilize the full range of Swrve targeting and testing functionalities.
The main dashboard page for your app includes all of your app's vital information at a glance. From this page, you can continue to utilize the testing, targeting, and reporting features by selecting the relevant tabs in the main navigation bar.