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

Fix Custom opt out screen should not imply tracking consent given #16364

Merged
merged 2 commits into from Sep 2, 2020

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Sep 1, 2020

fix #16362

As explained in the issue.

When optUserOut is called, it should set the mtm_consent_removed cookie.

When calling forgetUserOptOut then it should only undo the previous action and remove the mtm_consent_removed cookie. It should not set a consent given cookie because the user did likely not really give proper tracking consent (they would then instead implement https://developer.matomo.org/guides/tracking-consent ).

Noticed this while implementing a custom opt out screen for Matomo for WordPress

fix #16362

As explained in the issue.

When `optUserOut` is called, it should set the `mtm_consent_removed` cookie.

When calling `forgetUserOptOut` then it should only undo the previous action and remove the `mtm_consent_removed` cookie. It should not set a `consent given` cookie because the user did likely not really give proper tracking consent (they would then instead implement https://developer.matomo.org/guides/tracking-consent ).

Noticed this while implementing a custom opt out screen for Matomo for WordPress
@tsteur tsteur added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Sep 1, 2020
@tsteur tsteur added this to the 4.0.0 RC milestone Sep 1, 2020
@tsteur
Copy link
Member Author

tsteur commented Sep 1, 2020

build js

@diosmosis diosmosis merged commit 1b5b6e5 into 4.x-dev Sep 2, 2020
@diosmosis diosmosis deleted the m16362 branch September 2, 2020 07:23
@mattab mattab modified the milestones: 4.0.0-RC, 4.0.0 Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom opt out screen should not imply tracking consent given
3 participants