I'm currently starting to use the events feature, and right now I'm able to track and store some test data including event categories, event actions and event names.
The problem is on the report, when I go to Dashboard -> Actions -> Events, all 3 tabs show that "there is no data for this report". I checked the database and I can see the data correctly stored on log_link_visit_action and log_action tables with my events, but reports just won't display anything, even when I can see visitor logs correctly, the issue is only with events reports.
Of course I made sure to pick the correct site and date for the events activity I'm tracking, but reports are just not showing up.
Am I missing some setting to enable this reports somewhere else? or is there any other method or data I should implement/track to be able to see the reports?
Thanks in advance
-> More experimentation has revealed that this issue only occurs when a page URL or action URL based segment is used. In a certain way this makes sense because the events themselves don't have any URL.
Are you using a segment?
I have encountered a similar difficulty ( https://forum.piwik.org/t/piwik-events-showing-in-visitor-log-but-not-in-events-view/25409/2 ) and discovered that it only occurs when a segment other then ALL VISITS is used.
Can anyone else reproduce this issue?
_paq.push(['trackEvent', 'category', 'action', 'value']);
I tried to reproduce this issue on the Piwik demo and it did not occur but I was was not able to confirm conditions 1-3
in our installation everything is working fine (3.1.1b2)
there are events shown in events widgets and also in events reports.
@hpvd in the screenshot it doesn't look like you are using a segment. What happens when you select something other then All Visits in the segment dropdown?
it's also working as expected. e.g. segment: device is desktop (please see attachment)
Interesting! How did you get version 3.1.1b2?
My instillation says it's up to date, but the version number is 3.1.0.
As it is a beta release you’ll need to enable them in the settings first.
I see. Probably not a good idea for a production instillation?
Thanks for your continued assistance
I updated to 3.1.1b2 and the problem persisted.
More experimentation has revealed that this issue only occurs when a page URL or action URL based segment is used. In a certain way this makes sense because the events themselves don't have any URL.
Is this a bug or a feature? It certainly has had me puzzled...
Just checked your named details in our installation.
Your are right!
@mattab : I could reproduce this problem also in 3.1.1b3 - seems to be a bug.
problem seems to occur in event reports and event widgets.
Maybe it's similar to the issue here: https://github.com/piwik/piwik/issues/11992
which describes the "Downloads" report as not showing data for Segments Page URL contains.
Could you please try if Downloads show data? if so, we'd mark the issue as duplicate and consolidate both issues into one.
if segment is url the following reports are empty:
=> so it's a general and with this a major problem.
Should one open a new issue for it?
btw: one can easily test this if one put "page url" -contains- domain of the page.
Thanks @hpvd for confirming.
Should one open a new issue for it?
No this issue is fine, just renamed it to broaden scope
This seems related: Inform users why there is no data in some actions report when action/event segment is applied #9796
Is this maybe somehow related to https://github.com/piwik/piwik/issues/11806 ?
@mattab any idea in which milestone this could be fixed? I don't see it planned for a milestone yet...
Or is there a workaround that i could use?
The same issue shows up even using the 'Page Name' segment. Any smart workarounds to filter on specific pages?
Is there any way we can sponsor some movement on this issue? It's a constant problem in our reporting. We leverage events and URL segments and not being able to combine them is crippling.
I'm able to reproduce the issue and I'm also able to mitigate the issue without any patch.
To get the event list when you need visitors segmented through a specific URL you have to prefer "Action URL" as URL filter. You should AVOID "Page URL".
This way you will get the same "logical" result with the advantage to make "Events UI" work.
I feel that it would be an issue related to some DB query or a serious "DB schema" issue.
I hope someone from the official team would investigate this issue.
The action URL does not work for us. The action URL is auto-completed in the segment definition, but the events report still comes up empty.
@metalocator do you have installed the latest Matomo 3.3.0? My segment has 3 filters. Two of them are "URL action" and one is "Visit duration"... and I'm able to get events list work.
Is your filter configured by specific URL or generic wildcard "mysection/*" ?
Is your filter configured to use what of "equals / not equal / contains / not contains" operator?
Using the Action URL works in our 3.2.1 test bed, though not in 2.16.5, which is in production.
Do we lose other stats that don't have an Action URL defined? What is Action URL exactly?
I can confirm that Segments via Action URL does work for Events in Matomo 3.3.0. Though Segment for Downloads & Outlinks still does not work.
I Add "Clicked URL" Segment can not work, use matomo 3.4.0