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
Hide features that don't work when the website is configured in cookie-less tracking #16363
Comments
Hiding this data was also suggested in #13655 (comment) but we didn't do it since it can currently not be enforced and is only done client side. There are few more features like Cohorts, Multi Attribution, Visitor Profile, etc. Hiding this features might only be a good idea though if not also the userId feature is used. This feature will only work when cookies can be disabled server side eg see #16258 . We could look at making this work after #16258 was developed |
Here's what @mattab and I discussed: We archive a new metric "nb_profilable". It is the sum of how many people had cookies (or similar technology such as advertising identifier on iOS etc) enabled to identify them over several visits. If 99% or more of the visits were not "profilable" (had cookies disabled), then we assume the site is tracking cookie-less and remove certain features etc see issue description. It basically means for every requested date range we probably also need to check if there were "profilable" visits or not. We don't need to expose the new metrics to the UI for now but could do this later. This can be quite useful later to be able to see what percentage basically consented to cookies etc. @mattab I just looked in the code and |
Good question... Btw as I'm not sure anymore how the field profilable is used by Matomo. could we document the field in https://developer.matomo.org/guides/persistence-and-the-mysql-backend and maybe add an entry in glossary for Profilable https://glossary.matomo.org/ (or a FAQ if there's enough material but probably not)? if we were to workaround, what would be the options? (eg. would it make sense to have a separate column set to 1 when visitors had tracking cookies activated?) |
faq is eg here: https://matomo.org/faq/how-to/how-do-i-segment-people-that-have-been-identified-using-cookies-vs-fingerprint/ Profilable means you can create a profile of a user. That's either through cookies, userId or a fixed set visitorId. Workaround means Let's keep it simple and simply sum how many users had |
Couple questions:
|
Since we remove metrics from the UI, we would also ideally remove them from the API (so it's consistent with the UI, and also so that the data shown in API is trusted and it's good to know it doesn't return invalid data). Also could you keep track of which metrics are affected and compile them in a list, so you can publish the list of API metrics/reports affected in the existing FAQ: https://matomo.org/faq/general/faq_156/
When a segment is not compatible with the current site, then we could "hide" the segment from the list in the UI (but in the Segment APIs we would still return all segments). Also we want to make sure data for any segment on any website is not archived if the segment is invalid for this website. |
Regarding hiding segments, it would be great to also add a section in https://developer.matomo.org/api-reference/reporting-api-segmentation for example and ideally we also mention in the user guide https://matomo.org/docs/segmentation/ that some segments require tracking cookie and link to the list on the developer page. |
@diosmosis do you think we can finish this issue ideally this week so it can make it into the release? |
@tsteur I'll give it a shot. |
@diosmosis I'll move this for now to Matomo 4.1 milestone. The other issues have currently priority and we can always release it later. Feel free to continue working on it and we could otherwise still see if it can make it into 4.0 release or not fyi @mattab |
@diosmosis Will you still be working on this one? I guess the PR is still waiting on feedback from @mattab. Was just wondering if we should unassign you, so someone else might take over from here on. |
@sgiehl yes, just unassigned myself |
More and more people are disabling tracking cookies (we sometimes call it cookie-less tracking), because no cookie consent is needed then.
When cookie-less tracking is enabled some features don't work for example:
Because the features become very broken after cookie-less is enabled, people tend to get confused, and ask questions, or they may use the data not knowing it's very wrong! So it would be really useful to somehow hide these reports from users, or make it otherwise crystal clear that they shouldn't use this data. What do you think?
Note: we'd leave Visitor profile as it's helpful when user id is used
required for #15507
The text was updated successfully, but these errors were encountered: