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
Hide widget when not found (goals, custom dimensions, custom reports) #9969
Comments
@piwikbugs thank you for creating the issue. This is a bug. I'm not sure if we already have an issue for this but I could not find one. It won't be trivial to solve. It's almost like the dashboard needs to have knowledge which widgets depend on a idSite or something. I think, when two different websites have the same goalId, it will even show different goals although one might be not interested of that goal. |
fyi: there is a similar issue if you have a "Custom Dimension" widget, and after changing the website we get an error message in the widget: "Custom dimension XYZ does not exist for this website". pinging @sgiehl - maybe you could help with this one. |
Unfortunately this isn't resolved yet. Also when I have for example 4 Goal widgets added on the dashboard of website A, all 4 are shown at website B, even if I only have one goal for website B. |
Ideally, we will hide the widgets that do not apply to a given website, without updating the layout stored in the DB, so that people still find the dashboard layout they expect on each website. |
Same problem for "Custom reports" as well (updated issue title). Reported by a customer today:
|
This one might actually not be that easy to solve, as it's hard to define the expected behavior. I guess a better solution would be to introduce site specific dashboards like proposed in #18467 |
As we likely won't have #18467 any time soon and it meanwhile looks very buggy to have this "Widget not found" issue, the easiest would be to just hide these widgets when they weren't found. This could be implemented very quickly and be a massive improvement. I ran myself into this issue just before again thinking Matomo is buggy. |
I track multiple websites with Piwik. If I add some goals to my dashboard in Website A (Dashboard -> add a widget -> goals), and then change to Website B, it shows the widgets I just added to Website A as "Widgets not found" on Website B dashboard.
Do I have to make a NEW dashboard with every website?
The text was updated successfully, but these errors were encountered: