Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

For Actions reports, add the &flat=0 parameter to the API call even if the view is not flattened #3365

Closed
anonymous-piwik-user opened this Issue · 7 comments

3 participants

Anonymous Piwik user Matthieu Aubry Benaka
Anonymous Piwik user

When I export the data to Excel, for example the Pages report, I only see the top levels of my site. In Piwik I can press the + sign to drill down and see all pages. But when I export the report only the top levels are included. I would like to see all pages in the report.
Example: the page: mydomain/mysite/level1 has several subpages: mydomain/mysite/level1/subject1, mydomain/mysite/level1/subject2, and mydomain/mysite/level1/subject3. When I export the report as Excel or as email, I only get the statistics for mydomain/mysite/level1.
Before the release of 1.8.3 I could see all pages but not anymore. Can you please fix this?
Keywords: reports, export report, email report

Anonymous Piwik user

Attachment: Pic shows what the report used to look like with subpages and what it looks like now.
PiwikReports.bmp

Matthieu Aubry
Owner

IN the URL you use to export the reports, try to add the parameter &flat=1 - it should then show the reports as you expect.

We should add the &flat parameter to the API call even if it's disabled, to show users they can change it. Maybe it could it be the first parameter.

Matthieu Aubry
Owner

For Actions reports, enforce that &flat=0 parameter to the API call even if the view is not flattened

Benaka
Collaborator

In fcaf7e7: Fixes #3365, add 'flat=0' query param to export links for actions reports.

Benaka
Collaborator

matt, I made sure flat=0 will be displayed, but I think this is a very quick fix for a (relatively) bigger UX issue.

Anonymous Piwik user

I just realised I haven't thanked you. Thank you for your tip! &flat=1 works!

Matthieu Aubry
Owner

looking good!

Anonymous Piwik user anonymous-piwik-user added this to the 1.11 - Piwik 1.11 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.