requestCookie

  • Property Manager name: Request Cookie
  • Criteria version: The v2023-01-05 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 * and ? wildcard matches in the cookie‚ÄčName field.

{"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 * and ? wildcard matches in 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"]}}
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"]}}