A user taps a link in an ad for a specific product, installs your app, and lands on the home screen instead of that product. Deferred deep linking fixes that broken journey, and the same mechanism tells you which campaign drove the install.
Short answer: deferred deep linking is a link that still opens the right screen in your app when the user doesn't have the app yet. The link sends them to the App Store or Play Store, and on the first open after install the app finds out which link they tapped and takes them there. On Android this is exact (Play Install Referrer); on iOS it's a best match, because the App Store passes no referrer.
What is deep linking?
A deep link opens a specific screen inside a mobile app (a product, an order, a chat) instead of just launching the app. There are two common forms:
- Custom URL schemes such as
myapp://orders/123. Simple, but they only work when the app is installed, and any app can claim the same scheme. - Verified web links: Universal Links on iOS and App Links on Android. A normal
https://URL opens the app if it's installed and the website otherwise. Your domain proves ownership with a file on your site, so other apps can't hijack the link.
What is deferred deep linking?
Both forms above assume the app is already installed. Deferred deep linking handles the case where it isn't: the link sends the user to the App Store or Play Store, and after they install and open the app for the first time, the app retrieves the original link and its context. The deep link is “deferred” until after the install.
How does deferred deep linking work? Step by step
- The user taps a campaign link. The link service records the click and its campaign details.
- The user is redirected to the right store for their device and installs the app.
- On first open, the app's SDK asks the link service which click led to this install.
- The app gets the original destination and campaign data and can route the user accordingly.
Deep link vs deferred deep link
| Deep link | Deferred deep link | |
|---|---|---|
| App already installed | Opens the right screen | Opens the right screen |
| App not installed | Opens the website or fails | Goes to the store, then opens the right screen after install |
| Needs an SDK or link service | No | Yes, to match the install to the click |
| Tells you which campaign drove the install | No | Yes |
Deferred deep linking vs contextual deep linking
You'll also see the term contextual deep linking. It means passing extra information through the link, not just the destination: the campaign, the referrer's code, a coupon, or the product the user was looking at. Deferred deep linking is about when the link is delivered (after the install); contextual deep linking is about what it carries. Most link providers do both, so a new user who taps a friend's referral link lands on the right screen with the referral code already applied.
How the install is matched to the click
Step 3 is the hard part, because the app stores don't simply hand the link to your app.
- Android: the Google Play Install Referrer API gives your app the referrer string that was attached to the Play Store link. That makes Android matching deterministic: the click ID travels through the install.
- iOS: the App Store passes no equivalent referrer to your app. Providers rely on other techniques, each with accuracy and privacy trade-offs, and Apple's privacy rules limit device-fingerprinting approaches. Expect iOS matching to be less precise than Android.
Deferred deep linking on Android
On Android, add a referrer parameter to your Play Store link, for example https://play.google.com/store/apps/details?id=com.example.app&referrer=link_id%3Dabc123. After the install, your app reads it back with the Play Install Referrer library:
// build.gradle: implementation "com.android.installreferrer:installreferrer:2.2"
val client = InstallReferrerClient.newBuilder(context).build()
client.startConnection(object : InstallReferrerStateListener {
override fun onInstallReferrerSetupFinished(code: Int) {
if (code == InstallReferrerClient.InstallReferrerResponse.OK) {
// e.g. "utm_source=instagram&utm_campaign=diwali&link_id=abc123"
val referrer = client.installReferrer.installReferrer
// look up link_id and route the user to the right screen
}
client.endConnection()
}
override fun onInstallReferrerServiceDisconnected() {}
})Read the referrer once on first open and store the result. You can build correctly encoded Play Store links with our free Play Store referrer link builder. For users who already have the app, set up Android App Links with an assetlinks.json file. The app links generator creates it for you.
For the full Android walkthrough (testing, App Links verification and the common reasons it fails), see deferred deep linking on Android.
Deferred deep linking on iOS
iOS has no install referrer, so the link provider has to match the first app open to the earlier click on its side. In practice:
- Set up Universal Links with an
apple-app-site-associationfile, so users who already have the app open it directly. - For new users, the provider's SDK checks on first launch whether a recent click matches this device and returns the original link if it does.
- Some apps also copy the link to the clipboard on the web page and read it on first open. iOS shows a paste notice when an app reads the clipboard, so use this sparingly.
The iOS deferred deep linking guide covers Universal Links, click matching, the clipboard approach and testing in detail.
Firebase Dynamic Links shutdown
Many apps used Firebase Dynamic Links for deferred deep links until Google shut the service down in August 2025. Google's suggested replacement covers only installed users (App Links and Universal Links), so if you need links that survive the install or want to know which campaign brought each user, you need a dedicated link provider. Common options are Branch, AppsFlyer OneLink, Adjust and notifySphere TrackerLink. See how they compare in notifySphere vs Branch, or follow the Firebase Dynamic Links migration checklist.
Deferred deep linking and install attribution
Matching an install to a click doesn't only route the user. It tells you where the install came from. That's mobile app install attribution: crediting each install, and the sign-ups and purchases that follow, to the campaign, ad network, or referral link that drove it. With attribution data you can compare channels by real outcomes instead of clicks.

