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

Browser based segmentation using "Contains" does not work as expected. #17375

Open Starker3 opened 3 years ago

Starker3 commented 3 years ago

Expected Behavior

When using a segment for example: Browser Contains Chrome we would expect that the segment would contain all browsers that contain Chrome, likewise for Browser Contains Safari etc.

Current Behavior

Unfortunately at present it appears as though using Browser Contains Chrome the reports only show data for Chrome and Google Search App (see screenshots) image image

Screenshot of "All Visits" segment: image

In order to see reports for all the Chrome/Safari based browsers at present we would need to specify the browser names, eg. Chrome, Chrome Mobile, Chrome Mobile iOS, Safari etc.

Possible Solution

Steps to Reproduce (for Bugs)

  1. View the Software report, noting all the Browsers using Chrome in the name.
  2. Then view the Software report using the following Segment: &segment=browserName%3D@Chrome (Browser Contains Chrome)

Your Environment

sgiehl commented 3 years ago

This actually can't work currently due to the structure we are storing browser information in the database.