Create Geo Location Database for my internal networks

I’m using Piwiki on our private network and would like to map our internal IP network to locations.
Is this possible?

Hi,
It is possible, but you’d need to create your own GeoIP database and most likely modify the Piwik core code.
I’d suggest using Custom Variables instead, simply set a variable for a visitor that is decided on his IP and name it with the location name.
http://piwik.org/docs/custom-variables/
Cheers,
Michal

Could I use the Custom variable to say this subnet is = to a location?

@plegault such approach would need to have logic implemented on your side, just providing the final value to the custom variable function. Check out Custom Dimensions which came in 2.16, they can pick up values dynamically from query parameters or by regular expression: Custom Dimensions - Analytics Platform - Matomo

Isn’t the IntranetGeoIP working anymore?

I get only country information not city because everyone connecting to the servers I’m monitoring or on private IP networks.

1 Like