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 criteria, quantifiers, and time windows:
user has opened link /*<url>*/ /*<criteria>*/ /*<quantifier>*/ /*<window>*/Parameters
These are the supported parameters:
- url
The URL of the link that the user opened.
- criteria(optional)
Additional filtering criteria for the link opened event.
- 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
The following event properties can be used within criteria expressions:
Examples
You can check whether a user has opened a link:
user has opened a link "croct.com"Or check if they have not opened a link:
user has not opened a link "croct.com"You can also add criteria, such as specifying a path:
user has viewed a page with url "croct.com" with path "/signup"Or specifying a query string like ?key=value:
user has viewed a page with url "croct.com" with property key of query "value"You can also check how many times a link was opened:
user has opened a link "croct.com" exactly 3 timesYou can even filter by time, such as checking if the link was opened yesterday:
user has opened a link "croct.com" yesterdayCombine criteria, counts and time windows in one expression:
user has opened a link "croct.com" with path "/signup" exactly 2 times todayThis feature is available only to accounts on the Scale plan. See the pricing page for more information.