New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to disable IP address logging #5732
Comments
Piwik needs to store IP in order to maximise chance of detecting unique visitors. Piwik will NOT display these IPs in the user interface. |
Here’s a plugin to anonymize IP addresses which seems to work just fine in my testing. ```
/**
} |
If I see this correctly that plug-in would (severely) distort the statistics for users who disabled cookies or delete them, e.g. by closing the browser. When I looked through the Piwik code I saw a statement that used a query matching several details (including the IP) to find a returning visitor in case no ID cookie is set. A way to anonymize the IP may be to use a one way hash function to encode it. But that would probably require changes at several places not just your logIPAnonymize() method?! Furthermore, this feature would only make sense if you also would modify the web server configuration. If I may ask: which websites are not allowed to log IPs? |
I’m new to Piwik but as far as I can tell, visitors without a cookie are identified via config_md5config (aka configurationHash), and whether or not you log it the IP address will still be a part of config_md5config, allowing visitors to be differentiated. I definitely agree that there’s a concern of the IP address being looked up; my method was to also anonymize some other parameters in the configurationHash. This makes the data set for the hash much larger, granted I’m not sure it’s “good enough” for an entity determined to “crack” an IP. |
I like this plugin. I updated it for the current version (0.4.x) (basically updating the trigger). Not saving the IP adresses of your customers might not suit everyone, but please accept this as a plugin as there is definitely an audience for a plugin like this. If there are any questions, direct them to me: alexander dot schwartz at gmx dot net Regards, Alexander.
|
To reiterate comment:1, we aren't accepting this into Piwik core. See #692 instead. |
please create a new ticket, package the plugin in a .zip that is ready for install, add a description like other tickets, and we will put it in the Third Party Plugin category. thanks! http://dev.piwik.org/trac/query?status=new&status=assigned&status=reopened&group=milestone&milestone=Third+Party+Piwik+Plugins&order=priority |
For legal reasons some websites cannot log IP addresses of website visitors. This may be due to privacy restrictions or other legal issues.
Is it possible to disable IP address logging in piwik? If not this would be a great feature to add. Anonymized IP address be recorded in the database as “0”.
The text was updated successfully, but these errors were encountered: