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

Closed
anonymous-piwik-user opened this Issue Feb 22, 2010 · 7 comments

Comments

Projects
None yet
3 participants
@anonymous-piwik-user

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-piwik-user

This comment has been minimized.

Show comment
Hide comment
@anonymous-piwik-user

anonymous-piwik-user Feb 22, 2010

Attachment: No IP Plugin files
NoIpPlugin.zip

Attachment: No IP Plugin files
NoIpPlugin.zip

@mattab

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Feb 22, 2010

Member

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

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-piwik-user

This comment has been minimized.

Show comment
Hide comment
@anonymous-piwik-user

anonymous-piwik-user Feb 25, 2010

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

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

@anonymous-piwik-user

This comment has been minimized.

Show comment
Hide comment
@anonymous-piwik-user

anonymous-piwik-user Feb 25, 2010

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

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

@robocoder

This comment has been minimized.

Show comment
Hide comment
@robocoder

robocoder Feb 28, 2010

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.

Contributor

robocoder commented Feb 28, 2010

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-piwik-user

This comment has been minimized.

Show comment
Hide comment
@anonymous-piwik-user

anonymous-piwik-user Feb 28, 2010

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.

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

This comment has been minimized.

Show comment
Hide comment
@robocoder

robocoder Feb 28, 2010

Contributor

Ok.

Contributor

robocoder commented Feb 28, 2010

Ok.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment