[solved] IP anonimization, location error


#1

Hi,
To be in conformity with European law, we enable ip anonimization to mask the two last number of ip address.
Moreover we localize IP with GeoIP (PHP).

However, since we enable anonimization, we have location error,
Here is an example :

109.94.40.70 : this ip is suppose to be in France next to a town called "Limoges"
But when you remove the two last number :
109.94.0.0 : this ip is localize in Russia next to Moscow

Piwik see this IP 109.94.40.70 in Moscow but it’s wrong.

It’s possible to localise before IP anonimization to fix that or maybe already fix since 2.9.0 ?


(Matthieu Aubry) #2

in the Privacy settings you can select to do the Geo location using Non anonimised IP addresses. You can change the setting and it should fix it.


#3

Hi matt,
Thanks, I did not see that.