Check these links - https://dev.wix.com/docs/velo/api-reference/wix-window-frontend/get-current-geolocation