Visitor Identification
With the Visitor Identification, you will be able to connect the data of your system with Glyph Chat
Defining visitor data
To define visitor detaisl while loading the page, you need to paste in the javascript code from below, juste before the chat code. This will fetch the use details from you system and fill them to Glyph Chat.
window.glyphChatApi.setVisitorData({
distinct_id: "unique id from your system",
name: "John Doe",
email: "john.doe@email.com",
tags: ["test1", "test2"],
});
All fields are optional.
| Parameter | Description | Format |
|---|---|---|
| distinct_id | unique id from your system | string |
| name | user name | string |
| user email | string | |
| phone | Phone number | string |
| tags | Discussion tags | array of strings |