@anonymous-piwik-user opened this Issue on October 23rd 2013

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:
open http://demo.piwik.org/
select Widgets,Live!,Real Time Visitor Count
append the embed url with :
&segment=pageUrl=@demo
(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.

regards,
Richard.

Keywords: widget segment

@mattab commented on November 3rd 2013 Member

In ecde5eaffbcf668c5384adb22f2d09461363c8f6: Fixes #4237 Forwarding segment parameter on refresh

@fsuter commented on September 17th 2018

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.

@mattab commented on September 17th 2018 Member

Hi @fsuter
as this issue is closed, please create a new issue we will investigate

This Issue was closed on November 3rd 2013
Powered by GitHub Issue Mirror