IP to country database

I wonder which databas Piwik is using. I found some of IPs resolving to different country. I have IP form Nepal, but it says it’s US.

refer to this page about how Piwik resolves the user country.

if you want a more accurate country detection you should install the GeoIP Plugin


Hi, thank you

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.