User
Definition
An user entity in Bucket is used to store the details of an user that interacted with your application. Users are normally part of one or more companies. It is mandatory that the user be part of a company, otherwise user's interactions are not taken into account.
Attributes
An user entity is essentially a collection of attributes. Each attribute is a key — value pair supplied by your application. There is one mandatory attribute each user must have: ID
, and three special attributes Bucket uses in its UI for convenience: email
, name
and avatar
. It is up to you to provide whichever attributes you deem necessary.
Bucket manages a set of computed attributes when you send data to Bucket:
First seen
andLast seen
denote the first and last time the company-related interactions have been sent to Bucket,Event count
is updated any time there is a new event received referencing the user.
In Segment terminology, users can be thought of as acting as an Identify call. User attributes can be thought of as User traits.
Do not include PII data when sending in user attributes. It is recommended that any sensitive data should be hashed or otherwise not included.
Next steps
Learn how to define feature access rules using user attributes within Bucket UI.
Last updated
Was this helpful?