This guide uses AppsFlyer OneLinks. You’ll need an active AppsFlyer account to implement deferred deep link identification.
Deep Links
Deferred deep links (DDLs) enable you to pass information (such as user identifiers or tokens) through a single link that can:- Redirect new users to the App Store if the app isn’t installed
- Automatically open the app if it’s already installed
- Deliver metadata (like authentication tokens) into the app on first launch, even after installation
Prerequisites
Before setting up deep links, ensure you have:- AppsFlyer account with OneLink configured
- Mobile app with AppsFlyer SDK integrated
- FunnelFox funnel ready for button configuration
Configuration
Funnel Setup
1
Generate AppsFlyer OneLink
- Log into your AppsFlyer dashboard
- Create a new OneLink or use an existing one
- Copy your OneLink URL (format:
https://yourapp.onelink.me/example
)
2
3
Configure Deep Link URL
Set the button link with
ffkey
query parameter using user variables:You can use other identifiers like
{{user.profile_id}}
or custom properties depending on your authentication flow.Mobile App Implementation
The goal is to read theffkey
query parameter from the deep link and use it to identify or authenticate the user automatically.
When the app isn’t installed, AppsFlyer SDK will invoke a callback (typically onConversionDataSuccess
) with the original link parameters after installation.
Implementation
- Listen for the callback from AppsFlyer SDK
- Extract
ffkey
from the conversion data - Identify/authenticate the user using the extracted key