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

EU Data Privacy Directive compatibility for International sites #3648

Closed
anonymous-matomo-user opened this issue Jan 2, 2013 · 2 comments
Closed
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@anonymous-matomo-user
Copy link

Hi there,

I work at the Center for Democracy & Technology, where we work on lots of privacy issues. Up until recently, this has stopped us from using any cookie-based analytics tools, but we've been considering using Piwik since privacy is a focus.

However, we're an International site, and wish to comply with EU Data Privacy rules and still serve cookies to our US users. Does Piwik have any geofencing sort of ability, that we could block European IP ranges from being served any sort of cookie? Much thanks!

@mattab
Copy link
Member

mattab commented Jan 18, 2013

Thanks for your interest! It's wonderful to hear that the Center for Democracy & Technology is considering Piwik :-)

unfortunately, we cannot block cookies only for some visitors on the client side as it requires GEO IP location.

If you wanted to disable cookies for EU users I would recommend:

  • in your website, in teh footer where you display the piwik javascript code..
  • Display conditionally, the disableCookies() call if the users are from europe
  • To define if user if from europe, you can use GEOIP. You can even use Piwik for geo locating an IP via the API that but it would be slower since would need to do the API request for each IP.

hope it helps. If you get setup with Piwik it would be awesome if you could submit a testimonial or help us with publicity in any way... Thanks!

@robocoder
Copy link
Contributor

You could use Maxmind's JavaScript API for geolocation but it either requires a back link on your home page or a commercial license.

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. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants