Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Conditions apply to form Mapping, Goal and Facet automation, to determine when to apply values to the Visitor. A range of options are available to test different objects and properties.

Add Condition

Click Add Condition… to bring up the form. Enter the required values and click Save Condition. The changes will be reflected on screen immediately.

The fields will change depending on the selected Condition Test. S4S Cloud will provide dropdown selections relevant to the test where possible. Some tests also allow date/time input, check the Date value box to enable.

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.

  • No labels