Skip to content
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

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

Closed
anonymous-matomo-user opened this issue Sep 7, 2012 · 7 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

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-matomo-user
Copy link
Author

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

@mattab
Copy link
Member

mattab commented Sep 7, 2012

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
Copy link
Member

mattab commented Sep 8, 2012

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

@diosmosis
Copy link
Member

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

@diosmosis
Copy link
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-matomo-user
Copy link
Author

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

@mattab
Copy link
Member

mattab commented Feb 8, 2013

looking good!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants