These options can be passed via the widgetOptions objects.

JavaScript

NameType
Description
Default
baseUristringGlassix dedicated server urlhttps://app.glassix.com
serverlessUrlstringGlassix dedicated server urlhttps://serverless.glassix.com
culturestringhttps://serverless.glassix.com
participantNamestring
participantPhoneNumberstring
participantMailAddressstring
enableParticipantNameboolean
isParticipantNameOptionalboolean
CventsobjectGlassix dedicated server url
verboseLoggingbooleanAdditional logsFALSE
uniqueIdentifierGuidIf your visitor is uniquely identified, this will override our cookie.
disableIntroductionMessagebooleanDon't show the intro message at all.FALSE
disableIntroductionMessageOnMobilebooleanDon't show the intro message on mobile devices.
introductionMessageTextstringThe introduction message shown to the site visitor.
chatNowPromptTextstringThe click to action message under the introduction message.
setWidgetAsVisibleTimeoutInMilisecondsintegerAutomaticlly open the chat widget, in miliseconds, after initialization.
tagsArray[string]Set the ticket tags.
defaultParticipantMessagestring
enableParticipantMessagebooleanTRUE
isParticipantMessageOptionalbooleanFALSE
usePhoneNumberbooleanFALSE

Design

NameTypeValueDefault
widthstringValid css value
heightstringValid css value
positionstring'left' , 'right''left'
bottomstringpixels + 'px'
launcherColorstringHexadecimal color
launcherIconstringUrl of an image to replace the default icon
mobileLauncherSizestring'normal', 'medium' , 'small''normal'
mobilePositionstring'left' , 'right'

Fields

NameTypeDescription
field1stringOptional dynamic parameter value
field2stringOptional dynamic parameter value
field3stringOptional dynamic parameter value
field4stringOptional dynamic parameter value

Accessibility

NameTypeDescriptionDefault
launcherButtonAriaLabelstringThe 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>