Deep link testing confirms that a campaign URL opens the intended page or screen on supported devices, while providing a useful fallback when the app is unavailable. This guide gives product, engineering, and marketing teams a repeatable way to estimate test coverage, choose realistic device combinations, diagnose failures, and record results before a release, campaign launch, or routing change.
Overview
A deep link is a URL that directs a user beyond an app’s home screen to a specific destination, such as a product detail page, account view, article, checkout step, or campaign landing screen. The same link may be opened from a browser, email, QR code, text message, social post, or advertising platform. Its result can vary according to the operating system, app installation state, app version, browser, user permissions, and link configuration.
Testing therefore needs to check more than whether a URL returns a successful HTTP response. A useful mobile deep link checker or manual test should answer four questions:
- Does the URL resolve to the intended destination?
- Does it open the app when the app is installed and eligible to handle the link?
- Does it reach the correct screen with the expected parameters?
- Does it fall back cleanly to a web page or store destination when the app is missing or the route is unsupported?
Universal Links on Apple platforms and Android App Links are related approaches, but their configuration and verification behavior differ. Treat each platform as its own routing system. A link that works on one should not be assumed to work on the other.
How to estimate deep link test coverage
Start with a coverage estimate rather than an arbitrary device list. The goal is to test each meaningful combination of link type, platform state, and expected outcome. A simple planning formula is:
Estimated test cases = link destinations × operating systems × app states × entry sources × key browser or device variations
For example, a campaign with three destinations, two mobile operating systems, two app states, and two entry sources creates 24 baseline cases before adding browser or version variations. This is not a quality score; it is a way to expose the scope of the work and make omissions visible.
Prioritize cases by risk when the full matrix is too large. Test revenue, authentication, account, and time-sensitive campaign routes first. Include destinations with query parameters, fragments, encoded characters, login requirements, or content that may be unavailable to all users.
Platform and device test matrix
| Platform | App state | Entry source | Expected result |
|---|---|---|---|
| iOS or iPadOS | Installed and signed in | Safari, email, QR code, or campaign page | App opens the intended screen and preserves valid parameters |
| iOS or iPadOS | Installed but signed out | Browser or message | App opens and presents the correct authentication or public-content path |
| iOS or iPadOS | Not installed | Browser, message, or QR code | Web fallback or documented store destination loads without a loop |
| Android | Installed and eligible | Chrome, email, QR code, or campaign page | App Link opens the intended screen and retains parameters |
| Android | Installed but signed out | Browser or message | App handles the route and shows the expected sign-in behavior |
| Android | Not installed | Browser, message, or QR code | Fallback page or store destination loads correctly |
| Desktop browser | Mobile app unavailable | Direct URL or campaign link | Responsive web destination loads without app-specific errors |
Use physical devices for final confidence where possible, especially for QR codes, installed-app behavior, notification flows, and links that depend on account state. Emulators and device farms are useful for breadth, while a small set of representative physical devices can reveal behavior that a simulated environment does not reproduce.
Inputs and assumptions
Before running tests, document the inputs that determine the expected result. This makes failures easier to reproduce and prevents a successful test from hiding an incomplete setup.
- Canonical URL: Record the exact deep link, including path, query parameters, fragments, capitalization, and encoding.
- Route mapping: State which app screen and web page should receive the link.
- Platform: Record the operating system and version used for each test.
- App version: Note the installed build, release channel, and relevant configuration.
- App state: Distinguish installed, not installed, signed in, signed out, first launch, and previously used.
- Entry source: Identify whether the link came from a browser, email, QR code, social post, notification, or another app.
- Fallback rule: Define the expected destination when the app cannot handle the route.
- Tracking requirements: Confirm which campaign parameters must survive the handoff and where they should be recorded.
Avoid treating a status code as the complete result. The redirect chain may be technically valid while still opening the wrong screen, stripping parameters, or sending an installed-app user to a web page. A redirect checker can help inspect the chain, but it should be paired with an end-to-end device test.
Status and fallback reference
| Observed result | What it may indicate | Next check |
|---|---|---|
| Expected app screen opens | Basic routing works for this test state | Verify parameters, analytics, and other platforms |
| Web page opens instead of the app | Association, eligibility, browser, or link configuration issue | Check platform association files, domain, and installed-app state |
| Store opens when the app is installed | App recognition or routing configuration may be incomplete | Repeat from a clean state and inspect the route configuration |
| Blank page or error screen | Destination route, app handling, or fallback failure | Test the canonical web URL and capture logs |
| App opens but shows the wrong screen | Path mapping, parameter parsing, or stale build issue | Compare the received URL with the expected route |
| Parameters are missing | Redirect, encoding, or handoff may be dropping query data | Run a URL encoding and redirect comparison |
Worked examples
Example 1: Estimating a campaign matrix
Assume a campaign has two deep link destinations: a product screen and a promotional offer. The team wants to test iOS and Android, both installed and not installed states, and two entry sources: email and QR code.
The baseline estimate is 2 destinations × 2 platforms × 2 app states × 2 entry sources = 16 test cases. Add signed-in and signed-out behavior for the product screen, and the estimate increases by the number of additional state combinations selected. The point is not to maximize the count. It is to identify which assumptions are being tested and which remain unverified.
Example 2: Diagnosing a fallback failure
A QR code opens the app correctly on a device where the app is installed. On a second device without the app, it opens a blank page. First, test the destination URL directly in a browser. If the direct web page also fails, investigate the web route or redirect chain. If the direct page works, compare the QR code’s encoded URL with the intended canonical URL, then inspect any intermediate short URL, campaign parameters, and fallback rules. This separates a QR generation problem from a routing or web-destination problem.
Incident log template
Record one row for each failure and attach a screen recording or captured URL when permitted:
| Field | Example entry |
|---|---|
| URL | Exact deep link, including parameters |
| Operating system | Platform and version |
| App version | Build or release identifier |
| Device and browser | Device model and entry application |
| App state | Installed, signed in, or not installed |
| Expected result | Screen, web page, or fallback destination |
| Actual result | Observed screen, error, or redirect |
| Reproduction steps | Short sequence from link tap to failure |
| Owner and status | Responsible team, priority, and next action |
When to recalculate and retest
Repeat the matrix before each major app release, campaign launch, QR code deployment, domain or redirect change, and deep-link routing update. Recalculate whenever a new destination, platform, browser, authentication state, or tracking parameter is introduced. A previously passing link is not proof that a changed app build or campaign configuration will behave identically.
Review the test plan quarterly as a maintenance habit, and revisit it sooner after a major mobile operating system release or a change to universal-link or Android App Link requirements. Platform behavior, association files, browser handling, and app lifecycle behavior can change independently of the URL itself.
For the next release, create a small reusable test sheet with the canonical URL, expected route, platform matrix, fallback rule, and incident owner. Run high-risk cases first, preserve failed URLs exactly as tested, and close the loop by retesting every fix on both the failing state and at least one neighboring state. This turns deep link testing from a one-time tap check into a repeatable link management and release QA workflow.