[Bug] Widget iFrame: link not redirecting #23199
Labels
Potential Bug
Something that might be a bug, but needs validation and confirmation it can be reproduced.
triaged
What happened?
When embedding Matomo widgets as iFrame, according to https://matomo.org/faq/reports/embed-a-matomo-report-in-a-html-page/#customising-the-widgets there is the possibility that links are not opened in the iFrame, but redirect to the Matomo instance (qeuery parameter
disableLink
). With the widgetCampaign Names
, no redirection is carried out, but the normal functionality.What should happen?
If disableLink is set to 1, a click on
segmented visit logs
oropen row evolution
should trigger a new window/tab with the target on the matomo instance. Alternatively, the buttons could be hidden completely.How can this be reproduced?
Use an iFrame like this https://your-matomo-instance/index.php?module=Widgetize&action=iframe&disableLink=1&widget=1&moduleToWidgetize=MarketingCampaignsReporting&actionToWidgetize=getName&period=month&date=yesterday&show_footer=0&idSite=your-site-id&token_auth=your-token
Size of the iFrame: width:620px; height:350px.
Matomo version
5.3.1
PHP version
No response
Server operating system
No response
What browsers are you seeing the problem on?
Firefox
Computer operating system
No response
Relevant log output
Validations
The text was updated successfully, but these errors were encountered: