Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segment attribute not kept during live widget updates #4237

Closed
anonymous-matomo-user opened this issue Oct 23, 2013 · 3 comments
Closed

Segment attribute not kept during live widget updates #4237

anonymous-matomo-user opened this issue Oct 23, 2013 · 3 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

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
Copy link
Member

mattab commented Nov 3, 2013

In ecde5ea: Fixes #4237 Forwarding segment parameter on refresh

@anonymous-matomo-user anonymous-matomo-user added this to the 2.0 - Piwik 2.0 milestone Jul 8, 2014
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@fsuter
Copy link

fsuter commented Sep 17, 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
Copy link
Member

mattab commented Sep 17, 2018

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants