# Open your app from WhatsApp links

> Why links tapped in WhatsApp open a web page instead of your app on Android and iPhone, what WhatsApp's in-app browser and preview fetcher do, and how Strait gets people from a chat into the right app screen.

Source: https://straitlink.in/open-app-from/whatsapp/
Markdown: https://straitlink.in/open-app-from/whatsapp.md

## Make WhatsApp links open your app, not a web page

WhatsApp is one of the main places links get shared in India. Here is what happens when someone taps one on Android or iPhone, and how to get them into the right screen of your app.

[Simulate a tap from WhatsApp](https://straitlink.in/tools/will-it-open/?ch=whatsapp-android&url=https%3A%2F%2Fshop.example.com%2Fproducts%2F42) [Start free](https://app.straitlink.in/?signup=1)

WhatsApp · the problem

## WhatsApp can open your link in its own browser, so your app doesn’t open.

What it costs you

People who already have your app read your mobile site inside the chat, signed out.

What Strait does

It names WhatsApp’s browser and shows a page with a one-tap “Open in app” on Android. Elsewhere the normal hand-off opens your app.

**Short answer:** On recent Android versions WhatsApp can open links in its own browser, where a plain redirect to your app often does nothing; other versions hand the link to the phone. The link server recognises WhatsApp's browser and shows an Open in app page, and answers WhatsApp's preview fetcher without counting it as a tap.

## Will it open from WhatsApp?

Paste the address your link points to and pick how the tap arrives from WhatsApp. 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](https://straitlink.in/tools/will-it-open/?ch=whatsapp-android&url=https%3A%2F%2Fshop.example.com%2Fproducts%2F42).

What the link server decides

## What Strait does with a tap from WhatsApp

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, WhatsApp’s in-app browser

**What Strait sees**

Android (Android 14), inside WhatsApp's in-app browser.

**Decision**

WhatsApp in-app browser: shows a page with a one-tap "Open in app" button, plus how to open the link in the real browser.

**App installed**

A page with an "Open in app" button. One tap opens the app at the deep link.

**App not installed**

The same button goes to Google Play with the link attached, so the app can open the right screen after install. The page also shows how to open the link in the real browser.

### Android, WhatsApp hands the link to Chrome

**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, the link opens in Safari

**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).

### WhatsApp building the preview card

**What Strait sees**

A link-preview fetcher or script, not a person.

**Decision**

Preview (link-preview bots and requests without a browser user agent): served the preview card (title, description, image), never a redirect; counted as a preview, never billed.

**App installed**

No redirect. The chat shows a preview card built from the link's title, description and image.

**App not installed**

Same: previews never redirect and are never billed as taps.

## How WhatsApp opens a link

What happens after a tap depends on the WhatsApp version and the phone. Recent Android builds can open links in WhatsApp's own browser, a web view that runs inside the chat and adds `WhatsApp/<version>` to its user agent. Other versions, and WhatsApp Business, can pass the link to the phone instead, which then picks a browser or an app. On iPhone, a tapped link usually leaves WhatsApp for Safari or a Safari view, where Universal Links open your app. Strait's Universal Links were tested on a real iPhone in October 2026, though not yet from inside WhatsApp; install matching after an App Store install is opt-in.

That split matters because a web view inside WhatsApp can't launch another app on its own. A plain redirect to `intent://` or to your custom scheme often does nothing there, and the person is left looking at your website inside a chat window.

## Before anyone taps: the preview card

When someone pastes your link, WhatsApp fetches it to draw the preview card: title, description and image. That request carries a bare `WhatsApp/2.x` user agent with no browser prefix, so it is not a person tapping. The link server answers it with the preview you set on the link and records it as a preview. It never counts towards your taps, so a broadcast to ten thousand people doesn't cost ten thousand taps before anyone has opened it.

Set a clear title and a 1200 × 630 image on links you plan to forward. A link without them gets a bare URL in the chat, and people tap bare URLs far less.

