matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.36k stars 2.59k forks source link

Add a Manage Segments section #22343

Open Stan-vw opened 3 weeks ago

Stan-vw commented 3 weeks ago

Summary

Currently, segments are managed in a very tiny interface (a dropdown), even though there can be many of them and they can be quite complex.

To properly manage a complex set of segments, it could be helpful to have a full sized interface for them, such as having a "Manage segments" section. This could then also allow for adding more depth in the future, such as a description field to explain exactly what a segment is for, as well as inline helptexts and potentially advanced options.

My initial though would be to add it to the Admin --> Measurables section, since that's also where a number of other items are managed*. Screen Shot 2024-06-27 at 12 34 43 PM

*Note that the other items are reports which have a duplicate page in the dashboard navbar, this wouldn't be true for Manage segments since it's not a report. It's a small inconsistency but it still seems like the right place in my eyes. There is also Admin --> Personal, but as Segments can be managed by multiple people this doesn't seem like the right place to me. Screen Shot 2024-06-27 at 12 37 26 PM

Your Environment

Stan-vw commented 3 weeks ago

Could looks something like this: Screen Shot 2024-06-27 at 12 48 48 PM

PeteTrombone commented 3 weeks ago

That's a very good idea. We have a website with over 500 segments. Managing them using the current functionality is very difficult.

mattab commented 3 weeks ago

@Stan-vw See also my similar suggestion here: https://github.com/matomo-org/matomo/issues/20659#issuecomment-1859068483