Tracking userId session with multiply tabs records only last opened tab #13302
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
Hi Matomo team. I have an issue related to use case when the same user opens multiple tabs and heartbeat mode is enabled. The main problem is when I open new tab I call
trackPageView
. So new item will show on the tracker dashboard in this session row (same user - same session - but new page view) .BUT when I focus previous tab it sends ping request to analytic server where the time is being added not to current tab (page view) but to the last opened one. So after that even if I close last opened tab and change focus between two previous tabs. The time will be assumed for the last opened tab (page view) which does not exist already)
So I expect behavior that the heartbeat will update a previous page view time and not only the last one :) What do you think about it? Maybe I do something wrong
The text was updated successfully, but these errors were encountered: