User agent strings in Adobe Experience Cloud
Adobe Experience Cloud solutions utilize the user agent strings in various ways.
- Adobe Analytics utilizes the user agent string to augment and derive additional information related to operating systems, browsers, and devices used to visit a website.
- Adobe Audience Manager and Adobe Target qualify end-users for segmentation and personalization campaigns, based on the information provided by the user agent string.
Introducing user agent client hints
In recent years, site owners and marketing vendors have used user agent strings along with other information included in request headers to create digital fingerprints. These fingerprints can be used as a means of identifying users without their knowledge.
Despite the important purpose that user agent strings serve for site owners, browser developers have decided to change how user agent strings operate, to limit potential privacy issues for end-users.
The solution they developed is called user agent client hints. Client hints still allow websites to collect necessary browser, operating system and device information, while also providing increased protection against covert tracking methods, such as fingerprinting.
Client hints allow website owners to access much of the same information available in the user agent string, but in a more privacy-preserving way.
When modern browsers send a user to a web server, the entire user agent string is sent on every request, regardless of whether it is required. Client hints, on the other hand, enforce a model where the server must ask the browser for the additional information it wants to know about the client. Upon receiving this request, the browser can apply its own policies or user configuration to determine what data is returned. Instead of exposing the entire user agent string by default on all requests, access is now managed in an explicit and auditable way.
Browser support
User agent client hints were introduced with Google Chrome version 89.
Additional Chromium-based browsers support the Client Hints API, such as:
- Microsoft Edge
- Opera
- Brave
- Chrome for Android
- Opera for Android
- Samsung Internet
Categories
There are two categories of user agent client hints:
Low entropy client hints
Low entropy client hints include basic information which cannot be used to fingerprint users. Information such as browser brand, platform, and whether the request is coming from a mobile device.
Low entropy client hints are enabled by default in Web SDK, and are passed on every request.
HTTP header | JavaScript | Included in User-Agent by default | Included in client hints by default |
---|---|---|---|
Sec-CH-UA | brands | Yes | Yes |
Sec-CH-UA-Platform | platform | Yes | Yes |
Sec-CH-UA-Mobile | mobile | Yes | Yes |
High entropy client hints
High entropy client hints are more detailed information about the client device, such as platform version, architecture, model, bitness (64 bit or 32 bit platforms), or full operating system version. This information could potentially be used in fingerprinting.
Property | Description | HTTP header | XDM path | Example | Included in user agent by default | Included in client hints by default |
---|---|---|---|---|---|---|
Operating system version | The version of the operating system. | Sec-CH-UA-Platform-Version | xdm.environment.browserDetails. userAgentClientHints.platformVersion | 10.15.7 | Yes | No |
Architecture | The underlying CPU architecture. | Sec-CH-UA-Arch | xdm.environment.browserDetails. userAgentClientHints.architecture | x86 | Yes | No |
Device model | The name of the device used. | Sec-CH-UA-Model | xdm.environment.browserDetails. userAgentClientHints.model | Intel Mac OS X 10_15_7 | Yes | No |
Bitness | The number of bits that the underlying CPU architecture supports. | Sec-CH-UA-Bitness | xdm.environment.browserDetails. userAgentClientHints.bitness | 64 | Yes | No |
Browser vendor | The company that created the browser. The low entropy hint Sec-CH-UA also collects this element. | Sec-CH-UA-Full-Version-List | xdm.environment.browserDetails. userAgentClientHints.vendor | Google | Yes | No |
Browser name | The browser used. The low entropy hint Sec-CH-UA also collects this element. | Sec-UA-Full-Version-List | xdm.environment.browserDetails. userAgentClientHints.brand | Chrome | Yes | No |
Browser version | The significant version of the browser. The low entropy hint Sec-CH-UA also collects this element. Exact browser version is not automatically collected. | Sec-UA-Full-Version-List | xdm.environment.browserDetails. userAgentClientHints.version | 105 | Yes | No |
High entropy client hints are disabled by default in Web SDK. To enable them you must manually configure the Web SDK to request high entropy client hints.
High entropy client hints impact on Experience Cloud solutions
Some Adobe Experience Cloud solutions rely on information included in high entropy client hints when generating reports.
If you do not enable high entropy client hints in your environment, the Adobe Analytics and Audience Manager reports and traits described below will not work.
Adobe Analytics reports relying on high entropy client hints
The Operating system dimension includes opertating system version which is stored as a high entropy client hint. If high entropy clients hints is not enabled, operating system version may be inaccurate for hits collected from Chromium browsers.
Audience Manager traits relying on high entropy client hints
Google has updated the Chrome browser functionality to minimize the information collected via the User-Agent
header. As a result, Audience Manager customers using DIL will no longer receive reliable information for traits based on platform-level keys.
Audience Manager customers who use platform-level keys for targeting must switch to Experience Platform Web SDK instead of DIL, and enable High Entropy Client Hints to continue receiving reliable trait data.
Enabling high entropy client hints
To enable high entropy client hints on your Web SDK deployment, you must include the additional highEntropyUserAgentHints
context option in the context
field.
For example, to retrieve high entropy client hints from web properties, your configuration would look like this:
context: ["highEntropyUserAgentHints", "web"]