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=

    Please note that if you only just generated the license key that it may take a few minutes for the link to work.

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

Previous FAQ: How do I install the GeoIP 2 module for Apache for accurate Geo location data?