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
Segment with pageURLs + language is not working #15130
Comments
@mstenz this is expected behaviour with latest release I would say. Which API method are you calling? That it was only showing that specific URL was basically a bug. In case you are calling eg |
Yes, it seems its about the change mentioned in #11900.
I use the PageURL's report from the UI. We need a report that shows how many users visited page URLs started with X in the choosen timeframe. Because our SLA's are based on this. How can i create this report with the newer version? |
What you probably want to use is maybe the If you have Custom Reports then you can use this plugin to create such a report as it allows to define "segment filters". You could for now probably also disable this new behaviour using a config setting in
But we don't recommend this and it will be removed in Matomo 4 where you would have the same problem again. There may be also other issues with disabling this setting but it should work. |
thx for the answer. maybe i will disable it for now. |
Oh, one more important thing. there is an inconsistancy. As you see in my first message, it shows only page URL's in the segmented report if only pageURL's are used in the segment itself. (no language metric). So if the new behaviour is that the whole session data should be shown there is a bug now here. |
That's expected and how the segmentation feature should work. Also this way it works AFIAK on GA for example. |
Are you sure, just to make it clear, what i mean is that when i create a segment with pageURL=xyz it will only show this one pageURL in results, whiile when a i make a segment with pageURL=xyz AND language=ja it will show also other pageURL's in the report. |
I just tested it, and using the new behaviour in 3.12 in both cases it will show all page urls that were viewed by these users. When you test this, maybev invalidate previously created reports maybe to make sure the new logic is used. Or try to create a completely new segment to test this. |
This is on a segment that was created after update to 3.12. Let me create 2 screenshots tomorrow so you can see. |
Sorry, it will take longer to took the screenshots. But its on my todo list. |
my understanding from what I read in this thread: Case: My understanding why this is happening: Is that intended and could only page urls which are inluded in the segment show up in the report for this segment x? |
It will always show all pages the user visited. Basically, Matomo will check which visits have viewed the given page URL at least once, then return all page URLs viewed by all these visitors. This is intended behaviour and how segmentation should work. Before it was a bug that it was only returning the page urls from the segment. |
I have noticed this behaviour on a filter using "downloadURL". Can you confirm that what you describe is the expected behaviour for that type as well? Can you confirm that the expected behaviour for any URL filter type is to show pages visited during the same visit of that URL? |
Yes, this the expected behaviour. It is the expect behaviour for any url filter. |
I have added a FR to address this issue here #15438. Lets upvote it, so we can get this fixed. |
@tsteur Hi, i have the same issue with segment that displays results of other segments in reports. Thank you. |
@Petsios yes that should work |
(Maybe other combination works as well not correctly but have not checked).
I have a segment like this
(Page-URL contains "xyz" OR Page-URL contains "zyx") AND language = "ja"
It should contain only page URLs that are opened with a browser that is with Japanese language (at least thats my understanding), but instead it also shows other Page URLs and visits that are not related to xyz an zyx.
If i remove the language part it works as expected and shows only Page URLs from xyz and zyx.
The text was updated successfully, but these errors were encountered: