Skip to main content
The location global reads geolocation from the device the dashboard is being viewed on (phone, tablet, or desktop), using the browser’s geolocation.

One-shot position

Watch position

watchPosition calls your callback on each update and returns a function to stop watching.

Support check

options accepts the standard browser PositionOptions (enableHighAccuracy, timeout, maximumAge).

Next: device & context

Product, device, and environment info.