Supported on: Android SDK
1.0.33+Deferred Deep Links
A deferred deep link works across the install boundary:- User clicks a link on the web (e.g.,
https://yourapp.com/workout/123?ref=instagram) - User is redirected to the Play Store and installs your app
- On first launch, the SDK resolves the original link and returns the destination
checkDeferredDeepLink is a static method on AppDNA. It should be called once on first launch, typically after configure() completes. The SDK uses the Google Install Referrer API plus AppDNA’s visitor-context resolution. It returns null if no deferred link is found or if the app was not installed from a link.The one-chance rules
Three things aboutcheckDeferredDeepLink that decide whether a link is ever resolved:
A failed check does not spend the chance. If the first launch cannot reach the server — no
network, or Firestore’s first connection has not completed — the SDK keeps the chance and retries on
the next launch, up to 4 attempts in all, then gives up and logs
giving up after 4 failed attempts. A SUCCESSFUL read is an answer whether or not it found a link,
and does spend it. So a user who opens your app on a plane straight after installing still gets
their link on their next launch.A transport failure used to spend the chance: the link and its
referrer were lost permanently, and your handler received null, which is indistinguishable from an
install that did not come from a link.Deferred Deep Link Check
checkDeferredDeepLink is a top-level method on AppDNA, not part of the deep links module:
Module Access
Module Methods
DeferredDeepLink
AppDNADeepLinkDelegate
Register a delegate for deep link events:Example Implementation
Platform Setup
App Links
To support App Links on Android:- Add intent filters to your
AndroidManifest.xml:
- Host a Digital Asset Links file at
https://yourapp.com/.well-known/assetlinks.json.
Handling in Activity
Pass the incoming intent’s data URL to the SDK:Auto-Tracked Events
Full Example
Deep link routes are configured in the Console under Engagement > Deep Links. The SDK resolves deferred links by checking the Google Install Referrer plus AppDNA’s stored visitor context on first launch.

