What conditions to trigger a form are available?
Mopinion offers a wide variety of conditions that can be used to trigger a feedback form.
Show only to a percentage of users
By adjusting the percentage of users you can set what percentage of your page visitors will see the feedback form. By default, when the toggle is disabled, this condition is applied to all page visitors.
Show based on URL conditions
Th
Show to users coming from a specific page
Show form after a specific time on a page
Show on a specific date
Show on a specific time
Show only to visitors using a certain device
Show form after a specific time on the entire website
Show to users after visiting a specific amount of pages
Show form after the user scrolls to a certain position
Show based on the users cookies
With this condition, you can use the presence or absence of cookies and/or cookie values to show a form.
The condition has five operators.
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.
exists
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, 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