@jorgeuos opened this Issue on January 20th 2021

Our clients are frequent users of Segments, it's one of their most used feature actually.
We have taken the first steps to create an MVP.

Progress will be updated here and if anyone interested in helping out, just reach out.
Any thoughts or ideas are highly appreciated.


  • Create a menu item for Segments
  • Add user permission checks
  • List segments
  • Add intuitive buttons for manipulating segments using SegmentEditor plugin
  • Add tests (Unit tests, Behavioural tests)
  • Create PR to Matomo; plugin-SegmentEditorUI

Nice to have features:

  • Quick link to overview
  • Validate segment

Quick mockup:

Br, Jorge

@jorgeuos commented on January 20th 2021
@tsteur commented on January 20th 2021 Member

@jorgeuos nice mockup. I reckon some of the things we wouldn't want in core so there would be always the possibility to put this into a plugin. For example we wouldn't want to have this in the left menu as entities are usually not really managed there unless it is a reporting entity like "Goals" etc. Maybe there could be instead some button in the segment selector similar to

In the table we would likely also hide some information like "idsegment" and maybe even "definition" (as they can be quite long and cryptic to most users and the name should already say enough). Other columns could be technically only shown if it's a superuser or so like "login". Or maybe it be not too important and could only be shown when editing a segment etc.

Powered by GitHub Issue Mirror