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

Feature Request: segmenting on Operating System families #6707

Open
mtandersson opened this issue Nov 21, 2014 · 5 comments
Open

Feature Request: segmenting on Operating System families #6707

mtandersson opened this issue Nov 21, 2014 · 5 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@mtandersson
Copy link

Segementing data is nice! It would be even better if it would be possible to segment on Operating System families

@mattab mattab added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Dec 1, 2014
@mattab mattab added this to the Short term milestone Dec 1, 2014
@mattab
Copy link
Member

mattab commented Dec 1, 2014

Hi @mtandersson Thanks for the suggestion. cc @sgiehl

@sgiehl
Copy link
Member

sgiehl commented Dec 1, 2014

Adding a segment for that is not that easy as we do not store the family in the log tables. That means we would need to map the given family to the os short codes it contains and search for those instead

@mattab
Copy link
Member

mattab commented Dec 2, 2014

@sgiehl does Device Detector has the map of OS Short code <-> OS Family? if we have this map, then we can create a callback and use it in the segment metadata with: setSqlFilterValue as in this example: https://github.com/piwik/piwik/blob/master/plugins/Referrers/Columns/ReferrerType.php#L27-27 or: https://github.com/piwik/piwik/blob/master/plugins/API/API.php#L162-162

@sgiehl
Copy link
Member

sgiehl commented Dec 2, 2014

@mattab I don't think it's that easy. There is a mapping for OSFamily => OSShortCodes.
So there may be more than one short code in a family. Your examples provide a 1:1 mapping.

@mattab
Copy link
Member

mattab commented Dec 3, 2014

So there may be more than one short code in a family.

that's alright, the segment would then do browser_code IN ( val1, val2, val3, val4 )

But i'm not sure if this is already implemented and easy to do... will need to check later (moving to Mid term)

@mattab mattab modified the milestones: Mid term, Short term Dec 3, 2014
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
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.
Projects
None yet
Development

No branches or pull requests

3 participants