Semantic User Attributes
Last updated
Last updated
Setting specific attributes on a user will help populate Profiles with given information. As an example, here is adding the user's full name using the :
$address
- The primary address associated with the user profile.
$age
- The user's age. ie 45
$birthMonth
- The user's month of birth. ie "January"
$birthYear
- The user's year of birth. ie 2000
$city
- The primary city associated with the user profile. ie "Oakland"
$company
- Company name. ie "ACME Inc."
$country
- The primary country associated with the user profile. - "United States of America"
$countryCode
- The primary country code associated with the user profile. ie "US"
$dateOfBirth
- The user's full date of birth. ie "2000-01-01"
$email
- The primary email associated with the user profile. ie "domain@domain.com"
$firstName
- The first name of the user. ie "John"
$fullName
- The full name of the user. ie "John Smith"
$gender
- The user's gender. ie "Male"
$lastName
- The surname of the user. ie "Smith"
$phone
- The primary phone number associated with the user profile. ie "+16505555555"
$postalCode
- The primary postal/zip/pin code associated with the user profile. ie "94301"
$profileImage
- URL pointing to the user's profile image or avatar ie "https://avatar.io/img1.webp"
$region
- The primary state/region associated with the user profile. ie "California"
$title
- The user's personal title. ie "Doctor"