When you set up geolocation in your Matomo On-Premise, then you can choose between different location providers such as DB-IP and MaxMind. The MaxMind DB shows generally more accurate results for cities and regions.

If you are wanting to use MaxMind, follow these steps

  • Create a license key as described in this FAQ
  • Use this URL and append the value of your license key at the end of the URL:

    https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&suffix=tar.gz&license_key=

  • Now you can copy / paste this URL into the Location Database Download URL field in your Matomo and save the change.