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
TV UserAgents #3505
Comments
I think we should at least add those useragents to have them recognized correctly. Do you have a list of useragents? |
Just a few so far, but I would like to request some by the vendors... Maybe we could collect info on the currently watched TV channel, too |
for the Plugin-List: See: http://www.etsi.org/deliver/etsi_ts/102700_102799/102796/01.01.01_60/ts_102796v010101p.pdf HbbTV/1.1.1 (<capabilities>; [<modelName>; [<softwareVersion>]; |
Attachment: first list |
If you need this, please get in touch with professional services to sponsor the feature: http://piwik.org/consulting/ WE probably should have a new report that would be a detailed breakdown of all devices used (phones by type, console by type, TV by type, computers, tablets, etc) |
I do not really need this. If you can point me into the right direction of what all has to be done, I will see, what I can do. |
See the master ticket "improvements to devices detection #3612" for more information! |
In 6804733ddcb9fcf72b2df3f796a0d5b228bb0ab2: Adding new DevicesDetection plugin, developed by Clearcode and sponsored by a client of Piwik Professional Services. A beautiful work of engineering, all released under GNU/GPL license! Fixes matomo-org/matomo#3612
Refs #3505 There is some basic TV detection included and maybe you can help contribute better detections (see the .yml data files containing the regular expressions in YAML format) HOW DOES IT WORK This is quite beautiful system. It is a plugin that disabled by default. when enabled, it will create additional columns in the DB. Also at tracking, it will look at the user agent, and try to match it against one browser we know in the databases. The databases of user agent matching are composed by 3 YML files, parsed by spyc.php into php array. These 3 YML took dozens of hours of work and testing with dozens of mobile phones and devices for accuracy. We are happy with the result as they should cover > 80% of the devices commonly used. We hope the community will help us build up these YML files and make them better, so we can track accurately 90% or 95% of requests. The performance overhead is pretty small, but parsing the YML files + running dozens of regex will add some overhead. This is why it is still disabled by default. We will think about how to integrate it in core, in the next few months. Please let me know if you find any problem with this new awesome code! |
please add following browser engine for the TV devices: ANTGalio/3.1.1.23.04.09 If you need help for detecting TV - I've tons of log files with user agent strings for televisions. And a lot of regex for TV models are available too. Best way to identify smart TVs is to check the HbbTV/1.1.1 or HbbTV/1.2.1 sting in the UA |
@Diwel we would be very interested in your user agent list of strings for TV devices. Could you post list of user agent and the expected detection (see our existing test suite). We'd like for more TV sets and smart TVs to be detected accurately within Piwik! |
Yes I'll make a separate .yml file for TVs! Could take some time. But the TVs have a lot more interesting information like the HbbTV version or the screen size in inch or the firmware version. And most of the devices have no real browser but a webkit engine. Additional to that we don't have a normal Opera, it's an embedded Opera and in future there will be webkit instead of presto inside... |
TV detection would be a nice addition! If you can keep the number of regex to the smallest, it would be nice (for performance)... |
Based on the HbbTV standard for UAs HbbTV/1.1.1 (<capabilities>; [<modelName>; [<softwareVersion>];[<hardwareVersion>]; <reserved>) First you have to detect if it's a TV device
After that you can continue with the yml file for TVs I am working on. This will work for nearly 98% of all TVs But if the UA contains 'firetv-firefox-plugin' it is not a TV, it's the FireHbbTV Plugin for Firefox and we have to ignore that - this needs to be count as a normal FF. The reason why i did't use a complete regex are UAs like the Samsung TVs from 2011
If we use a complete regex we will lose about 40% of the devices by getting vendor and model name! May be it will work in the future. For example Samsung changed a lot since 2011
I hope others like Toshiba will follow because they put the capabilities in the wrong position
You can see that there are a lot of difficulties. Did we want to differ between STBs and TVs? That would be another important decision. If we want that, we have to extend the yml structure. We'll need to extend the browser vendors by ANTGalio, Maple, Netfront, ... to make it work. To give you a better overview here some UAs
|
Replying to diwel:
Are there also other TV sets we could easily detect?
Nice.
let's not differ between STB and TVs and consider them as TVs for now. Thank you for your input, looking forward to your Pull request maybe (ideally you may also add/update the list of user agents that we test for) |
Replying to matt:
Plugin updated and testet by myself. Pull request to the master is done. List for the tests was updated too. Happy testing :) |
In 121e1510fba1eab30f9ea87b0f71d889214b8f7f: refs #3505 (see PR #155) added detection of televisions |
There are a lot of tvs detected by DeviceDetector. If there are still some missing, please create new issues for them. |
I would like to see TVs and SetTopBoxes in the piwik stats seperated from "mobile and desktop".
So far most of them are just "unknown" in the stats...
What is needed for that? "Only" a list of UserAgents?
Keywords: TV
The text was updated successfully, but these errors were encountered: