Sub-Pages in Export and Mails

Hi,

in the pageview I see all pages from the root directory and one as directory. Clicking on the + opens the next level and I see the pages below with the statistics. But exporting this to Excel or the Mail will show only the pages from the root directory. The drilldown of the other pages is missing. Is it possible to export these pages too?

best regards
ludwig

Hi Ludwig,

yes, add &expanded=1 or &flat=1 to the API URL export.

See the doc at: Reporting API Reference: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3

Hi Matt,

thank you, that works fine for online generation.

Where can I set this parameter in the stored mailing reports which where send automatic to the website owners monthly?

best regards
Ludwig

unfortunately it’s not possible yet, please leave a comment in feature request: PDF/HTML Reports: Expand Actions reports (and some others) by default · Issue #2137 · matomo-org/piwik · GitHub