Greater than

Learn how to check if a property is greater than a value.

This operator checks whether one value is greater than another. You can use it to compare numbers, strings, dates, or any other value that has a concept of order.

Syntax

The basic syntax for this operator is:

with /*<name>*/ greater than /*<value>*/

The negation of this operation can be expressed as:

with /*<name>*/ not greater than /*<value>*/

You can also use the symbolic notation:

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 greater than 100
Try in Playground

Or to check the opposite:

user has abandoned a product with displayPrice not greater than 100
Try in Playground