Cookie Consent: Segmentation in Matomo

Hi!

So we are using Matomo with and without cookies. We followed these instructions (https://matomo.org/faq/new-to-piwik/how-can-i-still-track-a-visitor-without-cookies-even-if-they-decline-the-cookie-consent/) and also created the segments, as described in https://matomo.org/faq/how-to/how-do-i-segment-people-that-have-been-identified-using-tracking-cookies/.

When a user comes to our website (and didn’t accept the cookies yet), the user will show up in the segment “No cookie consent given”.
When the cookies get acceptet, the user shows up in the segment “Cookie consent given”.

But when the user changes the cookie settings afterwards (decline the matomo cookies), the user still shows up in the segment “Cookie consent given”, although the user should show up in the segment “No Cookie consent given”.

Tested with the realtime report.

Do you guys have any idea why the user still shows up in the wrong segment?

Greets,
Stefan

Do you use visit dimension or action dimension?

As segments are not filters, the result may not be the one you expect…
If during his visit the visitor set the dimension as no_cookie then change as with_cookie, then, for that visit, he will appear in both segments…

Also have a look at: