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

Make it possible to detect other clients than Browsers #16197

Merged
merged 5 commits into from Jul 15, 2020
Merged

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Jul 9, 2020

This PR prepares Matomo for better reports on used clients. Currently Matomo shows all clients that are not detected as a browser as Unknown. With this changes the column that currently stores the browser short code will be increased in size, to be able to store full client names. Additionally there will be a new column to store the client type (represented with an int id).

Besides changing the database I've also decided to already store the full name for clients (other than browsers). That way those other clients will already appear in the "Browsers" reports. That might not be fully correct, but imho better than report them as unknown. The client type will also be set already, but should be invisible everywhere (except from custom reports maybe)

Note: It's currently not possible to segment for those other clients, as the browser segment still only accepts the short codes. That's something we can add later, when we possibly also add new reports for each client type or so.

refs #5413

@sgiehl sgiehl added the Needs Review PRs that need a code review label Jul 9, 2020
@sgiehl sgiehl added this to the 4.0.0 milestone Jul 9, 2020
@sgiehl sgiehl merged commit e2d9aac into 4.x-dev Jul 15, 2020
@sgiehl sgiehl deleted the clientdetection branch July 15, 2020 09:05
@mattab mattab added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Sep 29, 2020
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. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants