How do I segment people that have been identified using tracking cookies?
If you are enabling tracking cookies on demand depending on whether a visitor has given you cookie consent or rejected cookie consent (see our Asking for Consent developer guide), then you may want to use a segment to get separate reports for these two different groups.
This is useful because disabling cookies impact Matomo’s report accuracy. Having segments for each group means you don’t mix less accurate data and accurate data when analysing for example the number of unique visitors or acquisition channels.
To view all reports only for people that have given cookie consent or where cookies were used to identify the visitor over a longer period create a segment based on the « Profilable » segment:
To view all reports only for people that have not given cookie consent or where cookies were not used (eg because cookies were disabled in the visitor’s browser) create the segment like this:
Please note that this feature requires at least Matomo 4.