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:
If there is already a way to do so, I'm sorry, I just did'nt a find a proper solution until now...
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...