BF50 Black Friday · 50% off all plans
from $5/mo · Auto-applied ---:--:-- Claim 50% off →
Skip to content

Search Seonio

Type a keyword, domain, or paste a URL

Start free with $1 to see full results. Powered by Seonio
SEO

App indexing: How search results open your app

App indexing links your app to your website, so a search result opens the matching screen in your app. Today that means App Links and Universal Links.

Monthly searches · app indexing
2.4k
Keyword research data
app indexing
App indexing: How search results open your app
Click the image to view it full size

App indexing means making the content inside a mobile app reachable from search. Someone searches, taps a result, and lands on the matching screen in your app instead of the web page. If they don't have the app, the same result opens your website, so nobody hits a dead end.

The name comes from Google's old product, Firebase App Indexing. Firebase now says it's no longer the recommended way to do this, and the Google Search App for Android no longer uses content indexed through it. Firebase recommends Android App Links and Apple's Universal Links instead. Firebase

How it works today

Search engines index your web pages, not your app. So every app screen you want reachable from search needs a matching web page at a stable URL, and that page ranks like any other.

You then verify that your app and your website belong together. Once verified, a tap on one of your URLs opens the app if it's installed. If it isn't, the URL opens in the browser and your website handles it. Apple describes Universal Links as standard web links: one URL works for both your site and your app. Apple Developer

This is a verified kind of deep link. Plain deep links work too, but on Android they show an "Open with" choice, and only verified links can claim your website's URLs.

  1. Add intent filters to your app manifest for the URLs your app handles. They need the VIEW action, the BROWSABLE and DEFAULT categories, an http or https scheme, and android:autoVerify="true".
  2. Publish a Digital Asset Links file at https://yourdomain/.well-known/assetlinks.json for every host in those filters. It names your app's package and signing certificate.
  3. Install and test. On Android 6.0 (API level 23) and later, the system checks the file when the app is installed, and verified links then open in your app without asking. On Android 11 and lower, verification only succeeds if every host in the manifest has a matching file. Android Developers

You can test a link from a computer with Android Debug Bridge, for example adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "https://yourdomain/recipes/chocolate-cake".

  1. Add the Associated Domains capability to your app in Xcode, with an entry such as applinks:yourdomain.com.
  2. Host an apple-app-site-association file in your site's .well-known directory. Apple requires it to be served over https:// with a valid certificate and no redirects.
  3. Handle the incoming link in your app and route it to the right screen.

One behavior surprises people when testing. If someone is already browsing your site in Safari and taps a link to the same domain, iOS keeps them in Safari. Test by tapping your link from another app, such as Notes or Messages.

Keep web and app in step

  • Show the same content on both. The person tapped a result for the web page; the app screen should give them that content.
  • Let crawlers in. Search can only find app content through the web page, so don't block those pages in robots.txt.
  • Land on the content. Don't send search visitors to a login screen, splash page or ad first.
  • Make Back work. After a deep link, the back button should return people to where they came from.

What old guides get wrong

Tutorials from the Firebase era tell you to add android-app:// alternate links to your pages, call the App Indexing API, install the GoogleAppIndexing SDK for iOS and watch app reports in Search Console. Skip all of it. Search Console dropped its Android app search appearance data from the API in 2019. Google Search Central

To measure results today, use the Performance report in Google Search Console for the web pages behind your app screens, and your app analytics for opens that arrive through those links.

What if you don't have a website?

Then search can't open your app, because search results point to web pages and both App Links and Universal Links verify against your own domain. Plain deep links still work for links you share yourself, such as in emails or ads.

SEO wiki

Related terms

More definitions from the same corner of SEO and digital marketing.

Seonio

Put it to work on your own site

Keyword research, traffic, backlinks and clustering in one place. Start with a free $1 to test, no card required.