These options can be passed via the widgetOptions objects.
JavaScript
Name | Type | Description | Default |
---|---|---|---|
baseUri | string | Glassix dedicated server url | https://app.glassix.com |
serverlessUrl | string | Glassix dedicated server url | https://serverless.glassix.com |
culture | string | https://serverless.glassix.com | |
participantName | string | ||
participantPhoneNumber | string | ||
participantMailAddress | string | ||
enableParticipantName | boolean | ||
isParticipantNameOptional | boolean | ||
Cvents | object | Glassix dedicated server url | |
verboseLogging | boolean | Additional logs | FALSE |
uniqueIdentifier | Guid | If your visitor is uniquely identified, this will override our cookie. | |
disableIntroductionMessage | boolean | Don't show the intro message at all. | FALSE |
disableIntroductionMessageOnMobile | boolean | Don't show the intro message on mobile devices. | |
introductionMessageText | string | The introduction message shown to the site visitor. | |
chatNowPromptText | string | The click to action message under the introduction message. | |
setWidgetAsVisibleTimeoutInMiliseconds | integer | Automatically open the chat widget, in milliseconds, after initialization. | |
tags | Array [string] | Set the ticket tags. | |
defaultParticipantMessage | string | ||
enableParticipantMessage | boolean | TRUE | |
isParticipantMessageOptional | boolean | FALSE | |
usePhoneNumber | boolean | FALSE |
Design
Name | Type | Value | Default |
---|---|---|---|
width | string | Valid css value | |
height | string | Valid css value | |
position | string | 'left' , 'right' | 'left' |
bottom | string | pixels + 'px' | |
launcherColor | string | Hexadecimal color | |
launcherIcon | string | Url of an image to replace the default icon | |
mobileLauncherSize | string | 'normal', 'medium' , 'small' | 'normal' |
mobilePosition | string | 'left' , 'right' |
Fields
Name | Type | Description |
---|---|---|
field1 | string | Optional dynamic parameter value |
field2 | string | Optional dynamic parameter value |
field3 | string | Optional dynamic parameter value |
field4 | string | Optional dynamic parameter value |
field5 | string | Optional dynamic parameter value |
field6 | string | Optional dynamic parameter value |
field7 | string | Optional dynamic parameter value |
field8 | string | Optional dynamic parameter value |
field9 | string | Optional dynamic parameter value |
field10 | string | Optional dynamic parameter value |
Accessibility
Name | Type | Description | Default |
---|---|---|---|
launcherButtonAriaLabel | string | The aria-label attribute of the launcher button | 'Chat' |
If you wish to control the DOM element on which the widget will be attached on, add the following div:
<div id="glassix-client"></div>