Geo URI Link Not Opening a Map App? Test It and Add a Fallback

Troubleshoot a geo URI link that won't open a map app, plan mobile browser tests, and provide an HTTPS fallback and readable destination for visitors.

Published
Reading time
5 min read
Geo URI Link Not Opening a Map App? Test It and Add a Fallback
On this page

If a geo: URI link is not opening a map app, the cause may be the link, the browser, the device’s app configuration, or a handoff prompt the user did not expect. Test the link on the devices your audience uses, and provide a separate HTTPS map link so visitors have another way to reach the destination.

Key Takeaways

  • A geo: URI identifies a geographic location; an HTTPS map link points to a web address that a browser can navigate to.
  • A valid geo: link does not guarantee that a particular browser or installed app will handle it.
  • Offer an always-visible HTTPS alternative and readable destination text. Do not depend on detecting whether an app opened.
  • The platform behavior and example links in this article were not tested, and RFC 5870 and current platform documentation could not be consulted in this run. Verify them before deploying a campaign.

A basic geographic URI contains latitude and longitude, in that order:

geo:37.786971,-122.399677

RFC 5870 defines the geo: URI scheme. The example above identifies a point, not an ordinary web page. The operating system and browser determine whether to offer or perform a handoff to an app that can handle the link. A prompt to choose an app is not the same as a failed link, but it can interrupt the visitor’s journey.

An HTTPS map link instead uses a normal web address supplied by a map provider. Depending on the device and its settings, that address may open in a browser or be handed to a map app. Do not assume that an HTTPS link will always stay in the browser.

Advertisement

Add an HTTPS Map Fallback

The following HTML presents both choices and keeps the coordinates readable without either link. Replace the example coordinates with your destination in all three places. The HTTPS example uses a Google Maps search URL; its behavior and current provider requirements were not verified here, so check the provider’s documentation and test the exact link before publishing.

<p>
  Destination coordinates: latitude 37.786971,
  longitude -122.399677.
</p>
<p>
  <a href="geo:37.786971,-122.399677">Open this location in a map app</a>
  <br>
  <a href="https://www.google.com/maps/search/?api=1&amp;query=37.786971%2C-122.399677">View this location on Google Maps</a>
</p>

If the destination has a meaningful name or street address, add it as readable text too. Link labels should describe their destinations, rather than both saying “click here.” The second link remains available whether the first link does nothing, opens an app, or displays a chooser.

Do not rely on a timer, a page-visibility event, or another browser signal as proof that an app opened successfully. An automatic fallback can also send a visitor away while they are responding to a prompt. A visible choice is easier to understand and retry.

No operating system, browser, or map-app combination was tested for this article. Use the matrix below as a test plan, not as a compatibility report. Add the specific browsers and apps your audience uses, and record their versions and device settings alongside each result.

Mobile OSBrowser or context to testInstalled map appsResult
AndroidChromeRecord installed appsNot tested here
AndroidFirefoxRecord installed appsNot tested here
AndroidRelevant in-app browserRecord installed appsNot tested here
iOSSafariRecord installed appsNot tested here
iOSChromeRecord installed appsNot tested here
iOSRelevant in-app browserRecord installed appsNot tested here

For each applicable row:

  1. Serve the example from a page you control. On the device, tap the geo: link directly and record whether an app opens, a chooser or error appears, or nothing visible happens. Record the app and the location shown when applicable.
  2. Return to the page and tap the HTTPS link separately. Record whether it reaches the intended location and whether it stays in the browser, prompts the user, or opens an app.
  3. Repeat with the actual campaign link and entry point, including any redirect or in-app browser. Also test the configuration a visitor may have when no suitable map app is installed, if you can do so safely.
  4. Check that both links are reachable by keyboard or assistive technology and that the readable destination remains available without opening a map.

Record what happened rather than marking a whole platform as supported based on one successful device. If results differ, compare the exact URI, browser context, installed apps, defaults, and any redirect used by the campaign.

Advertisement

Common Mistakes

  • Reversing the coordinates. The basic example is latitude first, longitude second. Check the destination independently before publishing.
  • Assuming a chooser is an error. Record the prompt and whether the visitor can complete the handoff.
  • Testing only the destination URL. A campaign redirect or an embedded browser can change the path the user takes. Test the link as visitors actually receive it.
  • Hiding the fallback after a timed redirect. A delayed or unsuccessful handoff can leave users without a clear next step.
  • Providing only a map link. Include a readable destination so people can copy or search for it themselves.

Best Practices

Use a straightforward geo: URI unless you have verified that the target apps support any additional parameters you need. Keep the HTTPS destination aligned with the same coordinates or address, and recheck both links when the destination changes. Avoid putting sensitive location information in public campaign URLs.

Before release, consult RFC 5870, the relevant mobile platform documentation, and the HTTPS map provider’s current link documentation. Check their requirements against the devices and app configurations in your own test matrix.

Conclusion

Treat geo: as an app-handoff option, not the only route to a location. Test the actual campaign path, retain a visible HTTPS alternative, and give visitors enough readable information to find the destination independently.

What would your domain sell for?

A free TidyURLs account unlocks the Domain Estimator. It prices a name from 191,011 real domain sales.