OneLink long URLs

At a glance: Understand the difference between OneLink short and long URLs, and how to create long URLs outside of AppsFlyer.

OneLink long URLs

OneLink custom links:

  • Work across all media marketing channels to redirect users to either: 
    • The correct URL/app store.
    • Open the app, and then deep link users to a specific in-app activity.
  • Can support brand customization. Meaning the URL has your brand domain, instead of the OneLink subdomain.
  • Can be either short or long URLs:
    • Short URLs are created in AppsFlyer (either in the UI, or via API or SDK).
    • Long URLs:
      • Can be created outside of AppsFlyer.
      • Contain any parameters you want.
      • Can be used to generate a large number of OneLink custom links by applying your own simple formulas in a spreadsheet. Note: Links created in a spreadsheet are not visible (and cannot be edited) in any AppsFlyer UI.
      • Don't expire, meaning there is no Time to Live (TTL) limitation.

Considerations

  • Long URLs are transparent, meaning all link parameters are visible to the public, and can potentially be manipulated. 
  • Long URLs may not fit into browsers, SMS, or other places with URL character limitations.

Procedures

To create a OneLink long URL outside the AppsFlyer UI: 

  1. Create a OneLink template.
  2. Record the OneLink base URL, meaning the OneLink template domain + template ID.
    Example: 
    • OneLink template domain: yourbrand.onelink.me
    • Template ID: 1a6f
    • OneLink base URL: yourbrand.onelink.me/1a6f
    • Branded domain example: yourbrand.com/1a6f
  3. Append a ? to the URL, followed by any parameters you want to add.

To get the long URLs for OneLink custom links you create in the AppsFlyer UI:

  1. In AppsFlyer, go to OneLink custom links.
    The list of OneLinks displays.

  2. Go to the link for which you want the long URL, and in the Actions column, click Get URL.
    The long URL displays.
Was this article helpful?