- Session variables
- Customer Data Platform
The lightweight path. The Chat Widget JS API’s Those values appear in the agent’s view under the customer details panel. They’re visible during the chat but not stored in Text’s customer records.Use this when the data is contextual and changes per visit.
set_session_variables call attaches arbitrary key-value pairs to a chat before it starts. When a customer opens the widget, your page calls: