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

UI Enhancement: Offer hint when user attempts to create Segment Contains URL #23036

Open
atom-box opened this issue Feb 13, 2025 · 1 comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. triaged

Comments

@atom-box
Copy link
Contributor

atom-box commented Feb 13, 2025

Scope: This is in the Top 10 most common confusions about Segments

What happens:
The user creates a segment: Segment URL contains www.example.com/123.
The user opens Matomo >> Behavior >> Pages.
They see many pages, not only one page*.
They write to Matomo: "Segment is broken: it gives several URLs when I intend to only see one URL".

What should happen:
A hint should pop up: "It looks like you are trying to make a segment to analyze behavior of a particular page. This information already exists as a report in Matomo: Behavior >> Transitions. Or a different approach, if you have the feature Custom Reports, is to add the URL as a filter to any Custom Report." The pop up would just have a "dismiss" button and a link to the faqs for Transitions.

*This is by design, but still it is an impediment. This well-known "gotcha" is caused by Matomo's data being Visit-based, not Event-based

@atom-box atom-box added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. To Triage An issue awaiting triage by a Matomo core team member labels Feb 13, 2025
@randy-innocraft randy-innocraft added triaged and removed To Triage An issue awaiting triage by a Matomo core team member labels Feb 13, 2025
@sgiehl
Copy link
Member

sgiehl commented Feb 18, 2025

@atom-box The problem is that people are mixing up things and might have different expectations. In general our segments are visit base. Event based segments wouldn't make too much sense.
In certain cases customers expect segments to act as filters (see #15438) - but only for certain reports.
We need to find a good way to help all users understand how segments work in general and what they can expect from it. I don't think it's helpful to display hints only if certain segment conditions are chosen.
Maybe another thing to consider would be changing the naming / description of all action base segments, so it's directly clear, that those segments will be used to look for matching visits, rather than filtering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. triaged
Projects
None yet
Development

No branches or pull requests

3 participants