Conditions apply to Goal and Facet automation, to determine when to apply values to the Visitor.
Condition Types
The matrix below shows the conditions available.
Condition | Form submission | Visitor | Session | Session Event |
---|---|---|---|---|
Form identifier | x | |||
Form target field | x | |||
Form raw data | x | |||
Visitor Facet | x | x | x | x |
Visitor Goal | x | x | x | x |
Visitor Stat | x | x | x | x |
Visitor field | x | x | x | x |
Visitor raw data | x | x | x | x |
Session Stat | x | x | ||
Session field | x | x | ||
Session raw data | x | x | ||
Event type | x | |||
Event raw data | x |
The field and raw data conditions allow you to specify any mapped object field or available data accessor to compare. For example, a form submission mapped to a Lead may check the value of any mapped Lead field.
The Goal and Stat conditions check for the presence of a Goal or Stat by name, and compare the numeric value. The Facet condition checks for the presence of the Facet.
The Event conditions allow processing detailed Event data not normally saved to Salesforce.
Condition Operators
Each condition may compare the desired value in a few different ways:
Equal
Less than
Greater than
Includes
Contains
Operators are only supported for data types where they make sense; for example Contains is useful for strings but not so much for numbers or dates.
Comparison values
S4S Cloud automatically detects and converts data types where possible, supporting numbers, date(/time)s and boolean values in addition to strings.
To supply multiple values for the Includes operator, separate the values with a comma, e.g. value1,value2
.