Like

Learn how to check if a string matches another.

This operator checks if a string includes another string. The operator is case-insensitive, meaning that the strings match regardless of capitalization.

Syntax

The basic syntax is:

with /*<name>*/ like /*<value>*/

The negation of this operation can be expressed as:

with /*<name>*/ not like /*<value>*/

Parameters

These are the supported parameters:

name

The name of the event property to check.

value

A value to check if the string matches.

Examples

Check if a product with a name containing a specific term was abandoned:

user has abandoned a product with name like "smart"
Try in Playground

Or to check the opposite:

user has abandoned a product with productName not like "smart"
Try in Playground