AnonymizeIp: introduce new hook for masking the IP at tracker runtime
|Reported by:||peterb||Owned by:||vipsoft|
|Priority:||normal||Milestone:||1.4 - Piwik 1.4|
For the anonymizeIP-Plugin, it is not only necessary to mask the IP for storing in the DB but also for the user recognition heuristics and all other plugins / tools / components that use the visitor IP before it is masked.
Since it must be masked very early at runtime to be sure, that only the shortened IP is used for all correlations, we need a new hook.
// (proposal from matt) // Hook to modify the IP Piwik_PostEvent('Tracker.Visit.setVisitorIp', &$this->visitorInfo['location_ip']);
Any suggestions on this?
Change History (7)
comment:6 Changed 3 years ago by vipsoft (robocoder)
- Resolution set to fixed
- Status changed from new to closed