Hello,
We have Matomo 3.12.0 setup on my environment. We are using GeoIP2 (php) plugin for the location tracking from visitors. but we have an issue here, some of the users are browsing from their websites & monitoring analytics. But it is showing default location as “united States” instead of original locations. I read some of the official documents like after 1.9 or later versions it is using GeoIP2 for tracking locations instead of languages. So we tried to download latest version of this plugin from Maxmind website “https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz” in the same way which we have done earlier. But we are not able to download latest version from that website. We have location logs also when we are browsing website but still indicating wrong location.
So please help us how to configure GeoIP2 plugin properly & how to track exact locations from Matomo
Can you check the IP addresses of visitors? If they are all the same check if you are behind a reverse proxy. If they are private IP addresses then you are in the same network as the server and geolocation can not work.
The Maxmind geoip databases are not freely available anymore at the URL you used since the start of 2020.
Now you need to register for an account and accept their terms of services here if you want to use them: https://dev.maxmind.com/geoip/geoip2/geolite2/
Hello,
Thanks for the reply,
Finally we found that & signed up for the account & provided license details as well. But it’s not installing properly. It’s throwing some error like " Error: Matomo tried checking the location of a known IP address (194.57.91.215), but your server returned ‘L’Ecouvotte, BFC, FR’. If this provider were configured correctly, it would return ‘Besançon, BFC, FR’.".
Please help me on this. How we can install, what are the steps we need to follow.
Thanks & Best Regards
Revathi