trait
value of an identify
event. It is the most basic and commonly used user property type. They can be used to render individual values, or to render arrays and objects.
plan
trait.
recommendations
trait, and use it to render a list of products.
Trait
user properties can be used to render arrays and objects in addition to strings.
$
, 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.