GuideReference
TrainingSupportCommunity

user_​agent

  • Property Manager name: User Agent
  • Criteria version: The v2023-05-30 rule format supports the user_​agent 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 * and ? wildcard matches in the value field. For example, *Android*, *i​Phone5*, *Firefox*, or *Chrome*.

{"displayType":"boolean","tag":"input","type":"checkbox"}
match_​case_​sensitiveboolean

Sets a case-sensitive match for the value field.

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