Unique visitor ID not working with setCookieConsentGiven and addTracker #19511
Labels
Potential Bug
Something that might be a bug, but needs validation and confirmation it can be reproduced.
Milestone
Expected Behavior
If I add another tracker, then after each page reload the Unique User ID (
_pk_id
) value is reset when usingsetCookieConsentGiven
:If only one tracker is registered, the Unique User ID remains stored.
Current Behavior
As a result, Matomo no longer tracks users across multiple visits.
Steps to Reproduce (for Bugs)
See live example: https://www.erf.de/test.html
Your Environment
The text was updated successfully, but these errors were encountered: