For more information on embedding a chat in iFrame, read this guide.
In your website, where you want to place the chat iFrame add:
https://cdn.glassix.com/clients/widget-in-iframe.html?apiKey={{apiKey}}&snippetId={{snippetId}}
Note:
If you are using Identity Verification in our web chat you need to pass the uniqueIdentifier and identityToken as parameters.
Parameters
Name | Type | Description | Default Value |
---|---|---|---|
apiKey | string | Mandatory | |
snippetId | string | If you have more than one script for your department | |
culture | string | en-US | |
participantName | string | ||
participantPhoneNumber | string | ||
field1 | string | Optional dynamic parameter value | |
field2 | string | Optional dynamic parameter value | |
field3 | string | Optional dynamic parameter value | |
field4 | string | Optional dynamic parameter value | |
uniqueIdentifier | Guid | If your visitor is uniquely identified, this will override our cookie. Relevant if you are using Identity Verification | |
identityToken | string | Relevant if you are using Identity Verification |