/ 01FROM AN APPOPEN YOUR APP FROM ANY APP · GMAIL

Make links in Gmail and other email open your app

Gmail has no in-app browser that blocks apps, so email links behave better than social ones. The trouble usually starts with the link tracking your email tool adds.

Gmail · the problem

Link tracking in your email tool wraps every link in a redirect.

What it costs you

The tap reaches a tracker’s domain first, so the phone never gets the chance to open your app from your link.

What Strait does

Gmail hands the link to Chrome or Safari, where the hand-off opens your app, or the store with the link kept.

Short answer: Gmail passes links to a Chrome tab on Android and to Safari, a Safari view or Chrome on iPhone, so no escape page is needed. Verified App Links let Android open your app before any browser loads. Without them, the link server hands off to the app or Google Play.

/ 02FROM AN APPPASTE A LINK

Will it open from Gmail?

Paste the address your link points to and pick how the tap arrives from Gmail. The answer prints like a record, stamped.

Runs the link server’s own decision code in your browser; nothing you paste is sent. The example app has an Android package and an App Store ID. More settings in the full simulator.

What the link server decides

What Strait does with a tap from Gmail

Each card is the link server’s real decision for that kind of tap, worked out by running its code on the user agent the tap arrives with. The example app has an Android package and an App Store ID; the link points to https://shop.example.com/products/42.

Android, Gmail opens a Chrome tab

What Strait sees
Android (Android 14), in the phone's browser.
Decision
Opens the app if installed, otherwise Google Play with the link attached for deferred deep linking.
App installed
The app opens at the deep link, directly from the tap.
App not installed
Google Play, with the link in the install referrer. After install, the SDK reads it and opens the right screen (a deferred deep link).

iPhone, Gmail opens Safari or a Safari view

What Strait sees
iPhone or iPad (iOS 17.5), in the phone's browser.
Decision
iPhone browser: the app did not open by itself (not installed), so it shows the "Get the app" page; the tap on it goes to the App Store; after install the app can pick up the link on first open (when install matching is on).
App installed
If the app is installed and its Universal Links are set up, iOS opens the app before the tap reaches Strait, so this page does not appear.
App not installed
A "Get the app" page. The tap on it goes to the App Store, and the app can pick up the link on first open when iPhone install matching is switched on (opt-in).

iPhone, Gmail set to open links in Chrome

What Strait sees
iPhone or iPad (iOS 17.4), in the phone's browser.
Decision
iPhone browser: the app did not open by itself (not installed), so it shows the "Get the app" page; the tap on it goes to the App Store; after install the app can pick up the link on first open (when install matching is on).
App installed
If the app is installed and its Universal Links are set up, iOS opens the app before the tap reaches Strait, so this page does not appear.
App not installed
A "Get the app" page. The tap on it goes to the App Store, and the app can pick up the link on first open when iPhone install matching is switched on (opt-in).

On Android, Gmail opens links in a Chrome tab (a Custom Tab), which uses Chrome's own engine and user agent. Before that, Android checks whether an app has verified the link's domain. If your App Links are verified, Android can open your app directly and the tap never needs a browser. If not, the Chrome tab loads the link and the link server hands off to your app with an Android intent, or sends people without the app to Google Play.

On iPhone, Gmail can open links in a Safari view inside Gmail, in Safari, or in Chrome, depending on the default-browser choice in Gmail's settings. All three present themselves as real browsers, so the link server treats the tap as a normal iPhone browser tap. Strait's Universal Links were tested on a real iPhone in October 2026, though not yet from inside Gmail; install matching after an App Store install is opt-in.

The cards above show that none of the Gmail cases needs an escape page.

Newsletters and transactional email are often sent through a tool that rewrites every link to its own tracking domain so it can count taps on each link. The phone then sees a tap on the tracking domain, not on your link domain. App Links and Universal Links are checked against the domain that was tapped, so the app can't open directly. The tap goes to the browser, which follows the tracking redirect to your link.

With a hosted link this still ends well on Android: the browser reaches the link server, which sends the intent hand-off. On iPhone it usually ends on the Get the app page or your website, because Universal Links rarely fire after a redirect inside the browser.

Two fixes, in order of preference:

  1. Turn off link tracking for app links in your email tool, for that campaign or that link. Most tools let you exclude links one by one.
  2. Count taps with your link instead. Each tap is already recorded, with utm_source=email and a utm_campaign per send.

Labelling email taps

Taps that come from the Gmail app on Android (com.google.android.gm) or from mail.google.com are labelled gmail automatically. Other mail apps and webmail may not say where the tap came from, so tag email links with utm_source yourself: email, or the name of the send.

Transactional email

Password resets, order confirmations and sign-in links should open the app on the right screen. Use a deep link with the destination path, and give these links an expiry, so an old email can't open a stale screen months later.

Analytics

How Gmail taps are counted

Analytics files these taps under the channel gmail even when the link has no UTM tags. It works that out from, in order: a utm_source on the tap or in the link’s destination, then the in-app browser’s user agent, when the tap happens inside Gmail, then Android reporting that the tap came from com.google.android.gm, then a referring page on mail.google.com. A utm_source you set always wins, so a campaign tag like utm_source=gmail-broadcast keeps its own row.

/ 03FROM AN APPTHREE STEPS

Try a real tap from Gmail

  1. 1Send yourself the demo linkPaste demo.strait.link/try into Gmail (a chat with yourself, a draft, a private post) and tap it on your phone. You see what your users would see first. Without our demo app installed, the tap ends on our website.
  2. 2Simulate itOpen the simulator with Gmail already picked, change the link or clear an app setting, and watch the decision change.
  3. 3Trace itScan the Live Tap Trace on the home page with your phone to see each step of one real tap arrive.

Make your own link for Gmail.

Free for 25,000 taps a month, no card. Every tap from Gmail shows up with its own trace.