Example Use Case - New Users
Let’s say you want to send a welcome email to new users. You can create a segment that includes users whosecreatedAt
trait is a timestamp within the last 30 minutes.


Path Syntax
Paths use JSON path syntax as documented in the JSONPath specification, with one deviation. If the path starts with a$
, it is treated as a JSONPath expression. Otherwise, it is automatically prefixed with $.
. So, for example, the path $.store.book[0].title
and store.book[0].title
are equivalent.
Prefixing the path with $
is optional, but it is useful when your path contains whitespace or other characters that are not valid in JSONPath expressions. For example, the path $['property name with spaces']
is valid, but ['property name with spaces']
is not.