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

When segmenting by page URL, Events/Downloads/Outlinks/Site search reports always show no data #11900

Closed
alfonso-romero opened this issue Jul 26, 2017 · 29 comments · Fixed by #14761
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@alfonso-romero
Copy link

alfonso-romero commented Jul 26, 2017

Hi

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

Edited:

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

@GitFr33
Copy link

GitFr33 commented Sep 2, 2017

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.

@GitFr33
Copy link

GitFr33 commented Sep 4, 2017

Can anyone else reproduce this issue?

  1. Piwik installation that does not use cron
  2. Piwik version 3.0.4
  3. Event tracked using _paq.push(['trackEvent', 'category', 'action', 'value']);
  4. URL based segment

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

@mattab
Copy link
Member

mattab commented Sep 18, 2017

@GitFr33 do you still experience this issue?

@GitFr33
Copy link

GitFr33 commented Sep 18, 2017

@mattab Yes. (using v 3.1.0)

@hpvd
Copy link

hpvd commented Sep 18, 2017

in our installation everything is working fine (3.1.1b2)
there are events shown in events widgets and also in events reports.
example:
2017-09-18_21h32_25

@GitFr33
Copy link

GitFr33 commented Sep 18, 2017

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

@hpvd
Copy link

hpvd commented Sep 18, 2017

it's also working as expected. e.g. segment: device is desktop (please see attachment)

2017-09-18_22h00_36

@GitFr33
Copy link

GitFr33 commented Sep 19, 2017

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.

@Findus23
Copy link
Member

@GitFr33
As it is a beta release you’ll need to enable them in the settings first.

@GitFr33
Copy link

GitFr33 commented Sep 19, 2017

I see. Probably not a good idea for a production instillation?

@GitFr33
Copy link

GitFr33 commented Sep 19, 2017

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

@hpvd
Copy link

hpvd commented Sep 20, 2017

Just checked your named details in our installation.
Your are right!
2017-09-20_07h15_16

@mattab : I could reproduce this problem also in 3.1.1b3 - seems to be a bug.

@hpvd
Copy link

hpvd commented Sep 20, 2017

problem seems to occur in event reports and event widgets.

@mattab
Copy link
Member

mattab commented Sep 20, 2017

Maybe it's similar to the issue here: #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.

@hpvd
Copy link

hpvd commented Sep 20, 2017

Just tested:
if segment is url the following reports are empty:

  • events
  • download
  • sitesearch
  • outlinks

=> 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.

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Sep 22, 2017
@mattab mattab changed the title Events report not displaying data When segmenting by page URL, Events/Downloads/Outlinks/Site search reports always show no data Sep 22, 2017
@mattab
Copy link
Member

mattab commented Sep 22, 2017

Thanks @hpvd for confirming.

Should one open a new issue for it?

No this issue is fine, just renamed it to broaden scope

@mattab
Copy link
Member

mattab commented Sep 22, 2017

This seems related: Inform users why there is no data in some actions report when action/event segment is applied #9796

@hpvd
Copy link

hpvd commented Sep 23, 2017

Is this maybe somehow related to #11806 ?

@mattab
Copy link
Member

mattab commented Sep 24, 2017

@hpvd It does not look like they are related

@mattab mattab added the Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. label Oct 12, 2017
@ChristianLuxem
Copy link

ChristianLuxem commented Nov 22, 2017

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

@mattab mattab added this to the Priority Backlog (Help wanted) milestone Nov 22, 2017
@obliqueshock
Copy link

The same issue shows up even using the 'Page Name' segment. Any smart workarounds to filter on specific pages?

@metalocator
Copy link

metalocator commented Feb 7, 2018

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.

@fabiobuda
Copy link

Dear community members,
dear @ChristianLuxem @obliqueshock @metalocator

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.

@metalocator
Copy link

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.

@fabiobuda
Copy link

fabiobuda commented Feb 14, 2018

@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.

P.s.
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?

@metalocator
Copy link

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?

@websirnik
Copy link

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.

@huang0808
Copy link

I Add "Clicked URL" Segment can not work, use matomo 3.4.0

@mattab
Copy link
Member

mattab commented Nov 13, 2019

In a forum thread, several users reported this breaks how they use Matomo, so i explained there how to use Custom Dimensions of action scope to still be able to set "Page categories" and segment based on these categories (a common use case/need): https://forum.matomo.org/t/filter-page-urls-by-segments/34859/9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

Successfully merging a pull request may close this issue.