Skip to content

When embedding dashboard in an iframe, some widgets don't apply the selected Segment #12172

@mattab

Description

@mattab

When embedding the dashboard as an iframe, and selecting a segment in the segment list, the widgets refresh and only some of the widgets correctly apply the segment. It seems maybe that those widgets that load within widgets don't get passed the segment value.

  • Let's fix the issue
  • and add a UI test for this use case

Reproduce URL: https://demo.piwik.org/index.php?module=Widgetize&action=iframe&moduleToWidgetize=Dashboard&actionToWidgetize=index&idSite=3&period=week&date=today&token_auth=anonymous&updated=5&segment=deviceType%3D%3DSmartphone%2CdeviceType%3D%3DTablet

All users: valid metrics

all visits

Mobile users: note the left report is correct, while the Visits overview with graph still show same data as all visits

mobile users

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions