Link opened
Learn how to check if a user has opened a specific link.
This expression checks whether a user has clicked on a specific link based on link opened event.
Syntax
The basic syntax for this expression is:
user has opened link /*<url>*/You can optionally include the article for better readability:
user has opened a link /*<url>*/The negation of the expression can be expressed as:
user has not opened link /*<url>*/You can refine the expression with quantifiers, and time windows:
user has opened link /*<url>*/ /*<quantifier>*/ /*<window>*/Parameters
These are the supported parameters:
- url
The URL of the link that the user opened.
- quantifier(optional)
A quantifier to specify how many times the event must have occurred.
- window(optional)
The time window during which the user has opened the link must have occurred.
Event properties
This event does not have additional properties.
Examples
You can check whether a user has opened a specific link:
user has opened a link "https://croct.com"Or check if they have not opened a specific link:
user has not opened a link "https://croct.com"You can also check how many times a link was opened:
user has opened a link "https://croct.com" exactly 3 timesYou can even filter by time, such as checking if the link was opened yesterday:
user has opened a link "https://croct.com" yesterdayCombine counts and time windows in one expression:
user has opened a link "https://croct.com" exactly 2 times today