OneLink Template Creation
OneLink Template Creation
Important
Before creating a OneLink for your retargeting campaign, you must first create a OneLink Template.
Setting up a OneLink requires actions from both MARKETER and DEVELOPER.
Marketer Actions
Navigate the AppsFlyer UI: Engage > OneLink Management > New OneLink Template.
Name the template, choose the subdomain, and select the app.

In the same OneLink Template, configure both iOS and AOS settings:
iOS Universal Links: Under "When app is installed > Launch the app using iOS Universal Links", fill out the Team ID (App ID Prefix) and Bundle ID (TeamID should be provided by your development team. You may share this guide with them for reference).

Android App Links: Under "When app is installed > Launch the app using Android App Links", fill out the SHA256 fingerprint (SHA256 should be provided by your development team. You may share this guide with them for reference).

An auto-generated intent-filter code appears, provide the intent-filter code to the Android Developer.
Provide the subdomain created in Step 2 to both your iOS and Android Developers for the application setup.
Click Save OneLink template.
For iOS setting, please continue the instructions in iOS Universal Link For AOS setting, please continue the instructions in AOS App Link
iOS Universal Link
Developer Action
Enabling associated domains: Configure app to register approved domains: add the subdomain (from Marketer) in Xcode. Example:

Implement Deep linking code: We highly recommend following this step-by-step tutorial to finish the setup and implement the code under "Deep linking" section: https://dj.dev.appsflyer.com/
You can also refer to this website for the details:
https://dev.appsflyer.com/hc/docs/dl_ios_unified_deep_linking#implementation
→ Once the OneLink Template is completed, AppsFlyer automatically generates the AASA file and hosts it for you. Note that it can take up to 1 hour for OneLink Template updates to take effect.
AOS App Link
Developer Action
Open the app's AndroidManifest.xml file, add the intent-filter code to main activity.
Implement Deep linking code: We highly recommend following this step-by-step tutorial to finish the setup and implement the code under "Deep linking" secion: https://dj.dev.appsflyer.com/
You can also refer to this website for the details:
https://dev.appsflyer.com/hc/docs/dl_android_unified_deep_linking#implementation
→ Once the OneLink Template is completed, AppsFlyer automatically generates the Digital Asset Links JSON file and hosts it for you. Note that it can take up to 1 hour for OneLink Template updates to take effect.
Next Step
After finishing the OneLink Template Creation, please follow the AppsFlyer - App Reengagement Campaign Settings for the Integrated Partner setup.
Relevant Material
Appsflyer's Android deeplink setup guide (For Developers)
Appsflyer's iOS deeplink setup guide (For Developers)
Appsflyer's create OneLinks template (For Marketers) [Note: Step 5 is For Developers]
Last updated