## Getting out of the chat

When the tap comes from WhatsApp's in-app browser on Android, the link server shows a short page with your app's name and icon and an **Open in app** button. That button uses the same Android hand-off as a normal redirect, which Android web views generally follow when a person taps it. We haven't recorded this inside WhatsApp on a real phone yet, so test it on yours. Without the app, the same button goes to Google Play with the link attached, so the app can still open the right product after install. If the button can't work on that phone, the page explains how to open the link in the real browser.

When WhatsApp passes the link to the phone and your App Links are verified, Android opens your app directly and the link server never sees the tap from a browser. Your SDK then reports the open.

## Checklist for WhatsApp campaigns

- Verify App Links for your link domain, so phones that hand off skip the browser entirely.

- Add `utm_campaign` to broadcast links, so each broadcast has its own row next to everyday chat sharing.

- Test on a phone with WhatsApp Business too, if your customers message you from a business account.

- Don't shorten a link twice. A third-party shortener in front of your link adds another redirect inside the web view.

Read [Troubleshooting](https://straitlink.in/docs/troubleshooting/) if a WhatsApp tap still opens your website.

Analytics

## How WhatsApp taps are counted

Analytics files these taps under the channel `whatsapp` 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 WhatsApp, then Android reporting that the tap came from `com.whatsapp` or `com.whatsapp.w4b`, then a referring page on `whatsapp.com` or `wa.me`. A `utm_source` you set always wins, so a campaign tag like `utm_source=whatsapp-broadcast` keeps its own row.

## Try a real tap from WhatsApp

- **1**Send yourself the demo link Paste `demo.strait.link/try` into WhatsApp (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**Simulate it [Open the simulator with WhatsApp already picked](https://straitlink.in/tools/will-it-open/?ch=whatsapp-android&url=https%3A%2F%2Fshop.example.com%2Fproducts%2F42), change the link or clear an app setting, and watch the decision change.
- **3**Trace it Scan the [Live Tap Trace](https://straitlink.in/#try) on the home page with your phone to see each step of one real tap arrive.

## Go further

- [Troubleshooting When a link opens the browser instead of the app](https://straitlink.in/docs/troubleshooting/)
- [App Links & Universal Links The verification that lets a tap skip the browser](https://straitlink.in/docs/app-links/)
- [Check your App Links setup Free check of assetlinks.json and apple-app-site-association](https://straitlink.in/tools/app-links-checker/)
- [Analytics: how we count Channels, taps, opens and installs](https://straitlink.in/docs/analytics/)

### The other apps your users tap in

- [Instagram](https://straitlink.in/open-app-from/instagram/)
- [Facebook](https://straitlink.in/open-app-from/facebook/)
- [Telegram](https://straitlink.in/open-app-from/telegram/)
- [Gmail](https://straitlink.in/open-app-from/gmail/)
- [LinkedIn](https://straitlink.in/open-app-from/linkedin/)
- [X (Twitter)](https://straitlink.in/open-app-from/x-twitter/)
- [YouTube](https://straitlink.in/open-app-from/youtube/)
- [Snapchat](https://straitlink.in/open-app-from/snapchat/)
- [SMS](https://straitlink.in/open-app-from/sms/)
- [Discord](https://straitlink.in/open-app-from/discord/)
- [Pinterest](https://straitlink.in/open-app-from/pinterest/)
- [Reddit](https://straitlink.in/open-app-from/reddit/)
- [Truecaller](https://straitlink.in/open-app-from/truecaller/)
- [Paytm](https://straitlink.in/open-app-from/paytm/)
- [TikTok](https://straitlink.in/open-app-from/tiktok/)
- [Outlook](https://straitlink.in/open-app-from/outlook/)

## Make your own link for WhatsApp.

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

[Start free](https://app.straitlink.in/?signup=1) [Read the quick start](https://straitlink.in/docs/quick-start/)
