userAgent

  • Property Manager name: User Agent
  • Criteria version: The v2024-10-21 rule format supports the userAgent criteria v1.1.
  • Rule format status: GA, stable
  • Access: Read/Write
  • Allowed in includes: Yes

Matches the user agent string that helps identify the client browser and device.

OptionTypeDescriptionRequires
match​Operatorenum

Matches the specified set of values when set to IS_​ONE_​OF, otherwise IS_​NOT_​ONE_​OF reverses the match.

{"displayType":"enum","options":["IS_ONE_OF","IS_NOT_ONE_OF"],"tag":"select"}
IS_​ONE_​OF

Matches any of the specified values.

IS_​NOT_​ONE_​OF

Does not match any of the specified values.

valuesstring array

The User-Agent header's value. For example, Mozilla/4.​0 (compatible; MSIE 6.​0; Windows NT 5.​1).

{"displayType":"string array","tag":"input","todo":true}
match​Wildcardboolean

Allows wildcards in the value field, where ? matches a single character and * matches zero or more characters. For example, *Android*, *i​Phone5*, *Firefox*, or *Chrome* allow substring matches.

{"displayType":"boolean","tag":"input","type":"checkbox"}
match​Case​Sensitiveboolean

Sets a case-sensitive match for the value field.

{"displayType":"boolean","tag":"input","type":"checkbox"}