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.9k stars 2.65k forks source link

[Enhancement] Apply segment / custom report to a custom group of sites #20513

Closed SW-Vincent closed 1 year ago

SW-Vincent commented 1 year ago

Apply segment / custom report to a custom group of sites instead of "this website" or "all websites".

Summary

Currently, when defining a segment or a custom report it can be defined for a specific website or "all websites". Applying a segment (or custom report) to all websites makes its management easier, but also makes it very quota-consuming.

As a reminder, matomo cloud plans usually contains 100 segments and 100 custom reports, and defining 1 segment for 10 websites counting as 10 segments.

Therefore, being able to manage segments and custom reports through custom groups would be really usefull for cloud users that are tracking several websites. It would be nice to be able to chose between :

Your Environment

sgiehl commented 1 year ago

Hi @SW-Vincent Thanks for your suggestion. It might indeed make sense to allow assigning multiple specific sites when creating segments or custom reports. But this actually might require some bigger changes to the UI (as the site selector currently doesn't allow to select multiple sites) and to the backend (as the siteid is stored directly in the database, allowing multiple sites might need another relation table or similar). Anyway, our product team will consider this for future improvements.

mattab commented 1 year ago

Thanks for your feedback! Marking as duplicate of https://github.com/matomo-org/matomo/issues/20972