Skip to main content
Supported on: iOS SDK 1.0.61+
The deep links module handles deferred deep links — routing users to the correct screen on first launch after installing from a link. This enables attribution tracking, referral programs, and contextual first-launch experiences. A deferred deep link works across the install boundary:
  1. User clicks a link on the web (e.g., https://yourapp.com/workout/123?ref=instagram)
  2. User is redirected to the App Store and installs your app
  3. 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 returns nil if no deferred link is found or if the app was not installed from a link.
checkDeferredDeepLink is a top-level static method, not part of the deep links module:

Module Access

Module Methods

AppDNADeepLinkDelegate

Register a delegate for deep link events:

Example Implementation

Platform Setup

To support Universal Links on iOS, configure your app:
  1. Enable Associated Domains in your target’s Signing & Capabilities.
  2. Add your domain: applinks:yourapp.com
  3. Host an apple-app-site-association file on your domain.

Handling in AppDelegate or SceneDelegate

Pass incoming URLs 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 stored visitor context on first launch.