Briitany (Bretagne), Loire countries (Pays de la Loire) Normandy (Normandie), East (Grand Est), Provence Alpes Cote-Azur.
so many of the visitors are listed in unknow region, though the towns are correctly registred.
As we are located in these Matomo unknown regions, the statistics are poor
je_mi_bi
(Jean-Michel)
March 29, 2023, 12:23pm
2
Are you using Matomo Cloud or OnPremise? I found the following re: Matomo On Premise and location accuracy: https://matomo.org/faq/new-to-piwik/faq_168/
Hope this helps.
JM
Hi @communication_vernoi
There is already some bug reports about this problem:
opened 12:48PM - 28 Mar 23 UTC
Bug
c: Tracking
## Context
When geolocation is enabled in Matomo, Matomo tries to detect and … store the location of the visitor based on his IP.
Depending on the use location database, this may contain country, region and city details.
Countries and Regions are internally stored as iso codes.
Unlike most other databases the free DBIP location database does not include any region codes. Instead it only serves region names.
To be able to store the region details in that case, we try to look up the region code by it's name using a [list of all regions](https://github.com/matomo-org/matomo/blob/5.x-dev/plugins/GeoIp2/data/isoRegionNames.php).
This currently fails as in some cases our list is not up to date in other cases the database returns the name in e.g. another language or writing.
As the free DBIP geolocation database is the suggested default database, we should improve that detection/mapping.
This problem has already been reported in various other issues like: https://github.com/matomo-org/matomo/issues/19359, https://github.com/matomo-org/matomo/issues/19329, https://github.com/matomo-org/matomo/issues/19411, https://github.com/matomo-org/matomo/issues/16714
## Expected Behavior
Regions should be detected correctly when using free DBIP location database
## Current Behavior
Regions are only partially or not detected at all for certain countries.
## Possible Solution
The detection of regions should be done a bit more fuzzy. In addition the list should also contain old names of regions, regions that have been removed from iso and maybe also some other names that are used by DBIP database.
A proposed solution can be found in https://github.com/matomo-org/matomo/pull/20420
@mattab @Stan-vw Might be good to prioritize this one into Matomo 5 as it might impact a lot on premise customers.
The proposed solution is almost finished. Might need a couple more hours to look it through again and maybe add some more tests.
opened 07:45PM - 03 Aug 17 UTC
Major
RFC
c: Accessibility
Our map wasn't updated for some years and some stuff is shown wrong or is incomp… lete.
Unfortunately our map generator (https://github.com/piwik/piwik-map-generator) is outdated and doesn't work anymore.
We either should try to get the old generator working again or look out for some completely new maps.
Would be awesome if we would find some volunteer for this project, as we currently have more important issues and won't be able to handle this soon.
Summary of Issues that should be resolved with new maps:
#11266, #10963, #10123, #9719, #9170, #321, #13347, #18459 and maybe others