New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cities do not correspond to regions #14462
Comments
Hi there. Sorry for the delay. What exactly is wrong with the regions? We actually only use the data provided by Maxmind in this case. Only the region names are stored within in Matomo, but I don't think the mapping from ISO codes to region names has changed. See https://github.com/matomo-org/matomo/blob/3.x-dev/plugins/GeoIp2/data/isoRegionNames.php#L2979-L3060 |
Hi! Thank you for your reply, |
ah ok. so we need to update our region mapping. Will have a look at that |
Hi, I'm using matomo 3.9.1 with GeoIP 2 (PHP)

The problem is that Moroccan cities are not matching regions (also the map is showing incorrect regions for cities) as you can see in the picture below :
I also tested some IP address here:
https://www.maxmind.com/en/geoip-demo
and seems like everything is OK, so I do not know where the problem comes from.
PS: I can help correct Moroccan cities to match their regions
The text was updated successfully, but these errors were encountered: