How to configure geo detection
Introduction
In geo configuration you can configure how LHC is detecting user location. By default we use maxmind for that purpose and you do not have to do any configuration.
Remote ones
- https://www.abstractapi.com/ip-geolocation-api
- https://ipstack.com
- https://ipinfodb.com
- https://locatorhq.com
- http://ip-api.com
Local ones
- mod_geoip2
- MaxMind - http://dev.maxmind.com/geoip/geoip2/geolite2/
- PHP-GeoIP module
To show online visitors icons in the map you will have
- To get REST API key from google.
- In maxmind configuration you have to use
City
based detection. Make sure that you have downloadedvar/external/geoip/GeoLite2-City.mmdb
this file from MaxMind.
To show started chat visitor location on the map you have to enable
- To get REST API key from google.
- Enable Maps Static API
Permissions
For an operator to be able configure this section he has to have this permission
'lhchat','administrategeoconfig'