Configure device lookup

The Device Lookup settings allow you to select device-specific information that you want to collect.

Expand the Device Lookup section to configure the settings described below.

Datastream configuration screen with the device lookup settings highlighted.

IMPORTANT
The settings shown in the table below are mutually exclusive. You cannot select both user agent information and device lookup data at the same time.
SettingDescription
Keep user agent and client hints headersSelect this option to only collect the information stored in the user agent string. This setting is selected by default. Populates xdm.environment.browserDetails.userAgent
Use device lookup to collect the following information

Select this option if you want to collect one or more of the following device-specific information:

  • Device information:

    • Device manufacturer: Populates xdm.device.manufacturer
    • Device model: Populates xdm.device.modelNumber
    • Marketing name: Populates xdm.device.model
  • Hardware information:

    • Hardware type: Populates xdm.device.type
    • Display height: Populates xdm.device.screenHeight
    • Display width: Populates xdm.device.screenWidth
    • Display color depth: Populates xdm.device.colorDepth
  • Browser information:

    • Browser vendor: Populates xdm.environment.browserDetails.vendor
    • Browser name: Populates xdm.environment.browserDetails.name
    • Browser version: Populates xdm.environment.browserDetails.version
  • Operating system information:

    • OS vendor: Populates xdm.environment.operatingSystemVendor
    • OS name: Populates xdm.environment.operatingSystem
    • OS version: Populates xdm.environment.operatingSystemVersion

Device lookup information cannot be collected along with user agent and client hints. Choosing to collect device information disables the collection of user agent and client hints, and vice versa.

Do not collect any device informationSelect this option if you do not want to collect any device lookup information. No device, hardware, browser, operating system, user agent, or client hint data is collected.

If you enable any of the fields above for data collection, make sure that you correctly set the context array property when configuring the Web SDK.

Device and hardware information use the context array string "device", while browser and operating system information use the context array string "environment".

Also, make sure that each desired XDM field exists in your schema. If it does not, you can add the Adobe-provided Environment Details field group to your schema.