Ending with
Learn how to check if a string ends with a specific suffix.
This operator checks if a string finishes with another string. This test is case-sensitive, so both the letters and their case must match exactly.
Multi-condition criteria
You can combine conditions to create more advanced criteria.
Syntax
The basic syntax is:
with /*<name>*/ ending with /*<value>*/
The negation of this operation can be expressed as:
with /*<name>*/ not ending with /*<value>*/
Parameters
These are the supported parameters:
- name
The name of the event property to check.
- value
The string value to compare against.
Examples
Check if a campaign name ends with a specific term:
user has viewed campaign with name ending with "Pro"
Or to check the opposite:
user has viewed campaign with name not ending with "Pro"