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

Matamo tracker code automatically opts people out #20069

Closed
andysh-uk opened this issue Dec 1, 2022 · 2 comments
Closed

Matamo tracker code automatically opts people out #20069

andysh-uk opened this issue Dec 1, 2022 · 2 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@andysh-uk
Copy link

I've rebuilt a website recently and replaced my Matamo privacy opt-out iframe with the new functionality introduced in 4.12 (I'm using 4.12.3.)

Whilst testing, I noticed that when the opt-out code is the much shorter version using the "Use the Matamo tracker code to set the opt out" option, when a user visits the page, the cookie "mtm_consent_removed" is automatically set without any interaction, even though the form says "to opt-out click the box."

When you check/uncheck the box, this cookie is added/removed.

If I use the "self-contained" code, no cookie is automatically set, and check/unchecking the box adds or removes different cookies - "mtm_consent" or "mtm_consent_removed".

I feel this behaviour with the cookie should be consistent whichever option is used, and certainly should not automatically opt users out without them interacting with the checkbox.

@sgiehl
Copy link
Member

sgiehl commented Dec 1, 2022

I think this should already be fixed with #19915
A new release should be pushed soon, which should include the fixed.
If it's urgent you can also consider using the latest release candidate: 4.13.0-rc2

@sgiehl sgiehl closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2022
@sgiehl sgiehl added the duplicate For issues that already existed in our issue tracker and were reported previously. label Dec 1, 2022
@andysh-uk
Copy link
Author

Ah, perfect, thanks.

I'll look out for the new release, not urgent, I've used the standalone code for now.

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.
Projects
None yet
Development

No branches or pull requests

2 participants