Deep linking explained: universal links and app links

How deep links send users straight to the right screen in your app, how iOS universal links and Android app links work, and how to set them up properly.

By the UK Technology Hub teamPublished 4 minute read

The short answer

Deep links open a specific screen inside your app, such as a product, booking or message, instead of the home screen. On iOS, universal links and on Android, app links use your normal website URLs and open the app when it's installed, or the website when it isn't. Deferred deep links can take new users to the right content after they install the app.

Imagine tapping a link to a product in an email, only to land on an app's home screen with no idea where the product went. Deep linking fixes that, sending users exactly where they meant to go.

Custom URL schemes, such as myapp://product/123. The original approach, simple but limited: if the app isn't installed, the link fails, and other apps could claim the same scheme.

Universal links (iOS) and app links (Android). Standard web URLs, such as example.com/product/123, that open the app if installed, or your website if not. They're verified against your domain, so they're more secure and reliable.

Deferred deep links. If the app isn't installed, the user goes to the store, installs the app and then lands on the intended content on first open. This needs extra tooling, typically through attribution or linking services.

Common uses

  • Links in emails and text messages that open specific content.
  • Push notifications that open the relevant screen. Our push notification strategy guide covers this.
  • Sharing links between users.
  • Marketing campaigns that drive installs and land users on an offer.
  • Password reset and sign-in links.
  • QR codes in physical locations.
  1. Your website hosts a file called apple-app-site-association at a specific location, listing your app and the paths it can handle.
  2. Your app declares the associated domains it supports.
  3. When a user taps a matching link, iOS opens your app with the URL, and your app shows the right screen.
  1. Your website hosts a Digital Asset Links file, assetlinks.json, declaring your app and its signing certificate.
  2. Your app declares intent filters for the URLs it handles, with automatic verification.
  3. Verified links open your app directly.

Setting up deep linking

  1. Plan your URL structure so app screens map to website URLs.
  2. Host verification files correctly on your domain, served over HTTPS with the right content type.
  3. Configure the app to handle incoming links and route to screens.
  4. Handle authentication: if a screen requires login, take the user there after they sign in.
  5. Provide web fallbacks so links work for users without the app.
  6. Test thoroughly across devices, browsers and email apps.

Deferred deep linking tools

Several third-party services handle deferred deep links and attribution. If you used Firebase Dynamic Links, note that Google shut that service down in 2025, so apps relying on it needed to migrate to alternatives. Choose providers carefully and check their privacy practices.

Common issues

  • Verification files missing, misnamed or blocked by redirects.
  • Links opening in the browser instead of the app because of how certain apps handle links.
  • Screens not loading because the app expects data that isn't in the URL.
  • Breaking existing links after app updates.
  • Forgetting tablet and web versions.

Privacy considerations

Deep links can carry identifiers for attribution. Avoid putting personal data in URLs, and follow consent and platform tracking rules when measuring campaigns.

Analytics

Track which links are opened, whether they open the app or web, and what users do next. This shows which campaigns drive engagement. Our guide to app onboarding explains why landing new users on relevant content improves activation.

Planning your URL structure

Good deep linking starts with sensible URLs. Use the same paths on your website and in your app, such as /products/123 or /bookings/456, so one link works everywhere. Avoid session IDs or temporary parameters in shareable links, and keep old URLs working when you restructure, using redirects on the web and route mapping in the app.

QR codes on packaging, posters and receipts should use universal or app links, so scanning opens the app when installed and a useful web page otherwise. Test codes before printing large runs, because printed links are hard to change later.

How we help

Our mobile app development team implements universal links, app links and deferred deep linking. Our web development team hosts verification files and builds matching web pages, and our app development service maps URLs to screens consistently.

Frequently asked questions

What's the difference between a deep link and a universal link?

A deep link is any link to content inside an app. Universal links are Apple's verified web-URL-based deep links.

What happens if the app isn't installed?

Universal links and app links open your website instead. Deferred deep links can send users to the store and then the right content after install.

Do deep links work in emails?

Usually, but some email apps open links in their own browser. Test with the email clients your users use.

This guide is general information, not legal, tax or financial advice, and details such as prices, features and rules can change. Product and company names mentioned are trademarks of their respective owners and are used only to identify those products; UK Technology Hub is not affiliated with or endorsed by them.

Related guides

All web & mobile apps guides