Custom IP mapping list for Geolocation

We’ve got an internal-only web site for which we want to track statistics. We are using Piwik already, but obviously with internal, non-routable IP ranges, the Geolocation information is always wrong. What would be the best way to use a custom list/database of IP’s mapped to names?

Thanks for any help, guidance, or pointers!



Thanks for the reply, but I can’t seem to download the file that AParis attached. I’m getting an error from the forums.

Link is:…post&id=118

Error is:

Sorry, some required files are missing, if you intended to view a topic, it’s possible that it’s been moved or deleted. Please go back and try again.

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.