Documentation
Getting Started
Concepts
Integrations
JavaScript
Python
Browser
LangChain
Others
Features
Analytics
Logging
Tracing
Users
Chat Replays
Feedback
Tags
Tests
More
Data API
Self Hosting
User Tracking
User tracking allows you to identify your users, track their cost, conversations and more.
The strict minimum to enable user tracking is to report a userId
, however you can report any property you'd like such as an email or name using an userProps
object.
Tracking users with the SDK
1
2
3
Tracking users on the frontend
If you are tracking chat messages on the frontend, you can use the identify
method of the monitor to identify the user there.
User Properties
While you can track any property you'd like, we recommend using the following ones:
Property | Description |
---|---|
name | Name of the user |
email | Email of the user |
avatar | URL to an avatar |
group | Group or company ID the user belongs to |