I implemented user ID tracking - after login I send unique identifier via dataLayer. This part works as expected and I see the session in Matomo backend tracked with ID specified.
According How are requests with a user ID tracked?: “Any previously tracked action for this visitor before the user was logged in is also associated with this User ID. When a user logs in, Matomo counts all actions before and after logging in as one user, one visit, and one unique visitor.”
However in reporting backend I see that the original Visitor session doesn’t inherit the user ID after login and those two sessions are tracked separately. (screenshot)
What could be the cause of this?
Should these sessions be tracked as one immediately (real time report shall reflect that), or it takes some time to recalculate it?
@heurteph-ei I just tried with 2 completelly different browsers (Chrome and Canary)
browser 1: Chrome
opened anonymous browsing
logged into Matomo cloud admin
opened Real-time report
browser 2: Canary
opened anonymous browsing
opened tracked website - this was shown in Real-time report of admin (browser 1)
logged into website and browsed through some of the pages this was shown in Real-time report of admin (browser 1), but it created a separate entry in Real-time report