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
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?