title: How to promote/open app from Google search website results?
body: <h2>Background</h2>
  
  <p>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.</p>
  
  <p>When choosing to navigate, there are 2 options: </p>
  
  <ul>
  <li>if the Android device has Google-Maps installed, it opens the app and navigates there.</li>
  <li>if the Android device doesn't have Google-Maps installed, it goes to the play store to the app's page, to install it.</li>
  </ul>
  
  <p>as shown below:</p>
  
  <p><img src="https://i.stack.imgur.com/wrO7yl.jpg" alt="enter image description here"></p>
  
  <p>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) :</p>
  
  <p><img src="https://i.stack.imgur.com/ZlY38l.jpg" alt="enter image description here"></p>
  
  <h2>The question</h2>
  
  <ol>
  <li><p>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?</p></li>
  <li><p>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?</p></li>
  </ol>
  
  <p>What should be done (code in android-app, website and others) in order to have those features?</p>