[ANSWERED] Track country by IP


I’ve noticed that the country that Piwik tracks is the one is set in the browser settings. For example for I’m in Ecuador and I tested the tracking from diferent browsers and if the default language in the browser is “Spanish (Spain)” tracks like I’m in Spain, etc.

Isn’t better to track the country based on the IP?

(Sorry for the bad English)

Sergio Laprea


Good news: GeoIP is now integrated in Piwik, enabling Accurate Visitors Geolocation in your Analytics reports. To enable GeoIP go to the Settings > Geolocation admin page, and follow the short instructions.

You can also get an even more accurate Country & City Database from here to enjoy top accuracy in detecting your visitors locations.

See also the documentation about Geolocation - Analytics Reports in Piwik.