Is there any way to edit existing widgets?

Hello everyone,

I’m currently working on a public website on which I am displaying widgets in iframes from Matomo (I’ve installed Matomo on a server).
My issue is : some of the widgets display links to my server, I don’t want people to be redirect to my server directly. Is there a way to hide these buttons from the existing widgets in Matomo? I know widgets can be created from scratch but the existing widgets suit me well.

Thanks.

Maybe you can simply arrange it by creating a custom theme.
Then writing enough javascript and/or CSS rules to hide or change widget’s behaviours. :thinking:

That sounds exactly what I need. I didn’t know custom theme could affect widgets.
I’ll give it a try

Thanks for your quick reply, have a nice day :slight_smile:

1 Like