I have a Live:Real Time Visitor Count embedded on another webpage, I wanted to be able to have a live view of the sessions in a specific portion of the page - but the "&segment=pageUrl=@subsite" only works for the initial count - the autorefresh ignores the segment setting.
I am using the current live build.
To recreate the issue:
select Widgets,Live!,Real Time Visitor Count
append the embed url with :
(this should show the live visitors on the demo site)
after 30 seconds or so it refreshes and defaults back to all users (for the demo site the change in numbers is normally from 0-1 to 5-10)
I believe this is a bug as the segment attribute does not look like it is being passed on in the refresh.
Keywords: widget segment
In ecde5eaffbcf668c5384adb22f2d09461363c8f6: Fixes #4237 Forwarding segment parameter on refresh
I'm stumbling on the same issue with Matomo 3.5.1 with the "getSimpleLastVisitCount" of the "Live" module. I'm also using the pageUrl as segment with a syntax like
segment=pageUrl=$foo/. On the initial loading I get a small number of visitors, which seems correct. However when the widget refreshes, I get the total number of live visitors for the whole site again.
I wanted to ask before opening a new issue.
as this issue is closed, please create a new issue we will investigate