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 Sep 7, 2012 · 7 comments

3 participants

@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

@mattab
Piwik Open Source Analytics member

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.

@mattab
Piwik Open Source Analytics member

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

@diosmosis
Piwik Open Source Analytics member

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

@diosmosis
Piwik Open Source Analytics member

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!

@mattab
Piwik Open Source Analytics member

looking good!

@anonymous-piwik-user anonymous-piwik-user added this to the 1.11 - Piwik 1.11 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment