Improve geolocation accuracy with Matomo for WordPress
When you first install the Matomo plugin for WordPress it will automatically enable Geolocation through the default free DB-IP database. While this provides some level of accuracy, there are both free and paid databases from MaxMind which are said to offer a higher level of accuracy, especially for City level data in addition to Country level data.
Accessing the MaxMind databases requires registration, even for the free version, so if you’d like to use this instead you will need to sign up for a MaxMind account and then copy over the provided license key to download the database to your server.
How to configure MaxMind on Matomo for WordPress
- Log in to your WordPress Dashboard.
- Look for the Matomo Analytics menu area and click on the Settings page.
- Click the link to get a Maxmind License key and follow the required steps.
- Paste your new license key into the WordPress settings page and hit Save Changes.
Whether you use the default provider or sign up for a MaxMind account, the database is stored locally on your server and geolocation requests are also processed on your server so your visitors personal data is not shared with the database provider.