...
The trigger has the possibility to combine multiple conditions with AND
and/or OR
statements.
Example
We will use an example to explain how the operators and statements can be used. Suppose your website places a cookie with the name color
, which can have the values red
, white
, blue
, or light blue
. Also, a cookie with the name figure
which can have the values circle
, or square
can be placed.
...
Use this operator if you want to show a form when a specific cookie is present regardless of its value. E.g. if the cookie color
is placed in the visitor’s browser.
...
does not exists
contains
matches exactly
does not contain
, set the condition to color
exists
to trigger the form. The condition does not require a value.
...
In our example, the condition will evaluate to true if the cookie color
is present.
does not exists
Use this operator if you want to show a form when a specific cookie is not present regardless of its value. E.g. if the cookie color
is not present in the visitor’s browser, set the condition to color
does not exist
to trigger the form. The condition does not require a value.
...
In our example, the condition will evaluate to true if the cookie color
is not present.
contains
Use this operator if you want to show a form when a specific cookie has a value that contains a string. E.g. if the value of the cookie color
in the visitor’s browser has a value that contains the string blue
, set the condition to color
contains
blue
to trigger the form.
...
In our example, the condition will evaluate to true if the value of the cookie color
is blue
or light blue
.
matches exactly
Use this operator if you want to show a form when a specific cookie has a specific value. E.g. if the value of the cookie color
in the visitor’s browser has the value red
, set the condition to color
matches exactly
red
to trigger the form.
...
In our example, the condition will evaluate to true if the value of the cookie color
is red
.
does not contain
Use this operator if you want to prevent a form from showing when a specific cookie has a value that contains a string. E.g. if the value of the cookie color
in the visitor’s browser has a value that contains the string light
, set the condition to color
does not contain
light
to prevent the form from triggering when the value is light blue
.
In our example, the condition will evaluate to true if the value of the cookie color
is red
.
and
or
and & or
Show based on JavaScript variables on the page
Show based on HTML elements on the page
Easy html macro | ||||
---|---|---|---|---|
| ||||