Send customer information
Pass auser object to the update command:
user object. Fields not in the recommended list are kept as metadata for the agent.
Recommended fields
Fill in as many of these as you can. They unlock off-the-shelf targeting and configuration for the agent.When to send it
Send it as soon as you know who the customer is, normally right after they sign in. See Controlling sessions for the recommended login flow.Server-side context
Theuser object is set in the browser. To attach context from your backend instead, or in addition, use the User Context API, which matches the onboardee by email.
