requestCookie

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

Match the cookie name or value passed with the request.

OptionTypeDescriptionRequires
match​Operatorenum

Narrows the match criteria.

{"displayType":"enum","options":["IS","IS_NOT","EXISTS","DOES_NOT_EXIST","IS_BETWEEN"],"tag":"select"}
IS

If the field's value string matches.

IS_​NOT

If the field's value string does not match.

EXISTS

Matches if the cookie​Name cookie exists.

DOES_​NOT_​EXIST

Matches if the cookie​Name cookie does not exist.

IS_​BETWEEN

Is between the numeric lower​Bound and upper​Bound values.

valuestring

The cookie's value, for example, anon in visitor:anon.

match​Operator is either: IS, IS_​NOT
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS","IS_NOT"]}}
lower​Boundnumber

When the value is numeric, this field specifies the match's minimum value.

match​Operator is IS_​BETWEEN
{"displayType":"number","tag":"input","type":"number"}
{"if":{"attribute":"matchOperator","op":"eq","value":"IS_BETWEEN"}}
upper​Boundnumber

When the value is numeric, this field specifies the match's maximum value.

match​Operator is IS_​BETWEEN
{"displayType":"number","tag":"input","type":"number"}
{"if":{"attribute":"matchOperator","op":"eq","value":"IS_BETWEEN"}}
match​Wildcard​Nameboolean

Allows wildcards in the cookie​Name field, where ? matches a single character and * matches zero or more characters.

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

Sets a case-sensitive match for the cookie​Name field.

{"displayType":"boolean","tag":"input","type":"checkbox"}
match​Wildcard​Valueboolean

Allows wildcards in the value field, where ? matches a single character and * matches zero or more characters.

match​Operator is either: IS, IS_​NOT
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS","IS_NOT"]}}
match​Case​Sensitive​Valueboolean

Sets a case-sensitive match for the value field.

match​Operator is either: IS, IS_​NOT
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS","IS_NOT"]}}