Skip to content
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

AnonymousVisits - alternate plugin to exclude storing IP addresses #1026

Closed
anonymous-matomo-user opened this issue Oct 30, 2009 · 10 comments
Closed
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

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

@robocoder
Copy link
Contributor

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.

@anonymous-matomo-user
Copy link
Author

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.

@robocoder
Copy link
Contributor

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

@anonymous-matomo-user
Copy link
Author

Attachment: this is the plugin code
AnonymousVisits.zip

@anonymous-matomo-user
Copy link
Author

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!

@robocoder
Copy link
Contributor

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

@anonymous-matomo-user
Copy link
Author

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

@mattab
Copy link
Member

mattab commented Mar 22, 2010

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

@anonymous-matomo-user
Copy link
Author

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).

@mattab
Copy link
Member

mattab commented Apr 12, 2010

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.

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 0.5.5 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants