Swrve, one of AppsFlyer's integrated partners, 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 from the first time.
The integration is simple, and 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.
Integrating Swrve and AppsFlyer
Setting up a postback which allows Swrve to track 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:
NSString* swrve_user_id = [[Swrve sharedInstanceWithAppID:appId apiKey:apiKey] userID];
[[AppsFlyerTracker sharedTracker].customerUserID = swrve_user_id];
Step 2: Set a postback in your AppsFlyer dashboard by performing the following actions:
Setting Up Swrve
Go to the dashboard of your app and click on Integrated Partners on the left bar.
Enter "Swrve" in the search field and click on its logo to open Swrve's configuration window.
Swrve's 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.
The Integration Tab is divided into different sections as described below.
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)
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.
Once saved, AppsFlyer begins sending the following data to Swrve for every organic and non-organic install:
- customer_user_id as set in the SDK
- Media Source
- Campaign Name
For details on sharing data with 3rd parties, click here.
Tracking Link Tab
Data Enrichment Tab
Data Enrichment is not available for Swrve.
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.