App to geo target customer address

Solved
Highlighted
New Member
2 0 0

Hi Shopify community,

 

I am looking for an application allowing us to get the user address from their GPS location of their mobile browser and match this with Google Map.

This will be used in a food delivery context, have you heard about something like this?

 

Thanks

0 Likes
Highlighted
Community Moderator
Community Moderator
3244 245 556

Hi @Monsieur_JZ,

 

Nick here from Shopify. Really good question, I like your thinking on this!

 

I looked through the Shopify app store and could only find Geo Location apps for when a customer would be in a different country and it would re-direct them based on their country and not a specific GPS address. You can see these Geo Location apps in the app store here

 

Because of this, what I think you're looking for is very customized and would probably require to have something custom built for you. It's definitely something which is possible but would need to be built for your needs specifically. You can see the Shopify Expert directory here to research and look for an expert you resonate with and would feel comfortable working with on this for your store. 

 

Hope this answers your question and points you in the right direction for the best next steps! 

 

All the best, Nick

Nick | Community Moderator @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
Highlighted
Shopify Partner
32 6 13

I think what you're talking about here is HTML5 geolocation. You can take a look here https://developers.google.com/maps/documentation/javascript/examples/map-geolocation and see if it's of any help.

0 Likes
Highlighted
New Member
2 0 0
Indeed that's it, my question was if there was a way to leverage on this data instead of having the customer to enter shipping information manually
0 Likes
Highlighted
Shopify Partner
32 6 13

This is an accepted solution.

html5 geolocation returns GPS coordinates only. You will have to pass these coordinates into a geocoding API (Google, MapBox, Here) to fetch city, country, street, etc. Then you'll have to put these fields into checkout form programmatically. 

1 Like
Highlighted
Explorer
191 2 11

Hi there!

I saw you have got the solution, but just to add one comment. I agree HTML5 GeoLocation API would be the solution in your case, as it can access your visitors' precise location with long/lat data across different browsers and devices. But one thing needs to be aware that it requests visitors' content before geolocation data can be obtained. Thus some visitors' data might not be available as some users may not be comfortable sharing their data. For may details, you may read the post: https://geotargetly.com/html5-geolocation-api 

With obtained lat/long data, you can get detailed street address using geocode API matching lat/long data with street address.

While for visitors not granting permission sharing their location, you can potentially provide alternative ways, like letting visitors typing their address manually.

Hope it helps!

 

 

0 Likes