Equal to
Learn how to check if a property is equal a value.
This operator checks whether an event property is equal to a given value.
Multi-condition criteria
You can combine conditions to create more advanced criteria.
Syntax
The basic syntax for this operator is:
with /*<name>*/ equal to /*<value>*/
You can omit the equal to part for brevity:
with /*<name>*/ /*<value>*/
The negation of this operation can be expressed as:
with /*<name>*/ not equal to /*<value>*/
You can also use the symbolic notation:
with /*<name>*/ == /*<value>*/
And for negation, you can use:
with /*<name>*/ != /*<value>*/
Parameters
These are the supported parameters:
- nameany
The name of the event property to check.
- valueany
The value to compare against.
Examples
Check if a product with a specific display price was abandoned:
user has abandoned a product with displayPrice equal to 100
Or to check the opposite:
user has abandoned a product with displayPrice not equal to 100
Check if a campaign with a given term was viewed:
user has viewed campaign with term equal to "running shoes"