@olinox14 opened this Issue on December 3rd 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 commented on December 3rd 2020 Member

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 commented on December 3rd 2020

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

Powered by GitHub Issue Mirror