Deep links: links that open your app
A deep link is an ordinary web address that opens a page inside your app. Put one in an email, a text, a QR code or a post, and a tap takes the person straight to the right place: an offer, an order, their basket.
This page is for everyone on the team. It explains what happens when someone taps a link, and how to set links up. Your developers then add a few lines to the app: see Next steps.
What happens when someone taps a link
Section titled “What happens when someone taps a link”Say Northwind Coffee sends a link to its new loyalty offer, /offers/42.
On a phone with your app
Section titled “On a phone with your app”The app opens on the offer. No browser, no extra tap.
On a phone without your app
Section titled “On a phone without your app”The link sends the person somewhere useful instead. PurrCRM picks the first of these you have set up:
- The offer’s own web page (the destination’s Its web page).
- Your Web page for a phone without the app.
- The App Store or Google Play.
- A page PurrCRM makes, with the app’s name, an Open in button and your store buttons.
When the link goes to a store, it waits for the person. They install the app, open it, and it opens on the offer, not on its start screen. On Android this always works through Google Play. On an iPhone, turn on Keep links through an iPhone’s install (see step 1). The link waits for a day: the app must be opened for the first time within 24 hours of the tap.
On a computer
Section titled “On a computer”A computer can’t open your app. It goes to the offer’s web page, or your Web page for a phone without the app. With neither, it gets PurrCRM‘s page with a QR code: “On a computer: scan this with your phone.”
A saved link can also show a computer the QR code on purpose (On a desktop, A QR code): see Make and share links.
In Instagram, Facebook or TikTok
Section titled “In Instagram, Facebook or TikTok”These apps open links in their own browser, which can’t open other apps. When PurrCRM sees one of them (or LinkedIn, LINE or Snapchat), it shows the page “This opens in” your app, with a way out:
- On Android, the Open in button opens your app directly, or Google Play when the app isn’t there.
- On an iPhone, the page says to tap •••, then Open in Safari, or to copy the link and open it there.
Set up your links
Section titled “Set up your links”You need to be an owner or admin of the workspace to change these settings. Everyone else can read them.


1. Turn links on
Section titled “1. Turn links on”Go to Links › Setup. In the Link domain card:
- Give the links a Name: lowercase letters, digits and
-, such asnorthwind. Your links are then on PurrCRM‘s address, under/l/northwind/. - To use a domain of your own instead, such as
go.northwind.example, fill in Host of its own (optional). Add a CNAME record for it at your DNS provider, pointing where the hint says. PurrCRM then sets up the host and its certificate. Check what phones read shows when it is ready. - Fill in your apps:
- iOS apps: one a line, your Apple team ID, a dot, and the bundle ID, such as
ABCDE12345.com.northwind.rewards. The team ID is in your Apple developer account, under Membership. - Android package, such as
com.northwind.rewards. - Android signing SHA-256: one fingerprint a line, from Play Console › Test and release › App integrity › App signing. Add your debug key’s too, for builds from your own machine.
- iOS apps: one a line, your Apple team ID, a dot, and the bundle ID, such as
- Say where a phone without the app goes:
- Web page for a phone without the app (optional): an
httpsaddress.{path}in it is replaced by the link’s path, such ashttps://northwind.example{path}. - App Store page (optional) and Google Play page (optional).
- Web page for a phone without the app (optional): an
- Tick what you want:
- Use these links in emails: your emails’ links to places in the app then open the app. Turn it on once most of your users have a build of the app that opens links.
- Allow UTM tags on links into the app: lets your team add
utm_source,utm_mediumandutm_campaignto links into the app. Leave it off if your app is strict about the links it reads. - Keep links through an iPhone’s install: a link still opens the right page after someone installs your iOS app from it. iOS asks the person before the app reads the link, so turn it on with a build of the app that does this.
- Let the app make links for its users to share: your users can share a place in the app with a short link of their own.
- Press Turn links on.
PurrCRM checks the links as soon as they are saved.
2. Name the places links can open
Section titled “2. Name the places links can open”Go to Links › Destinations. A destination is a place in your app, written as a path with its changing parts in braces: /offers/{offer_id}. Every link picker in PurrCRM offers these places.
- An app with the current SDK reports the places it declares. They appear at the top of the page: press Add, or Add all.
- To add one yourself, press Add a destination. Give it a Name (what your team sees, such as Offer page) and its Path in the app. For each part in braces, say What it is and, if you like, a Default.
- Its web page (optional) is where a phone without the app, or a computer, goes for this place. It can use the path’s parts:
https://northwind.example/offers/{offer_id}.


