Boot options for initializing the SDK.

Hierarchy

  • BootOption

Properties

appearance?: Appearance

Configure the initial appearance of your theme.

  • The default value is null.
customLauncherSelector?: string

Specifies a CSS selector to target the custom launcher.

  • Useful for customizing the default channel button.
hideChannelButtonOnBoot?: boolean

Determines whether to hide the default channel button.

  • The default value is false.
hidePopup?: boolean

Determines whether to hide marketing pop-ups and message alert pop-ups.

  • The default value is false.
language?: string

Specifies the default language setting.

  • Applies to new users; does not modify existing users' language settings.
  • Supports message translation in 32 languages and UI language in ko, ja, and en.
  • UI text adapts to ko or ja; defaults to en otherwise.
memberHash?: string

Pass the HMAC-SHA256 hash of the user memberid using the issued secret key.

  • No need to pass memberHash unless using user data encryption.
memberId?: string

Specifies the member user's ID.

pluginKey: string

Specifies the plugin key for your channel.

profile?: Profile

Specifies the user’s profile.

trackDefaultEvent?: boolean

Determines whether to track the default PageView event.

  • The default value is true.
trackUtmSource?: boolean

Determines whether to track the UTM source and referrer.

  • The default value is true.
unsubscribe?: boolean

Determines whether to opt out of receiving marketing emails and text messages.

  • The default value is false.
unsubscribeEmail?: boolean

Determines whether to opt out of receiving marketing emails.

  • The default value is false.
unsubscribeTexting?: boolean

Determines whether to opt out of receiving marketing text messages.

  • The default value is false.
zIndex?: number

Sets the z-index for elements generated by the SDK.

  • Applies to the channel button, messenger, and marketing pop-ups.
  • The default value is 10,000,000.

Generated using TypeDoc