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.

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:

name
any

The name of the event property to check.

value
any

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
Try in Playground

Or to check the opposite:

user has abandoned a product with displayPrice not equal to 100
Try in Playground

Check if a campaign with a given term was viewed:

user has viewed campaign with term equal to "running shoes"
Try in Playground