This is a client-side condition which checks to see if a first-party cookie exists on the visitor’s computer with a name and text value specified when configuring the condition.
The following configuration options are available for this condition:
Cookie Name: This is used to specify the name of the cookie you are looking for.
Operator: This is used to specify the type of comparison to perform. You can also choose to perform a regular expression match by selecting matches regular expression from the dropdown.
Text Value: This is used to specify the numeric value used to perform the comparison.
Regular Expression: If you select Matches regular expression from the Operator dropdown, this text box is used to enter the regular expression you wish to use.
Test Regular Expression: This button appears when you select Matches regular expression from the Operator dropdown. It is used to provide a sample of text against which to test the Regular Expression specified for this condition. Type in some sample text and press the Test button. A tick or cross is displayed to indicate whether the Regular Expression is valid when run against the sample text provided.
Case Sensitive: This is used to specify whether or not the condition uses case sensitive matching. Checking the box instructs the condition to use case sensitive matching. This option is not available if you selected matches regular expression from the value dropdown.
Trim Whitespace: This is used to specify whether or not to trim leading or trailing whitespace from the value used for the comparison. Checking the box means that leading or trailing whitespace shall be removed.
Note: If no cookie with the specified name exists then the condition will return a value of false regardless of how the fields are configured.