When you toggle on LiveChat in Segment, this is what happens:
- LiveChat’s chat box will appear on your page and you can start chatting with visitors.
LiveChat is only supported on the client-side.
When you call
identify on analytics.js, we take all the
traits you provide and set them as custom variables using LiveChat’s
set_custom_variables function. We use the
userId you provide to
identify as a custom variable called
Record Live Chat Events
With this destination, you can automatically record
track events for live chat conversations. If you select this option, we’ll collect the following events:
- Live Chat Conversation Started
- Live Chat Conversation Ended
- Live Chat Message
- Live Chat Message Received
These events will then flow out to your other tools, so you can do things like analyze if users who chat spend more money over time.
To learn more about the live chat events you can capture with this destination, head on over to our Live Chat spec docs.
Supported Sources and Connection Modes
The first step is to make sure LiveChat supports the source type and connection mode you’ve chosen to implement. You can learn more about what dictates the connection modes we support here.
To learn more about about Connection Modes and what dictates which we support, see here.
Segment lets you change these destination settings from your Segment dashboard without having to touch any code.
You can divide LiveChat agents into different groups such as “Billing” or “Support”
Record live chat events.
Automatically send Live Chat message events, conversation starts and ends to other tools you have enabled.
This page was last modified: 25 Nov 2019
Questions? Problems? Need more info? Contact us, and we can help!