Answer the question
In order to leave comments, you need to log in
GeoIp - how to determine the visitor's city?
Hello. There was a need to determine the city of the visitor on one of the sites. Useful in google, there is the last article from the 13th year. And some of the links don't work anymore. What do you use in 16th to determine the user's location?
Answer the question
In order to leave comments, you need to log in
For these purposes, I used the Yandex.Maps API + dadata.ru
>What do you use in year 16 to determine user's location?
The same as in 2015 and 2014 and in 2010 and 2008.
MaxMind to determine by IP, or Google geocoding to determine by coordinates.
For client-side definition in JS, you can use the Sypex Geo API and get the data in JSON or JSONP. For PHP, you can download the database there, or also access the API from PHP so as not to bother with updates. What specifically to choose depends, in principle, on the volumes, how many IPs you need to determine.
I was also looking for a similar service for a long time, I stopped at https://ipwhois.io/
nikolaevevgeGeoIp: blog.ivru.net/?id=82
The library is suitable for Joomla Wordpress Bitrix theoretically any version. CMS is determined automatically.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question