Retrieving Traits
Connect (Client-Side)
To retrieve traits, you’ll need:- Data Source: In the example below, the data source is
uber
, you can see a list of valid sources here. - Trait Label: In the example below, the trait label is
rating
. This varies across data sources. You can find out what trait labels on the reference page of the data source in question. For example, on the Uber page, you’ll see that it supportsrating
&trip_count
trait labels.
Sauron (Server-Side)
getTraits and lookupTrait let you request end-user traits using a data key.Trait Response
See all the
Trait
attributes & values.Request a data source
We’re constantly adding new sources and we’d love to hear from you.