UserAgentParser: should report Android's browser as Safari #2694

Closed
anonymous-piwik-user opened this Issue Oct 8, 2011 · 7 comments

3 participants

@anonymous-piwik-user

XXX.XXX.XXX.XXX - - +0200 "GET /dummypage.html HTTP/1.1" 200 2843 "http://www.example.org/" "Mozilla/5.0 (Linux; U; Android 2.2; de-de; HTC Desire 2.33.161.2 Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"

will be detected as "Android 4.0 with plugins flash enabled"

@robocoder

If you're looking at the Browser report, it's reporting the browser version. Version/4 is explicitly set in the user agent so it is customary to use that value. Using the Android OS version is wrong imho. Maybe we should just report it as Safari or Mobile Safari?

@robocoder

A patch for Chrome on Android reportedly landed this past week, so we'll report as Safari to avoid later confusion.

@robocoder

(In [5272]) fixes #2694 - detect current Android browser as Safari (like iPad/iPhone/iPod); added a ficticious mobile Chrome user agent (commented out for now, but it works)

@robocoder

(In [5273]) refs #2694 - remove remnants of "Android" browser (obsolete)

@robocoder

FYI if/when mobile Chrome comes to Android, it'll be reported as Chrome

@anonymous-piwik-user

This bug is not fixed, the problem still persists in version 1.12.

@mattab
Piwik Open Source Analytics member

What is the bug exactly? what user agent, what is behavior VS what do you expect? create a new ticket

@anonymous-piwik-user anonymous-piwik-user added this to the 1.6 Piwik 1.6 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment