The Uber deep-link URL
The full URL fromindex.html:
index.html
URL parameters explained
The action to perform.
setPickup pre-fills both pickup and dropoff fields in the Uber app. This value should remain setPickup.Your Uber API client ID, obtained from the Uber developer dashboard at developer.uber.com. Replace
Yh7Dl6SjB56RY2JuuZF8ttVa6ryFV78W with your own client ID.The pickup location.
my_location instructs the Uber app to use the guest’s current GPS position as the pickup point. Leave this as my_location.The human-readable address of the venue, URL-encoded. Update this with your venue’s full address. Use
encodeURIComponent() or an online URL encoder to encode spaces and special characters.Example: Fortune Park Panchwati - Hotels in Kolkata, Howrah, West Bengal, India becomes Fortune%20Park%20Panchwati%20-%20Hotels%20in%20Kolkata%2C%20Howrah%2C%20West%20Bengal%2C%20IndiaThe latitude of the venue. Current value:
22.593276. Replace with your venue’s latitude coordinate.The longitude of the venue. Current value:
88.270277. Replace with your venue’s longitude coordinate.How to update the button
- Get your Uber API client ID from developer.uber.com — create a free account and register your app
- Find your venue’s latitude and longitude (see the Google Maps tip)
- URL-encode your venue’s full address
- Replace the values in the
hrefattribute inindex.html:
index.html
The
https://m.uber.com/ul/ deep-link works as a universal link on mobile devices. On iOS and Android, if the Uber app is installed it opens directly in the app with the dropoff pre-filled. On desktop browsers it redirects to the Uber website. No JavaScript is needed — it is a plain <a href> link.Location of the button in the page
The button is inside#map-content, which is the info card overlaid on the Google Map. It shares the row with the “Show map” button:
index.html
