Users
Overview
Users in Dopt are the people using your product. A user contains important properties that enable the targeting of flows and for Dopt to remember which flows a user has already seen.
User properties
User properties are attributes you send to Dopt about your users. They are the “adjectives” that describe your users. Examples include things like email address
, company
, role
, created date
, etc.
One of the powerful features of Dopt is the ability to target users based on user properties — who they are or what they’ve done. For example, you may want to target “new marketing admins”, for which you would need to know created date
, role
, and team
. All of these are user properties you can send to Dopt.
User properties are evaluated in start blocks to determine if a user should qualify for a flow.
There are no required user properties other than a unique identifier used when initially identifying users to Dopt. Some properties, like name
and email
, are personally identifiable information (PII). As a best practice we recommend only sending properties that may be required to complete your use cases.
Nested user properties are currently unsupported, but will still be accepted as valid values.
Example user
Here’s an example user with properties:
user = {
identifier: "e839-27cc",
properties: {
email: "oneill@acme.com",
name: "O'Neil",
company: "Acme Co",
projects: 2,
sku: "Pro",
activated: false,
role: "Marketing",
}
}
Identifying users
Users are identified to Dopt using Dopt’s users API.