User IP in DB

Solved4.81K viewsCore
1

Why is it important writing down user IPs in database?

1

Added a filter to disable IP logging of user for view count.

add_filter('ap_log_ip_view', '__return_false');

Add this filter to your theme function.php

0

Its because when we want to calculate unique views then we gonna need this.

though there is no use of unique view at the moment, but t will be useful when we introduce “trending” and “hot” topics.

Is it possible to anonymize this data? In my case I don´t need “trendig” or “hot”. And generally I don´t write down IPs. Is it possible to opt-out like Piwik does? http://piwik.org/docs/privacy/#step-1-automatically-anonymize-visitor-ips

Will add an option for that.