Background
When you search on Google's search engine website on an Android device (via Chrome web browser) something like "how to get to X" (where X is a geographic location, like a city name) , the first item that is shown is a card that allows to navigate to the location you've written.
When choosing to navigate, there are 2 options:
- if the Android device has Google-Maps installed, it opens the app and navigates there.
- if the Android device doesn't have Google-Maps installed, it goes to the play store to the app's page, to install it.
as shown below:
In addition, on some cases, for something, Google can put an extra textbox to search within the website it has found, to get the results on it. Such a thing occurs for the Hebrew website "Zap" (which compares prices of products) :
The question
Is there a promotion-program or service or anything to promote a website/app/both this way (deep linking and search box)? If so, where should I start?
Suppose you already have a website that can perform search queries, how do you do the check of whether the app is installed or not (inside the website, not via Google's search engine), and act accordingly? Can this be done only on Google Chrome app?
What should be done (code in android-app, website and others) in order to have those features?