
Once a GeoIP2 option is installed, it should be selectable and be Installed. How do I install the GeoIP module for Nginx? How do I install the GeoIP module for Apache? Details on how to do this can be found at the following links:

This is a fast and accurate method, but can only be used with normal browser tracking and may require you to set up the GeoIP module if it isn’t already active on your server. The PHP API method is the simplest way to do this and is typically the best option if you use shared hosting as it does not require any additional custom server configurations which may not be in some shared environments.ĭBIP / GeoIP 2 (HTTP Server Module) – This is a more advanced version of the former setting which takes advantage of a GeoIP module installed on your HTTP server. This setting should probably only be used if you can’t use a geolocation database for some reason.ĭBIP / GeoIP 2 (Php) – Since version 1.9, Matomo has included the ability to check a visitor’s IP address against a database of known and estimated IP locations to more accurately determine the location of your visitors. This is not very accurate as languages can be used in multiple countries and people may default to their native tongue even when living overseas. On arrival at the Geolocation page, you’ll find the following four configuration options:ĭisabled – If you don’t need or want geolocation data for your users, this is the most private option and will completely disable Matomo’s geolocation features.ĭefault – The default option guesses a visitor’s country based on the language that their browser is set to use. Within this section, you need to click on the System submenu which will reveal the Geolocation menu item.


These are accessed via the Settings section of Matomo which is accessed via the cog icon in the top menu. Within Matomo there are three main ways of establishing a user’s location. Geolocation is the process of determining where an IP address is geographically located. Note: This guide is applicable only for Matomo On-Premise, if you have any issue with Geolocation in Matomo Cloud, please get in touch with our Support team. Reports: Continent, Country, Region, City & Provider.
