Geolocation bug

Hi,
We have installed latest version of Matomo. We want to use Geolocation feature but there’s a bug.
Same code has been installed on 2 laptops and for one, it shows location as US and for other it shows India. We are perplexed on why this is happening. Can someone please help us?

Hi,

Make sure you have set up the geolocation plugin properly and downloaded the geolocation database.
Also make sure your server is not just seeing private IP addresses from inside the private network as they can’t be geolocated.

In case of private IP, Matomo seems to deduce the country from the user agent configuration (accept-language HTTP header).

1 Like