WiseParts
Communication

Chat Widget

Add a live-chat widget to your own website so visitors can chat with your team.

Add a live-chat widget to your own website and let visitors start a conversation with your team in one click. Every chat lands in your Conversations inbox as its own channel, right alongside Email and WhatsApp, so your agents work from a single place.

Quick Overview: Paste one small snippet into your website to add a chat bubble. Visitors chat in real time, identified customers are recognized automatically, and any message that arrives after hours is captured and followed up by email.

What is the chat widget

The chat widget is a small chat bubble that sits in the corner of your website. When a visitor clicks it, they can send a message and get answers from your team in real time.

Behind the scenes, each widget chat becomes a conversation in your inbox. You reply, assign, tag, and resolve widget chats exactly like Email and WhatsApp — the only difference is where the message came from.

The widget is for your website's visitors, not your internal team. It is a customer-facing channel, so treat it like your other inbound channels.

Setting up the widget

Create and configure the widget from Conversations Settings, under the channels list.

  1. Open Conversations Settings and choose Add Chat Widget
  2. Give the widget a name (for example, "Website Chat") so you can recognize it in the inbox
  3. Optionally pick a Ticket Email Channel — this is the email account used to follow up with visitors who leave before you reply
  4. Save to create the widget, then open its settings to finish the appearance and behavior
  5. Assign agents to the widget so live chats can be answered
If no agents are assigned to a widget, visitors always see your team as offline and live replies can't be delivered in real time. Assign at least one agent to the widget so live chat works.

Configuration options

Inside the widget settings you can tailor how it looks and behaves:

SettingWhat it controls
Welcome MessageThe greeting visitors see when they open the widget
Primary ColorThe accent color of the chat bubble and header
PositionBottom-right or bottom-left of the page
LanguageFix a language, or let it detect the visitor's automatically
BrandingHeader logo, avatar, bubble style, fonts, and header gradient
Ticket Email ChannelWhere visitor tickets and after-hours follow-ups are sent from
Customize LabelsReword the buttons and prompts visitors see
Proactive MessagesPop-up nudges triggered by time on page, a URL match, or scroll depth
Quick RepliesOne-tap starter buttons that send a pre-written message

Adding the widget to your website

To make the widget appear, paste a small snippet into your website's HTML, just before the closing </body> tag. It loads without slowing your page down.

<script>
  (function (w, d) {
    w.WisePartsWidget =
      w.WisePartsWidget ||
      function () {
        (w.WisePartsWidget.q = w.WisePartsWidget.q || []).push(arguments);
      };
    var s = d.createElement("script");
    s.async = 1;
    s.src = "https://your-wiseparts-domain/widget/loader.js";
    s.dataset.workspaceId = "YOUR_WORKSPACE_ID";
    d.head.appendChild(s);
  })(window, document);
</script>
Copy the exact snippet from your widget settings — your workspace ID is already filled in for you under Embed Code. For extra safety you can restrict which domains are allowed to load the widget in the widget's Privacy & security settings.

Identifying your visitors

By default, visitors are anonymous — they appear in your inbox with a short, friendly identifier. If you already know who the visitor is (for example, a customer signed in to your website), you can tell the widget who they are so their name and email show up on the conversation.

Add an identify call after the snippet, using the details you have:

<script>
  WisePartsWidget("identify", {
    external_id: "12345",
    name: "Jane Smith",
    email: "[email protected]",
  });
</script>

Now the conversation in your inbox is labeled with the visitor's name instead of an anonymous identifier, giving your agents context before they reply.

Verified visitor identity

Anyone can claim to be anyone in a browser, so for signed-in customers you can turn on verified identity. Your website's server produces a tamper-proof, signed identity for the visitor, and WiseParts checks it before trusting the name and email.

Verified identity is server-signed: the signing secret lives only on your server and never in your website's code. This makes a logged-in customer trusted and impossible to impersonate. The secret is managed in the widget's identity settings.

Controlling the widget

You can open, close, and react to the widget from your own site using simple commands:

CommandWhat it does
WisePartsWidget('open')Opens the chat window
WisePartsWidget('close')Closes the chat window
WisePartsWidget('toggle')Opens or closes it
WisePartsWidget('show')Shows the chat bubble
WisePartsWidget('hide')Hides the chat bubble
WisePartsWidget('on', ...)Runs your own code when chat events happen

For example, you can wire up your own "Chat with us" button to call WisePartsWidget('open').

The visitor experience

When a visitor opens the widget, they see your welcome message and can start typing right away. Your team's live status is shown at the top, so visitors know whether to expect an instant reply or a follow-up later.

You can ask visitors to agree to your privacy policy before they chat, and collect a few details up front:

  • Consent gate — visitors accept your privacy policy (with a link to it) before starting
  • Pre-chat form — ask for name, email, phone, or company, and mark any of them as required

Collecting an email up front means you can always follow up, even if the visitor leaves mid-conversation.

Proactive messages and quick replies

Give visitors a nudge or a head start:

  • Proactive messages appear as a small pop-up after a set time on a page, on pages matching a URL, or once a visitor scrolls far enough
  • Quick replies are one-tap buttons that send a pre-written message, so common questions start with a single click
Tip: Use a proactive message on high-intent pages (like pricing or checkout) to offer help exactly when visitors are most likely to have a question.

When your team is offline

The widget knows when your team is available. When everyone is offline, it adapts so no message is lost:

  • It prompts the visitor for an email sooner, so you have a way to reach them
  • It can send an automated "we're away" reply that sets expectations
  • If the visitor leaves before you reply, your reply is emailed to them and the conversation simply continues over email
After-hours replies can only be emailed when the widget has a Ticket Email Channel set and the visitor left an email address. Require email in the pre-chat form so every visitor can be reached.

Managing widget conversations

Widget chats behave like any other conversation in your inbox. You can assign them, tag them, snooze them, add private notes, and resolve them — and automatic assignment rules apply just as they do for Email and WhatsApp.

Visitors can also submit a ticket through the widget when your team is away. Tickets arrive in the inbox and are answered by email.

Learn how to reply, assign, tag, and resolve conversations from your inbox.

Privacy and security

The widget is built to protect both you and your visitors:

  • Consent — require visitors to accept your privacy policy before chatting, and respect their browser's "Do Not Track" signal
  • Verified identity — trust signed-in customers without risk of impersonation
  • Abuse protection — ticket submissions are rate-limited with a friendly "try again shortly" message, and a quick human-verification check can appear if activity looks suspicious
Note: A visitor can request a copy of their own data, and any tickets they submitted are included in that export — helping you meet GDPR data-access requests.

Conversations

Handle widget chats in your unified inbox.

Call Center

Manage inbound calls alongside your chats.

Dashboards

Track widget conversations, response times, and visitors.

Automations

Trigger actions when a widget chat is tagged.