Parameters
User identity data.
Example
Behavior
- On first call (anonymous → identified), the SDK re-authenticates with the widget to get a user-scoped JWT.
- If the user switches accounts (different
account.id), the session is rotated and replay restarts. - Custom attributes (any key beyond
id,email,name,account,userHash) are stored as user properties and can be used in segments and campaigns.

