Interface NiceDFOConfig

The configuration in the main config that is needed to initialize the SDK.

interface NiceDFOConfig {
    brandID: number;
    channelID: string;
    environment: string;
    useWebChatUserID?: boolean;
}

Properties

brandID: number

The brand ID from the Nice embed code.

channelID: string

The channel ID from the Nice embed code.

environment: string

The Nice environment where the account is hosted.

useWebChatUserID?: boolean

Indicates if the web chat user ID should be used. By default, if web chat is using a web chat generated anonymous ID, then a new unique ID is generated for the user on each interaction with Nice. If web chat is using a user ID provided by the host page, then that ID will be used instead. This value can be used to override that behavior. If this value is true, then the web chat user ID will be used even if it's for an anonymous user. If this value is false, then a new unique ID will be generated instead.

MMNEPVFCICPMFPCPTTAAATR