Where deferred deep links help
- Paid ads: send users straight to the advertised product after install.
- Referral programs: carry the referrer's code through install so both users get credit.
- QR codes and offline campaigns: measure which poster or packaging drove installs.
- Re-engagement: the same link opens the right screen for users who already have the app.
Implementation checklist
- Set up Universal Links and App Links for your domain so existing users open the app directly.
- Integrate an SDK that reads the install referrer on Android and handles first-open matching.
- Decide what happens when no match is found, usually the normal onboarding flow.
- Send post-install events such as sign-up and purchase, so attribution covers outcomes, not just installs.
- Test on real devices with fresh installs; deferred links can't be tested on an app that's already installed.
Deep linking and attribution with notifySphere TrackerLink
notifySphere's TrackerLink creates campaign links for ads, QR codes, and referrals and tracks them through the install. The React Native and Flutter SDKs read the Android install referrer and attribute in-app conversions to the campaign link with postEvent, so installs, sign-ups, and purchases show up per campaign, in the same dashboard as your push and WhatsApp campaigns. See the React Native SDK docs or the Flutter SDK docs to get started.
Push tools like OneSignal can open a screen in an app that's already installed, but they don't carry a link through a fresh install. See notifySphere vs OneSignal for how the two compare.
Frequently asked questions
What is deferred deep linking in simple words?
It's a link that still takes the user to the right screen even if they don't have your app yet. The link sends them to the App Store or Play Store, and when they open the app for the first time, the app finds out which link they tapped and opens that screen.
What is the difference between a deep link and a deferred deep link?
A deep link only works when the app is already installed. A deferred deep link also works for new users: it survives the app store install and is delivered to the app on first open.
How does deferred deep linking work on Android?
The Play Store link carries a referrer parameter. After install, the app reads it with the Google Play Install Referrer API and gets the original click details back, so matching on Android is exact.
How does deferred deep linking work on iOS?
The App Store doesn't pass a referrer to your app, so link providers match the first app open to the earlier click using other signals. It works in most cases but is less precise than Android, and Apple's privacy rules limit fingerprinting.
Do I need an SDK for deferred deep linking?
On Android you can read the Play Install Referrer yourself with Google's small library, no third-party SDK needed. On iOS, and for attribution reports across both platforms, you need a link service that records the click and matches it to the first app open, which usually means adding its SDK.
Is deferred deep linking the same as install attribution?
They use the same match between a click and an install. Deferred deep linking uses it to open the right screen; install attribution uses it to credit the install, and later sign-ups and purchases, to the campaign that drove it.
Can I test deferred deep linking on an app that is already installed?
No. Uninstall the app, tap the link, install from the store (or a test track), then open the app for the first time. On Android, the Play Install Referrer only returns data for installs that came from Google Play.
What replaced Firebase Dynamic Links?
Google shut down Firebase Dynamic Links in August 2025 and recommends App Links and Universal Links for installed users. For deferred deep links and install attribution you need a link provider such as Branch, AppsFlyer OneLink, Adjust or notifySphere TrackerLink.