Lead generated
Learn how to check if a user has become a lead.
This expression verifies whether the user has become a lead based on Lead generated events.
Make sure your app is tracking the Lead generated event before using this expression. Without this event, the expression will always evaluate to false.
Syntax
The basic syntax for this expression is:
user has become a leadThe negation of the expression can be expressed as:
user has not become a leadYou can refine the expression with criteria, quantifiers, and time windows:
user has become a lead /*<criteria>*/ /*<quantifier>*/ /*<window>*/Parameters
These are the supported parameters:
- criteria(optional)
Additional filtering criteria for the link opened event.
- quantifier(optional)
A quantifier to specify how many times the sign up must have occurred.
- window(optional)
The time window during which the sign up must have occurred.
Event properties
- id
The ID of the lead.
Examples
You can check whether a user has become a lead:
user has become a leadOr check if they have not:
user has not become a leadYou can also add criteria, such as specifying an ID:
user has not become a lead with id "123"You can also check how many times a user has become a lead:
user has become a lead at least 2 timesYou can even filter by time, such as checking if a sign‑up happened yesterday:
user has become a lead yesterdayCombine criteria, quantifiers and time-based conditions:
user has become a lead with id "123" at least 2 times this month