Rules and parameters for Device Detection
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:
The Device rule group (Rule group: Device).
Rule |
Description |
---|---|
where the query string matches value |
Compares the query string with the defined value. |
where the user agent compares to value |
Compares the user agent string with the defined value. |
where the device browser compares to specific value |
Matches the device browser model and version with the specified value, for example: |
where browser supports HTML 5 audio |
|
where browser supports HTML 5 video |
|
where browser supports JavaScript |
|
where the device hardware model compares to specific value |
Compares the device model and version with the defined value, for example: |
where the device property compares to specific value |
Compares any device property in the database with the defined value. |
where the device operating system compares to specific value |
Compares the operating system (OS) name and version of the device with the defined value, for example: |
where the device operating system vendor compares to specific value |
Compares the device OS vendor with the specified value, for example |
where the device supports touch screen |
|
where device type is value |
Compares the device type to the specified value, such as |
where the device vendor compares to specific value |
Compares the company who made the device with the specified value, for example |
where the hardware screen height compares to number |
Compares the display height of the device in pixels with the specified value. |
where the hardware screen width compares to number |
Compares device the display width of the device in pixels with the specified value. |
Sitecore Device Detection parameters
There are also more than 600 Sitecore Device Detection parameters in the device database. You can use them to further customize your Sitecore sites and adapt the presentation of them on different devices using the Rule Set Editor.