This enrichment uses the ua-parser library to parse the user agent and provide information about the user’s device.
Collecting and separating out all the valuable device information to be found in the user agent is a great way to get insight into the types of devices and operating systems and versions your users are using. This helps with deciding which to support as well as in decisions around functionality releases.
With the device family field which is part of the context you can also benefit from the lookup done with our database to sort the multitude of different devices into higher level device types like desktop, mobile, tablet, other, etc.
This enrichment uses the field
This enrichment adds a new context to the enriched event with this schema.
|Useragent family (browser) name|
|Useragent major version|
|Useragent minor version|
|Useragent patch version|
|Full version of the useragent|
|Operation system name|
|Operation system major version|
|Operation system minor version|
|Operation system patch version|
|Operation system patch minor version|
|Operation system full version|
As an example, the useragent string
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36
would be parsed with the following result:
*empty values denoted by “-“