The Real Time Visitor Map is a great tool for Matomo (Piwik) users. It lists, in real-time, all visitors to the website and puts them on the map according to their country and locations (based on country, region, city and/or latitude and longitude).
If the Real Time Map is for you not showing any data, please check the following items:
- Make sure you have enabled Geo-location with the City database in your Matomo (Piwik). Geo-location will enable Matomo to try and fetch the following information for each visitor: country, region, city, latitude and longitude. After enabling City Geo-location (for example using the Geoip php or Geoip PECL options), most of your visitors will be geo located and should be displayed on the map!
- If you are using Apache webserver, create a .htaccess file, in the piwik/ directory, with the following content:
AddType image/svg+xml svg svgz AddEncoding gzip svgz
- If you are using Nginx webserver, in your mime.types file (example mime.types), add the following:
image/svg+xml svg svgz;
- If you are using IIS webserver, follow these instructions to enable SVG files.