Skip to content

[Bug] Widget iFrame: link not redirecting #23199

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

Open
4 tasks done
web-uni-jena opened this issue Apr 3, 2025 · 1 comment
Open
4 tasks done

[Bug] Widget iFrame: link not redirecting #23199

web-uni-jena opened this issue Apr 3, 2025 · 1 comment
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. triaged

Comments

@web-uni-jena
Copy link

web-uni-jena commented Apr 3, 2025

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 widget Campaign Names, no redirection is carried out, but the normal functionality.

Image
Image

What should happen?

If disableLink is set to 1, a click on segmented visit logs or open 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

@web-uni-jena web-uni-jena added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Apr 3, 2025
@des-innocraft
Copy link

Hi @web-uni-jena ,

Thank you for creating the issue and bringing this to our attention, that's very appreciated. We have reviewed and triaged the problem internally, and we have confirmed it is an issue.

Our team will prioritise this, and we will update you on the progress here when we have an update to share. If you have any further information or questions, please feel free to add them here.

@des-innocraft des-innocraft added triaged and removed To Triage An issue awaiting triage by a Matomo core team member labels Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. triaged
Development

No branches or pull requests

2 participants