Skip to content

Webchat Widget

The Webchat Widget in Settings › Channels › Channels (/settings/channels on the Webchat tab, opening widget details at /settings/channels/webchat/[id]) lets you build a live chat launcher for your website or mobile app complete with a real-time Live Preview and nine configuration tabs.

  • Your account has channel management permissions (channel:read and channel:manage).
  • Prepare the list of website domains where the widget will be embedded (for example example.co.id, app.example.co.id).
  1. Open Settings › Channels › Channels (/settings/channels) and select the Webchat tab.
  2. Click Create Widget.
  3. In the Create Webchat Widget dialog, enter the widget Name (for example Customer Support Chat) and your allowed website domains.
  4. Save the dialog to open the widget configuration page (/settings/channels/webchat/[id]).
  5. Customize the settings across the 9 tabs below while checking the Live Preview pane, then click Save Changes (Widget settings saved).

Reference: the 9 Webchat Widget configuration tabs

Section titled “Reference: the 9 Webchat Widget configuration tabs”

On the widget detail page (/settings/channels/webchat/[id]), you can configure nine areas:

Portal TabKey Settings
1. AppearanceConfigures header title, subtitle, primary brand color, launcher position on screen (bottom-left or bottom-right), welcome greeting, and brand logo upload (Logo uploaded).
2. Pre-chat FormEnables a pre-chat form to collect visitor name, email, phone number, or custom fields, including a Consent & Privacy (PDP Law) checkbox (Require consent checkbox, Indonesian & English consent copy, and consent version string).
3. BehaviourConfigures office hours and the offline message form outside business hours, visitor file attachments, proactive auto-open triggers (by URL or time on page), and post-chat CSAT surveys.
4. WhatsAppEnables the Continue on WhatsApp button inside the widget so visitors can move an active webchat session to WhatsApp while keeping conversation context (see Continue Webchat on WhatsApp).
5. TranscriptsAllows visitors to request an email copy of the chat transcript when the conversation ends.
6. AnalyticsDisplays widget engagement metrics (launcher impressions, chats started, and pre-chat form completion) and optional event forwarding to your site analytics.
7. Visitor IdentityManages the HMAC/JWT signing secret used to verify signed-in users (external_id, name, email, phone) and provides visitor data erasure (Visitor data deleted: purges sessions and conversations by external_id or visitor_id).
8. SecurityRestricts allowed origin domains (CORS / frame-ancestors), configures per-visitor message rate limits, and blocks abusive IPs or sessions.
9. Install & APIProvides the <script> embed snippet to paste before </body> on your site, a direct share link (standalone PWA chat page), and integration guides for the JavaScript SDK and mobile WebViews.
Section titled “Embed the widget on a website, mobile app, or standalone link”
  1. Open the Install & API tab on your widget.
  2. Click Copy on the <script> snippet and paste it into your website’s HTML template.
  3. To control the widget programmatically from your web app or embed it inside an Android/iOS app, see:

The Webchat launcher appears on the domains listed in your Security tab, and every visitor message arrives in Conversations enriched with the visitor’s Pre-chat Form answers or verified Visitor Identity token.

  • The widget launcher does not appear on your website: Check the Security tab of your widget and verify that the host domain is included in the allowed origins list.
  • Existing user tokens fail after rotating the secret in Visitor Identity: When Signing secret updated appears, copy the new secret immediately and update your backend token signer—the new secret is displayed only once.