The AppsFlyer integration is available on Notifly’s Pro and Enterprise plans.
Before setup, ask Notifly whether your project can use the integration, whether imported data counts toward data point usage, and what fees may apply.
Overview
Send app install attribution data from AppsFlyer to Notifly. Use the data to build user groups or set conditions for who receives a campaign. Notifly uses the AppsFlyer ID to match each analytics partner postback to a user. To enable matching, read the ID in your app and save it as the Notifly user property$appsflyer_id.
Attribution fields
AppsFlyer install postbacks can include the fields below. Which fields arrive depends on the app’s privacy settings and the ad network’s data-sharing policy.Set up the integration
1. Activate the Notifly partner in AppsFlyer
- In the AppsFlyer sidebar, select Collaborate > Partner Integrations, then open the Marketplace tab.
- Search for Notifly and open its integration settings.
- On the Integration tab, turn on Activate partner and configure the remaining integration settings.
- If a postback section is available, confirm that install postbacks are enabled.
- Click Save Integration.
For more details, see Set up an integrated partner in AppsFlyer.
2. Store the AppsFlyer ID using the SDK
The AppsFlyer SDK generates a new ID for each app install. CallgetAppsFlyerUID to get the ID, then use the Notifly SDK’s setUserProperties to save it as $appsflyer_id.
Prerequisites
- Install and initialize the AppsFlyer SDK.
- Install and initialize the Notifly SDK.
- Android (Kotlin)
- iOS (Swift)
- React Native
- Flutter
Campaign examples
After setup, use attribution properties to choose which users receive a campaign.Example audience conditions
- To find users with an AppsFlyer ID stored in Notifly, filter for users who have
$appsflyer_id. - Use
media_sourceto target users acquired through a particular ad network. For example, setmedia_source = "googleadwords_int".
Example messaging campaign
- Use the ad campaign name (
c) to tailor the message that introduces your app to new users from each campaign. Send it as a push notification or in-app popup.
FAQ
What happens if I don't set $appsflyer_id?
What happens if I don't set $appsflyer_id?
Notifly needs
$appsflyer_id to match the postback to a user. Only matched attribution data is available in user groups and campaigns.What happens if the install postback arrives before I set $appsflyer_id?
What happens if the install postback arrives before I set $appsflyer_id?
Notifly cannot match any postback that arrives before
$appsflyer_id is set. Set $appsflyer_id as early as possible when the app starts.How do I test the integration?
How do I test the integration?
- Run the app to set
$appsflyer_id. - In the Notifly console, check that the user’s properties include
$appsflyer_id. - Follow the AppsFlyer SDK integration testing guide to run a test install on a registered device. Check the user’s Notifly profile for the attribution data.
