Tip: Programming Triggers with Multiple Conditions

by Phil A.

When more than one condition is programmed for a trigger, “AND / OR” operators are provided in order to specify whether a visitor would need to meet one or more of these conditions in order to qualify for a survey invitation or a Comment Card Feedback button. 

Conditions within a given trigger are processed in the order they are shown (left-associative), and the visitor would qualify for an invitation based on the invitation rate set for the trigger.  Below is an example which shows the way in which these conditions are processed:

 

Scenario: Acme Company would like to serve an invitation for the English version of their survey to those who are logged into their account or visited the “Support” section of their website while their browser language is set to “English”.

Programming_Triggers_with_Multiple_Conditions.png

 

1. This checks whether the visitor is either on a page which contains the word “support” in the URL, or if they were given a cookie on the website which confirms that they signed into their account. 

If either of these are correct, then this condition would be “true”. 

If neither of these are correct, then this condition would be “false”. 

 

2. The second (and final) condition checks whether the visitor meets the first condition programmed, and if the visitor’s browser language is set to “English”. 

If both of these are correct, then this condition would be “true”, and the visitor would be served an invitation for the survey

If one or neither of these are correct, then this condition would be “false”, and the visitor would not be served an invitation for the survey.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk