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

Dont display the links to the matomo's website in widgetized error pages when disableLink=1 #16876

Open
olinox14 opened this issue Dec 3, 2020 · 2 comments
Labels
c: New plugin For features that probably will not be added to Matomo, but could be implemented as plugins. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@olinox14
Copy link

olinox14 commented Dec 3, 2020

I use widgets in iframes to display matomos views on external websites, but I don't want my matomo instance's url to be shown to users. It's not a matter of security (everyone could still find this url in the source code of the page), but my users could be confused and try to follow these links.

My urls look like: https://my-matomo-host.com/index.php?module=Widgetize&action=iframe&disableLink=1&...

Everything's fine, except if there is an error. If an error happens, the matomo error page shows the Go to Matomo and Back to Matomo links.

What I'm looking is a way to either:

  • prevent these links from showing
  • customize or override the error page
  • or prevent the error page from showing

If there is already a way to do so, I'm sorry, I just did'nt a find a proper solution until now...

@sgiehl
Copy link
Member

sgiehl commented Dec 3, 2020

I don't think there is already something to achieve that. But makes sense to maybe disable the login and detailed errors for widgetized reports and show a generic error page instead.

Maybe that might already be possible with writing a custom plugin when hooking into the correct events...

@olinox14
Copy link
Author

olinox14 commented Dec 3, 2020

Ok thanks, I'll take a look in that direction and post a feedback

@tsteur tsteur added c: New plugin For features that probably will not be added to Matomo, but could be implemented as plugins. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels Dec 3, 2020
@tsteur tsteur added this to the Backlog (Help wanted) milestone Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: New plugin For features that probably will not be added to Matomo, but could be implemented as plugins. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants