Open MaticSulc opened 1 year ago
Thanks for reporting this @MaticSulc, that doesn't sound like correct behavior.
Could you share the details of the "no cookie consent " and "consent given" segments you are using? This will help us recreate the problem.
I am using the "Profilable" field, as stated in the tutorial. :)
For cookie consent given, the field is supposed to be 1. And vice versa, 0 for o consent.
Thanks @MaticSulc, I missed that you were using the Profilable
field :+1:
From looking at the profilable field code it seems that not updating this field when cookie consent is withdrawn is intentional due to the way visitor recognition currently works.
This behaviour doesn't produce an ideal outcome for segmentation, and could benefit from a re-evaluation and additional documentation. I've assigned this issue for prioritization.
A user writes the following:
"As I just recently activated cookieless tracking on one of our websites, I am interested in how this affects the total numbers etc. That's how I found this article, which is very helpful.
But here's one thing that surprised me a little:
So it's kind of once accepted, always accepted, am I right?
It doesn't seem to rely on a cookie being set, as I tried this with a new inkognito window. Maybe this is rather based on a matomo-based ID?
Is there a way to cope with that rather inaccurate segmentation? Is this a bug?
I have followed this guide, it works as expected on frontend. My consent handler calls
_paq.push(["forgetCookieConsentGiven"]);
, cookies get removed and don't reapply on load.If I look in the matomo dashboard, I have created segments based on Profilable fields.
Example: User comes on the website for the first time. Until they accept the consent, they are profiled in the "no cookie consent given" segment. When they do, it gets moved to the "consent given" segment. If they never accept it, they are not moved and stay there - as expected,
Now if a user changes their cookie consent and decides to block ads, my matomo dashboard keeps showing them in the "cookie consent given" segment. I don't think this is expected behaviour. I would expect that they start to get tracked in the "no cookie consent" segment, but everything they consented to is kept in the other one.
Looking forward to any opinions :)
Environment