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

[Bug] Using 'and' in Segment not working #22652

Open
4 tasks done
enual opened this issue Oct 10, 2024 · 2 comments
Open
4 tasks done

[Bug] Using 'and' in Segment not working #22652

enual opened this issue Oct 10, 2024 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. triaged

Comments

@enual
Copy link

enual commented Oct 10, 2024

What happened?

Matomo user (On-Premise) created this segment but no result showing up:
image

I tried to replicate this issue by creating 2 events and getting same issue:
image
image

This issue is also applicable to Matomo cloud

What should happen?

It should provide result for visitors who trigger 2 events.

How can this be reproduced?

Go to Matomo Dashboard > Segment > create segment (please see screenshot above as an example)

Matomo version

5.1.2

PHP version

8.1

Server operating system

Apache

What browsers are you seeing the problem on?

Chrome

Computer operating system

Windows

Relevant log output

No response

Validations

@enual enual added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Oct 10, 2024
@randy-innocraft randy-innocraft added triaged Bug For errors / faults / flaws / inconsistencies etc. and removed To Triage An issue awaiting triage by a Matomo core team member Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Oct 10, 2024
@randy-innocraft
Copy link

Hi @enual. Thank you for creating the issue and bringing this to our attention, that's very appreciated. We have reviewed and triaged the problem internally, and we have confirmed it is an issue. Our team will prioritise this, and we will update you on the progress here when we have an update to share. If you have any further information or questions, please feel free to add them here.

@sgiehl
Copy link
Member

sgiehl commented Oct 24, 2024

This is a limitation of our current segment system. Whatever segment you define, Matomo will try to find exact visit/action, that matches the whole definition. And logically there can't be one action that matches two event action names. Therefor the result is empty. Logically it would be the same as segmenting for country = NZ and country = NL.

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. triaged
Projects
None yet
Development

No branches or pull requests

3 participants