Skip to main content

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.

ParameterDescriptionFormat
distinct_idunique id from your systemstring
nameuser namestring
emailuser emailstring
phonePhone numberstring
tagsDiscussion tagsarray of strings