@aimeos opened this Issue on March 19th 2017

After upgrading from the last Piwik 2 to Piwik 3.0.2, selecting multiple metrics in the "Visitor Overview" and the "Goal Overview" aren't saved. After a page reload, only the default graph is shown again.

@sgiehl commented on March 19th 2017 Member

@aimeos Are you viewing Piwik as anonymous user? It works for me if I'm logged in.

@aimeos commented on March 19th 2017

@sgiehl No, I'm logged in too. Rearranging the dashboard is saved but not the metrics in the named panels. Can this be a problem rooted in the upgrade from Piwik 2?

@sgiehl commented on March 19th 2017 Member

@aimeos hm... that's strange. could you try to create a new dashboard with those widgets on it and try if it works there?

@aimeos commented on March 19th 2017

@sgiehl Same problem

@mattab commented on March 21st 2017 Owner

Can you please list exact steps to reproduce and what you get VS what you expected to see? Screenshot welcome too :+1:

@aimeos commented on March 21st 2017

Login -> Dashboard:

Add "Pageviews" metric:

Click on "Dashboard" link in the left navigation:

As you can see, the "Pageviews" isn't plotted any more. Expected are the same metrics as before:

Before, in Piwik 2.x the selected metrics where saved and even shown after logout/re-login.
This is the dashboard config in the piwik_user_dashboard table:

@peterbo commented on September 21st 2017 Contributor

This is also broken on the demo.piwik.org but not in all widget types. (e.g. visits over time is running well, visits overview (with graph) is broken.

Steps to reproduce:

  • put e.g. the "visits overview (with graph)" widget to the dashboard
  • plot another metric, e.g. bounce rate
  • reload the dashboard
    -> the bounce rate graph is not displayed
@tsteur commented on September 21st 2017 Owner

Is this only about Dashboard? If not you might want to test https://github.com/piwik/piwik/pull/11983 and see if it changes anything

@peterbo commented on September 21st 2017 Contributor

Yes, the problem only appears on the dashboard (but only in some widgets). The PR at https://github.com/piwik/piwik/pull/11983 didn't fix it here.

@sgiehl commented on September 22nd 2017 Member

I guess the problem only occurs in widgets that contain multiple other "widgets".
They are built using a widget container which loads the containing widgets. While the url for loading the widget container contains the saved settings as params, the urls for the widgets loaded afterwards don't contain the params anymore. So we need to find a way to give the params from container to the widgets it contains...

@olivierlambert commented on October 23rd 2017

Same issue for me (worked in Piwik 2, just upgraded to 3, it doesn't save my metrics I want to plot, just those by default (eg Visitors and not unique visitors). As soon as I refresh the widget, it puts me back to the default metrics.

@mattab commented on October 23rd 2017 Owner

@sgiehl maybe this is a regression we can address soon?

Powered by GitHub Issue Mirror