OneLink Template Creation

circle-info

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

  1. Navigate the AppsFlyer UI: Engage > OneLink Management > New OneLink Template.

  2. Name the template, choose the subdomain, and select the app.

  3. In the same OneLink Template, configure both iOS and AOS settings:

    1. 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 IDarrow-up-right (TeamID should be provided by your development team. You may share this guide with them for reference).

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

  4. An auto-generated intent-filter code appears, provide the intent-filter code to the Android Developer.

  5. Provide the subdomain created in Step 2 to both your iOS and Android Developers for the application setup.

  6. 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


Developer Action

  1. Enabling associated domains: Configure app to register approved domainsarrow-up-right: add the subdomain (from Marketer) in Xcode. Example:

  2. 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/arrow-up-right You can also refer to this website for the details: https://dev.appsflyer.com/hc/docs/dl_ios_unified_deep_linking#implementationarrow-up-right

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.


Developer Action

  1. Open the app's AndroidManifest.xml file, add the intent-filter codearrow-up-right to main activity.

  2. 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/arrow-up-right You can also refer to this website for the details: https://dev.appsflyer.com/hc/docs/dl_android_unified_deep_linking#implementationarrow-up-right

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.

circle-info

Relevant Material

Last updated