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

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

enableField1

boolean

Ask the visitor to fill this field

enableFied2

boolean

Ask the visitor to fill this field

enableField3

boolean

Ask the visitor to fill this field

enableField4

boolean

Ask the visitor to fill this field

field1Hint

string

Field placeholder

field2Hint

string

Field placeholder

field3Hint

string

Field placeholder

field4Hint

string

Field placeholder

field1Title

string

Field's title

field2Title

string

Field's title

field3Title

string

Field's title

field4Title

string

Field's title

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>