Overview

This documentation details the process of setting a custom visitor ID (visitorId) in the TrueEngage widget. This feature allows users to provide information about the visitor they recognize (e.g., upon login).

Feature Description

Visitor information can be added to a widget by passing it in a JavaScript object before embedding the widget on a web page. Passing a custom visitor ID allows you to maintain a consistent interaction history and chat resumes from different devices.

Implementation Steps:

Define Custom Channel Settings

Examples

window._cceSettings = {
      visitorId: 'custom_visitor_id_4'
    };

Best Practices

For further assistance or advanced customization options, please contact support.