3. Check what phones read
Section titled “3. Check what phones read”Before a phone opens a link in your app, it downloads a small file from your link domain that says which apps may open its links. iPhones read one called apple-app-site-association, Android phones one called assetlinks.json. PurrCRM writes both from your settings.
On Links › Setup, press Check what phones read. You see a line for each:
- iOS (apple-app-site-association)
- Android (assetlinks.json)
Each should say Names the app. Not yet comes with what is wrong, such as a missing team ID or fingerprint. With a host of your own, a first line also says how the host stands, ending at Host ready.
The In the app card below shows what your developers put in the app, with your host already filled in.
4. Try a link
Section titled “4. Try a link”At the bottom of Links › Setup, Test a link shows what each kind of visitor gets from a link: an iPhone, Android, a Desktop, a Social preview and Instagram’s browser. Paste a link, press Test it, and read Opens the app and What happens for each. Nothing is counted.
To try a link on a real phone, add your phone under Testing › Preview on my phone, then use Send to a test phone in Links › Build a link.
Where links may go
Section titled “Where links may go”Your links can only send people to places that are safe to send them:
- Your app’s own places, opened in the app.
- The stores: only real App Store (
apps.apple.com) and Google Play (play.google.com) addresses. - Any other website, including your own, gets a page first. It says “You’re leaving for” and the site’s name, with a Continue button, and a link to open your app instead.
On that page, anyone can press Report this link, say What is wrong with it? (optional) and Send the report. Reports reach PurrCRM, who can switch a harmful link off. A link that is switched off no longer opens anything.
The addresses a saved link sends people to off the app are also checked against Google Safe Browsing when the link is saved, and every night after. See Keeping links safe.
How long a link gets the credit
Section titled “How long a link gets the credit”- Installs: an install counts for a link when the app is opened for the first time within a day of the tap.
- Goals: a saved link with a goal counts the contacts who did the goal’s event within so many days of first opening the link in the app. A link sets its own days. For a link that doesn’t, the days are the app’s Credit a goal to a link for (days) on Links › Setup: 1 to 90, and 7 when empty.
- Re-engagement window (days, optional), on the same card, tells apart opens by people who already used the app in the days before from new and returning ones.
When something doesn’t work
Section titled “When something doesn’t work”- The link opens the browser, not the app. Press Check what phones read on Links › Setup. Both lines should say Names the app. If one says Not yet, fix what it says (often the team ID, the bundle ID, or a missing SHA-256 fingerprint), press Save, and check again.
- It works on one phone and not another. The phone needs a build of the app that opens links. Ask your developers whether that build has the intent filter (Android) or the Associated Domains entry (iPhone) from the In the app card.
- iPhones still open the browser after a fix. An iPhone downloads the file when the app is installed or updated. Delete the app and install it again to read the new file.
- A debug build on Android doesn’t open links. Add your debug key’s fingerprint to Android signing SHA-256.
- The check says DNS not set up yet, or DNS points elsewhere. Your own host’s CNAME record is missing or wrong. Fix it where your domain’s DNS is kept. A change can take a while to spread; DNS couldn’t be checked means try again in a minute.
- Tapping a link in Instagram shows a web page. That’s Instagram’s browser. The page shows the way out: see In Instagram, Facebook or TikTok.
- After installing, the app opened on its start screen. On an iPhone, turn on Keep links through an iPhone’s install and check the app’s build supports it. On both, the person must open the app within a day of the tap, and the link must have gone to the store, not to a web page.
- A saved link says Disabled. It was switched off, for example because Google Safe Browsing flagged its address. See When a link breaks.
- You get an email that your links stopped opening the app. See When a link breaks.
Next steps
Section titled “Next steps”Your developers hand every link that opens the app to PurrCRM‘s SDK, so the app goes to the right place and the open is counted.
| Your app | Read |
|---|---|
| Flutter | Links in Flutter |
| Android | Links on Android |
| iOS | Links on iOS |
| A website | Links on the web |
Then make and share links.