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

Compare is not included in exported report for formats CSV, TSV and HTML #15837

Open
jorgeuos opened this issue Apr 21, 2020 · 5 comments
Open
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@jorgeuos
Copy link

Hi,

The new Compare feature introduced in October(?) does not work with exporting to e.g. csv or whatever. The compare row is not included.
Doesn't matter which options I chose.

Matomo version: 3.13.4

2020-04-21_-_Web_Analytics_Reports_-_Matomo

Br, Jorge

@sgiehl
Copy link
Member

sgiehl commented Apr 21, 2020

@jorgeuos doesn't it automatically include the currently selected compares even though it's not selectable in the popover?

@jorgeuos
Copy link
Author

No, it's not.
Luckily I could copy paste the table into a spreadsheet and send to the client. But they would like to do it themselves so.
Maybe something I can look into in the coming week.

@sgiehl
Copy link
Member

sgiehl commented Apr 22, 2020

For me that works. It results in something like https://demo.matomo.org/index.php?compare=1&compareDates%5B%5D=2020-04-20&comparePeriods%5B%5D=day&date=2020-04-21&filter_limit=100&flat=1&format=XML&idSite=33&invert_compare_change_compute=1&method=Actions.getPageUrls&module=API&period=day&token_auth=anonymous

And that includes a comparisons element. What type of export have you chosen? It might not work for all exports though.

@jorgeuos
Copy link
Author

Hmm, I see now.
It works well with XML, JSON and PHP. But not with the others(tested CSV, TSV, HTML and RSS). Tested on Demo site and my installation, same result(RSS didn't work at all, not that I use it).
Is CSV, TSV and HTML something to look into fixing?

@sgiehl sgiehl changed the title Compare is not included in exported report. Compare is not included in exported report for formats CSV, TSV and HTML Apr 22, 2020
@sgiehl
Copy link
Member

sgiehl commented Apr 22, 2020

@jorgeuos presenting comparisons is simply unsupported by those formats yet. That's something we might need to implement

@sgiehl sgiehl added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Apr 22, 2020
@tsteur tsteur added this to the Backlog (Help wanted) milestone Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants