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

Can matomo heatpmapsessionrecording widget embed into a iframe #17550

Closed
zkaitanx opened this issue May 12, 2021 · 1 comment
Closed

Can matomo heatpmapsessionrecording widget embed into a iframe #17550

zkaitanx opened this issue May 12, 2021 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@zkaitanx
Copy link

zkaitanx commented May 12, 2021

I try embed a heatmapsessionrecording widget to my page(my url like this:https://xxx.com/matomo/index.php?module=Widgetize&action=iframe&moduleToWidgetize=HeatmapSessionRecording&actionToWidgetize=showHeatmap&idSiteHsr=1&idSite=1&period=day&date=yesterday). But when i open the page, it will open a new window replace the origin page, is there any solution to do open heatmapsessionrecording widget in a iframe and not open a new tab?

@zkaitanx zkaitanx added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label May 12, 2021
@tsteur
Copy link
Member

tsteur commented May 12, 2021

Hi @zkaitanx thanks for reaching out. I just tried to reproduce and this works for me as expected. It doesn't replace the origin page for me. Are you using the latest version of Matomo and our heatmaps plugin? For example when you click on "Manage Heatmaps" and then on the "eye" icon next to a heatmap it should be opening such a URL like you mentioned and show the heatmap standalone.

When embedded in an iframe you can otherwise try to set the following setting in your config/config.ini.php as part of the [General] section.

enable_framed_pages=1

And then test if it works afterwards. If it still doesn't work, I suggest you email our support: shop@innocraft.com as we provide support for our premium features. In this issue tracker we usually only manage issues that relate directly to Matomo.

@tsteur tsteur closed this as completed May 12, 2021
@tsteur tsteur added answered For when a question was asked and we referred to forum or answered it. and removed Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants