Ticket #1026 (closed New feature: fixed)

Opened 2 years ago

Last modified 22 months ago

AnonymousVisits - alternate plugin to exclude storing IP addresses

Reported by: maxx Owned by:
Priority: normal Milestone: Piwik 0.5.5
Component: New Plugin Keywords:
Cc: Sensitive: no

Description

I have wrote a plugin to exclude IP addresses from statistic. It works in piwik normaly but does'nt store the ip in the database. This is a feature often needed in Germany to respect the privacy of visitors.

How can I publish the plugin here (piwik.org)?

Thanks, Markus

Attachments

AnonymousVisits.zip Download (1.0 KB) - added by maxx 23 months ago.
this is the plugin code

Change History

  Changed 2 years ago by vipsoft

  • priority changed from major to normal

Attach a zip file to the ticket and provide a plugin description with instructions for installation/configuration/support.

You should also mention how you anonymize ips. Google just sets the last octet to 0.

Your plugin sounds a lot like #692, so you might want to look at that to see if there any bases to cover.

  Changed 2 years ago by mic

Hello Markus,

i am also very intersted in this plugin. Could you provide a download (link or file) as vipsoft mentioned?

Thanks in advance!

@vipsoft: yes, it sounds like the #692 but here - as far as i understand - this plugn does NOT store the ip, rather than masking it.

  Changed 2 years ago by vipsoft

  • status changed from new to closed
  • resolution set to invalid

Closing this ticket until there's some code attached. ;)

Changed 23 months ago by maxx

this is the plugin code

  Changed 23 months ago by maxx

Sorry for the long answer period...

Here is the code. I've seen Piwik 0.5.5 contains a similar plugin now. The difference is my plugin restores the IP after saving a anonymous value in the database to work with the data in the current session.

Thanks for the good job with Piwik!

  Changed 23 months ago by vipsoft

  • keywords plugin ip address removed

  Changed 23 months ago by vipsoft

The difference is subtle. Do you want me to re-open this ticket so you can support/maintain this?

  Changed 23 months ago by maxx

Yes, please. You can re-open it. I'll do my best. ;-)

  Changed 23 months ago by vipsoft

  • status changed from closed to reopened
  • resolution invalid deleted

  Changed 23 months ago by vipsoft

  • summary changed from Plugin to exclude storing IP addresses to AnonymousVisits - alternate plugin to exclude storing IP addresses

follow-up: ↓ 11   Changed 23 months ago by matt

what is the difference between this plugin and the one bundled in core?

in reply to: ↑ 10   Changed 23 months ago by maxx

Replying to matt:

what is the difference between this plugin and the one bundled in core?


Here is a short summary:

The plugin prevent to save any IP address in the database (same as the original bundled plugin "AnonymizeIP" in Piwik 0.5.5).

The difference to the plugin "AnonymizeIP" bundled with Piwik is the preserving of the IP address in the current session. The core or other plugins can use the IP address for further processes if the session datas are used (i.e. a "live" plugin can show a list of IP addresses in his own widget).

  Changed 22 months ago by matt

  • status changed from reopened to closed
  • resolution set to fixed
  • milestone changed from Third Party Piwik Plugins to Piwik 0.5.5

Closing the ticket for now, as changing the IP in all processes might pose some problems in Piwik algorithms. Let us know if there is privacy issues with it in current Piwik implementation, and we can work to ensure we never store or display an IP.

Note: See TracTickets for help on using tickets.