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

Asking for consent - Piwik #141

Open
jayhaluska opened this issue Jan 11, 2019 · 0 comments
Open

Asking for consent - Piwik #141

jayhaluska opened this issue Jan 11, 2019 · 0 comments

Comments

@jayhaluska
Copy link

jayhaluska commented Jan 11, 2019

Hey guys,

I just realized that there is no way to use the "Ask for consent" feature of Matomo (Piwik). This is relevant because of the new GDPR in europe. I'm about to create a pull request for this one, but I want to hear your opinions on my implementation idea.

I want to introduce a PIWIK_ASK_FOR_CONSENT variable, like PIWIK_DISABLE_COOKIES.
To make it easy for the user of the consent functionality to integrate the request for consent, I wrote event listeners which are triggered on click and are attached to DOM elements with the following id's:

piwik_deny_consent
piwik_give_consent

What do you think? Do you see any problems with this kind of implementation?

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

No branches or pull requests

2 participants