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
Export from Visits Over Time widget return empty when using Action URL in Segment #14679
Comments
Can you send us an example what the URL looks like? This it contain any special parameters? Or query parameters or so? |
So one example is this, redacted where needed |
Which Matomo version are you currently on @jordo1138 ? I think we made some fixes there recently and it might be related to #13481 @diosmosis does this sound like something that might be fixed in #13481 ? |
From the URL the encoding looks ok. @jordo1138 One way to test if this is the issue would be to try the segment without |
@diosmosis yes I had tried that already, whether it's mixed with other filter condtions or by itself, as long as action url is used, the export will be empty with only "date" in the column, as shown up above. |
@jordo1138 sorry, missed that part of the ticket description. Can you try with the value in the segment for action URL encoded one extra time, and try with the value encoded one less time? Ie, Something else to check is whether the segment works when matching a specific URL (in the example URL you give the actual segment is If the first test returns no data in either case, and the second test returns no data but the action is in the DB, then it's probably not an encoding issue, and there's something else going on. |
so the url is in the database, it even auto-populates when making the segment filter from the site. |
@jordo1138 Ok, one more request, the visits over time widget works correct? Can you get the |
@diosmosis good call it works using the segment from the widget request that I grabbed from chrome dev tools request header, I had reduced/added the encoding/decoding like you mentioned in the previous comment but not exactly the same way as the differences seen here, especially the beginning part, %3D%3D vs %253D%253D, I"m pretty sure I missed taking out the 25/25 when testing earlier. By default the segment=action from the export button on the Visits Over Time widget is like this When I replaced it using the segment=action as you requested from the widget request header, the CSV contains the right data, segmented properly based on the semgent with the ActionURL Working for TSV export by replacing the default segment=action above |
@jordo1138 Ok, I remember this issue. I believe it was actually fixed in 3.10: #14338. Can you see if that change fixes the issue for you? |
Hi @jordo1138 were you able to upgrade to 3.10 or 3.11 and confirm the issue is now fixed for you? |
@mattab thanks for checking in, I should know the answer to this soon, planning the upgrade with clients right now |
@mattab @diosmosis confirmed after upgrading to 3.11 the issue is resolved, thanks! |
No data is returned, regardless of the format (tsv/csv/json etc) when the Segment is applied that contains Action URL is X
The Widget Visitors/Unique visitors does show the correct metrics when the Segment is selected but the export will be empty. The export data working properly for other conditions set in other segments based on other criteria , but not if it contains Action URL.
Here is the TSV export
and JSON export
And Visits over time widget with segment applied and accurate metrics that I used the export function from
Another user reported similar issue for segment, but not sure what conditions were applied in the segment. In my case and we are using Matomo 3.9.1, it occurs when using the Action URL in the segment
https://forum.matomo.org/t/excel-export-is-empty-when-using-filter-to-segment-visits/33109
The text was updated successfully, but these errors were encountered: