Answer the question
In order to leave comments, you need to log in
How to correctly implement the definition of the visitor's locality on the site?
Now we are working on logistics for an online store with the definition of the visitor's locality on the site and a number of questions have arisen.
Our task is to take all the settlements of the Russian Federation (not only cities) and assign its own type of delivery to each point using the KLADR database.
After looking at a number of large online stores, I did not find villages, towns, villages in their list of choice of settlement. And I asked questions, due to the fact that I am not a technical specialist.
1. What is the best way to determine the location of the visitor, using which tool (service) or approach?
2. Is it possible to determine the location down to villages, villages, towns and other small settlements?
3. If it is not possible to implement point 2, then what if the visitor is really located in the village and there is delivery only by mail to his settlement? If we offer him the nearest city, then the information will be inaccurate, because. in this city can be delivered by courier, for example.
Who faced similar tasks and how did you implement it, or are you a technical specialist who will tell you how best to implement this task?
Answer the question
In order to leave comments, you need to log in
IMHO, it's best to do this: at the first visit, determine the region by GeoIP, show the user and ask to confirm or select another region or clarify. And then use the region selected by the user or the region selected automatically, but again confirmed by the user.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question