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

No IP Plugin: removes the IP address of a visitor before writing to the DB #1168

Closed
anonymous-matomo-user opened this issue Feb 22, 2010 · 7 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@anonymous-matomo-user
Copy link

In some european countries like France or Germany, it is not allowed to save the IP address of a visitor (due to data privacy laws). This plugin overwrites the IP of a current visitor with zero.

How to install

  • download the plugin
  • unzip it into the plugins directory
  • activate it
    Attention: If you're using other plugins like GeoIP, make sure that this plugins runs at last, otherwise GeoIP can't work. To check the order, look in your config/config.ini.php. In the section [NoIpPlugin must be last. It should look like this:[BR]
    Plugins_Tracker[= Provider[BR]
    Plugins_Tracker[= GeoIP[BR]
    Plugins_Tracker[= NoIpPlugin[BR]

Keywords: IP data privacy

@anonymous-matomo-user
Copy link
Author

Attachment: No IP Plugin files
NoIpPlugin.zip

@mattab
Copy link
Member

mattab commented Feb 22, 2010

You have a good point that plugins should execute in given orders. I created to ticket to improve the hooks functionnality: #1169

@anonymous-matomo-user
Copy link
Author

Attachment: NoIP-Plugin v 0.2
NoIpPlugin_0.2.zip

@anonymous-matomo-user
Copy link
Author

Version 0.2 uses the Tracker.saveVisitorInformation hook, so order of plugins is not important any more.

@robocoder
Copy link
Contributor

Do you plan to continue developing this plugin? One idea is to add a table lookup (by country) that specifies the number of octets to mask (vs hard-coded at 2) for visitors from that country (vs everyone). This would require some research as I don't know of a list of all countries with such privacy rules. Such a list would also be subject to change, e.g., the court in France recently ruled that IP addresses are not considered personal information.

Otherwise, let us know if we should close this ticket, as it somewhat dupes #692.

@anonymous-matomo-user
Copy link
Author

This ticket can be closed.
I'm glad to see that it's implemented in [1877].
Current privacy rules in countries like Germany or France are unstable and may change in the near future. I think the effort of making the plugin country specific is not worth the benefit.

@robocoder
Copy link
Contributor

Ok.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

3 participants