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
When a user opts-out, do not send any tracking requests to the Tracking API #12767
Comments
Fixing this issue would also solve a problematic behavior currently in Matomo:
|
The only way I can imagine is to use It may get problematic if eg first the JS tracker is embedded on the opt out page and the cookie is set, and later this is no longer the case. If a user ever opted in again (I doubt this happens very often), and the JS tracker is no longer on the page that embeds the opt out, then the opt-out 1st party cookie would persist. Similar if there is an ad blocker where the JS tracker is blocked but the iframe is shown. Then it would also not work. In many cases it should work fine though and it would be potentially simple to implement I reckon. |
it sounds like a really good solution @tsteur When people have heaps of domains and URLs, the solution will be simple as they just need to install the opt-out iframe on each domain. we get the benefits from both worlds. Sounds great! |
@mattab I think this might be done? What we're doing now is using
This was done in https://github.com/matomo-org/matomo/pull/15184/files It won't work though when there are eg two trackers on the privacy page pointing to different Matomo installations. It's the same though for the regular opt out screen the user would then as usual embed two opt out screens anyway (or implement a custom opt out). |
@mattab see previous comment this should be done and work when the certain conditions are given as in previous comment. |
Currently, when a user opts-out of tracking, the requests will be ignored by the Tracking API, but the requests are still sent anyway. For better privacy, we should try not to send the requests at all, after a user has opted out.
This was discussed in #12598 (comment):
Note:
it is also a big strength that we do opt-out across all websites on the Matomo instance at once, so would be great to keep this functionality.
refs #12600
The text was updated successfully, but these errors were encountered: