1. Device Detection

Rules and parameters for Device Detection

Version:

There are a number of rules and parameters that are currently available in the Rule Set Editor for Sitecore Device Detection. You can use these to further customize your Sitecore sites and optimize the presentation of your website on different devices for your visitors.

Sitecore Device Detection rules

You can find the rules for Device Detection in the Device rule group in the Rule Set Editor. They are as follows:

Rules and parameters for Sitecore Device Detection

The Device rule group (Rule group: Device).

RuleDescription
where the query string matches valueCompares the query string with the defined value.
where the user agent compares to valueCompares the user agent string with the defined value.
where the device browser compares to specific valueMatches the device browser model and version with the specified value, for example: Chrome42
where browser supports HTML 5 audioTrue when the visitor's browser supports HTML 5 audio playback.
where browser supports HTML 5 videoTrue when the visitor's browser supports HTML 5 video playback.
where browser supports JavaScriptTrue when the visitor's browser supports JavaScript.
where the device hardware model compares to specific valueCompares the device model and version with the defined value, for example: SamsungS4.
where the device property compares to specific valueCompares any device property in the database with the defined value.
where the device operating system compares to specific valueCompares the operating system (OS) name and version of the device with the defined value, for example: Android4.2.1.
where the device operating system vendor compares to specific valueCompares the device OS vendor with the specified value, for example Microsoft.
where the device supports touch screenTrue when the visitor's device is enabled with touchscreen.
where device type is valueCompares the device type to the specified value, such as Smartphone or Tablet.
where the device vendor compares to specific valueCompares the company who made the device with the specified value, for example Apple Inc.
where the hardware screen height compares to numberCompares the display height of the device in pixels with the specified value.
where the hardware screen width compares to numberCompares device the display width of the device in pixels with the specified value.
If you have suggestions for improving this article, let us know!