Answer the question
In order to leave comments, you need to log in
What service for determining GEO IP do you use on your sites?
What GEO IP service do you use on your websites?
Previously, we used the https://marketplace.1c-bitrix.ru/solutions/rover.geoip/ solution , but it is unstable.
Also, sypexgeo was previously installed, often incorrectly determines the geolocation.
We consider both paid and free products for determining the location.
Answer the question
In order to leave comments, you need to log in
There is such a solution https://marketplace.1c-bitrix.ru/solutions/intervo...
In Bitrix after the 17th version in the box:
\Bitrix\Main\Service\GeoIp\Manager::getCityName($ip,LANGUAGE_ID);
As already written, there is a standard API for obtaining geodata.
This API receives data using geodata handlers, which are available here:
Settings > Product settings > Geolocation
. You can also add custom handlers using the onMainGeoIpHandlersBuildList event.
You can set up 2-3 geolocation handlers to receive data (if it is not possible to get data from the 1st one, the next one will be called).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question