YAUAA Enrichment

Summary

The YAUAA (Yet Another User Agent Analyzer) enrichment is a powerful user agent parser and analyzer. Using the user-agent request header, this enrichment returns a set of meta data about the user’s device and browser.

Overview

This enrichment uses the YAUAA API to parse and analyze the user agent string of an event and extract as many relevant attributes as possible, for example the device class (Phone, Tablet, etc.).

Only one parameter can be set in the configuration : cacheSize. This field determines the number of already parsed user agents that are kept in memory for faster processing. If set to 0, caching is disabled. If not set, a default size is used for the cache (10000).

If you’d like more help with this enrichement please contact us at support@snowplowanalytics.com.

The full output possiblities generated by the YAUAA algorithm can be found here.

Example

{
  "schema":"iglu:com.snowplowanalytics.snowplow/yauaa_context/jsonschema/1-0-0",
    "data": {
        "deviceClass":"Phone",
        "deviceName":"Samsung SM-G960F",
        "deviceBrand":"Samsung",
        "operatingSystemClass":"Mobile",
        "operatingSystemName":"Android",
        "operatingSystemVersion":"8.0.0",
        "operatingSystemNameVersion":"Android 8.0.0",
        "operatingSystemVersionBuild":"R16NW",
        "layoutEngineClass":"Browser",
        "layoutEngineName":"Blink",
        "layoutEngineVersion":"62.0",
        "layoutEngineVersionMajor":"62",
        "layoutEngineNameVersion":"Blink 62.0",
        "layoutEngineNameVersionMajor":"Blink 62",
        "agentClass":"Browser",
        "agentName":"Chrome",
        "agentVersion":"62.0.3202.84",
        "agentVersionMajor":"62",
        "agentNameVersion":"Chrome 62.0.3202.84",
        "agentNameVersionMajor":"Chrome 62"
   }
}

The above output is an example derived context attached to an enriched event by this enrichment for a page visited with a Samsung Galaxy S9.