Skip to the content

Website chat

A chat bubble on your own website, answered by your assistant, with live voice calls if you want them. Paste one line of code, choose the colours and words, and say which sites may show it.

Where
Assistant menuDeployChannelsWebsite
Permission
Needs Connect channels
Time
11 min read
Markdown
01 / 05Switch the bubble on. On Settings, turn on Widget enabled. Until then, nothing shows on your site.
  1. Switch the bubble on. On Settings, turn on Widget enabled. Until then, nothing shows on your site.
  2. Say where it may appear. Allowed domains keeps your key from working on anyone else's site.
  3. Copy the snippet. The Connection tab has the embed snippet. Paste it on every page, before </body>.
  4. A visitor asks. The bubble appears on your site and the assistant answers in the panel.
  5. Cards and buttons work too. Cards, buttons and choices draw under the assistant's message. A tap comes back as the visitor's answer.
The story

What a visitor sees

Follow Maria Lopez from the greeting to the end of her chat, side by side with Golden Oven's dashboard.

1

The chat opens

Maria Lopez clicks the bubble on Golden Oven's cakes page. The panel opens with your greeting: a short welcome you write on the Appearance tab.

Golden Oven has Collect email before chat on, so Maria enters her email first. It becomes the conversation's contact in your dashboard.

2

The assistant answers

The assistant uses the same instructions and knowledge as on every other channel. The visitor sees typing dots, then the reply as it is written.

3

Handing over

The header changes to say the visitor is waiting for a team member. Your team is alerted the way your handover action is set up.

4

A team member replies

While the panel is open, the widget keeps checking for replies from your team, so Amina's message appears without Maria reloading the page.

5

The conversation ends

Under the message box there is an End conversation link. Once ended, the panel says so and offers Start a new conversation.

If a visitor leaves without ending the chat and comes back later in the same browser, the conversation is still there.

01 / 05The chat opens. The greeting shows first. With the email gate on, the visitor gives an email before chatting.
  1. The chat opens. The greeting shows first. With the email gate on, the visitor gives an email before chatting.
  2. The assistant answers. Replies stream in as they are written. The same conversation appears in your dashboard straight away.
  3. Handing over. When the assistant hands over, the visitor is told a person is joining, right in the chat.
  4. A team member replies. Amina answers from the conversation page. On the website her reply carries a Team label.
  5. The conversation ends. The visitor can end it with End conversation. A new one starts fresh.

What website chat is

Website chat puts a round chat bubble on the pages of your site. Visitors click it, type, and your assistant answers in a small panel. If you switch on voice calls, visitors can also talk to the assistant from the same bubble.

Each assistant has one website chat. It is managed on the assistant: you set it up, change it and remove it on that assistant's Channels page. It cannot be moved to another assistant or parked, and it does not count toward a plan's channel limit. The workspace Channels page lists websites read-only. See How channels work.

Put the chat on your site

GoalThe chat bubble on every page of your website, answered by this assistant.

  1. 1

    Open Channels and click Set up on Website

    The Website page opens with three tabs: Connection, Appearance and Settings.

  2. 2

    On Settings, turn on Widget enabled

    It is off on a new assistant. While it is off, the snippet shows nothing.

  3. 3

    On Connection, copy the Embed snippet

  4. 4

    Paste it on your site

    Paste this before the closing body tag of every page that should show the chat. Most website builders have a place for custom code in the footer.

  5. 5

    Fill in Allowed domains

    List your site so the key only works there.

    Leave it empty while you test on a staging site, then fill it in before you go live.

  6. 6

    Style it on Appearance

    Colours, corners, wording and logo, with a live preview.

<script src="https://<widget address>/widget.js" data-key="pk_live_…" defer></script>
The embed snippet looks like this. Copy yours from the Connection tab: the key is unique to your assistant.

Developers who want to open the chat from their own buttons or pass details about the visitor can read Embedding the widget.

Connection tab

Chat bubbleShown
On or Off: whether Widget enabled is on.
Chat sessions this monthShown
How many chats visitors started this month.
Voice calls on the siteShown
On or Off: whether visitors can call from the bubble.
Voice calls this monthShown
Calls and minutes this month.
Embed snippetText
The line of code to paste on your site, with a copy button.

Appearance tab

Controls on the left, a live preview on the right. Each change shows in the preview at once and saves when you leave the field. Use Preview state to see the bubble, the greeting, the chat and a call, and the light and dark switch to check both schemes.

Colors4 controls
Primary colorText
The bubble and the panel header.
Default #0f766e
Secondary colorText
Accents. Empty works it out from the primary colour.
Default Empty
Background colorText
The panel's background. Empty follows the light or dark theme.
Default Empty
Text colorText
The panel's text. Empty follows the light or dark theme.
Default Empty

Each colour has a picker and a Theme default button that empties it.

Shape & placement4 controls
ThemeChoice
Light, dark, or auto, which follows the visitor's device setting.
Default autoOptions autolightdark
Corner styleChoice
How rounded the panel and buttons are.
Default softOptions sharpsoftround
Avatar styleChoice
How the assistant is drawn in the header and during voice calls.
Default orbOptions orbringminimal
PositionChoice
Which corner of the page the bubble sits in.
Default bottom_rightOptions bottom_rightbottom_left
Copy7 controls
TitleText
The panel's title. Empty uses the assistant's name.
Limit 60 characters
SubtitleText
The line under the title, for example "Typically replies in minutes". Empty shows ● Online.
Limit 120 characters
Launcher labelText
Text beside the bubble when the label is shown.
Default Chat with usLimit 60 characters
Show label on bubbleSwitch
Off shows a round icon only.
Default Off
GreetingText
Short welcome shown when the widget opens, before the first message.
Limit 200 characters
Call button labelText
The button that starts a voice call.
Default Start a callLimit 40 characters
Chat placeholderText
The hint in the empty message box.
Default Type your message…Limit 80 characters
Branding1 controls
Logo URLText
An image address starting with http:// or https://. Shown on the bubble, the header and the avatar.

Settings tab

Chat on your site4 controls
Widget enabledSwitch
Shows the bubble wherever the snippet is. Off hides it everywhere at once.
Default Off
Collect email before chatSwitch
Visitors enter their email before the first message.
Default Off
Show knowledge sourcesSwitch
Lists the knowledge documents an answer came from under the reply.
Default Off
Allowed domainsList
The sites that may show the chat, one per line or separated by commas. Empty: any site that has your snippet.
Limit 100 entries
Voice calls on your site4 controls
Voice callsSwitch
Lets visitors talk to the assistant from the bubble. Calls use the voice and speech settings under SettingsVoice. The other rows are greyed out while this is off.
Default Off
Chat & call buttonsChoice
Combined: one bubble that offers a call or a chat. Separate: two floating buttons, one for chat and one for calls.
Default CombinedOptions CombinedSeparate
Max call length (minutes)Number
A call ends when it reaches this length.
Default 10Limit 1 to 60
Max concurrent callsNumber
Calls running at once from this site. More are refused until one ends.
Default 2Limit 1 to 20

More settings holds website versions of settings shared with other channels, such as the waiting message, auto-resolve and follow-ups. To change one only for the website, use Exceptions: see Exceptions for one channel.

Allowed domains

You writeThe chat shows on
goldenoven.comgoldenoven.com
goldenoven.com:3000goldenoven.com on port 3000 (useful for a test site)
*.goldenoven.comEvery subdomain, such as shop.goldenoven.com, and goldenoven.com itself
https://goldenoven.com/menugoldenoven.com (a full address is accepted and read as its site)
NothingAny site that has your snippet

The list is checked on every chat and every message, so a change takes effect straight away, also for chats already open.

What visitors see

The bubble

A round button in the corner you chose, in your primary colour, with your logo or a chat icon and, if you turned it on, the launcher label. With Separate buttons, visitors see two stacked buttons: chat and call. With Combined buttons and voice calls on, clicking the bubble opens a greeting bar with your greeting, your call button and a button to open the chat.

The chat panel

  • A header with your logo, title and subtitle (or ● Online), plus minimise and close buttons. The status line also shows Connecting…, the call timer during a call, Waiting for a team member… after a handover, and Conversation ended.
  • An empty chat says "Say hello to get started."
  • Typing dots while the assistant works, then the reply as it is written. A longer task can show your waiting message first.
  • Cards, buttons, choices, forms and QR codes under the assistant's message. A tap is sent as the visitor's answer. Tapping an old option that no longer applies shows "That option is no longer available."
  • With the email gate on: "Enter your email to start chatting" and a Start button. An invalid address is refused.

Handover and team replies

When the assistant hands the chat to your team, the visitor is told a person is joining and that replies will appear in the same panel. Team members reply from the conversation page; their messages carry a Team label. See Hand over to a person.

Ending a chat

An End conversation link sits under the message box. After it, the panel shows "This conversation has ended." and a Start a new conversation button, which starts a fresh conversation.

Returning visitors

The visitor's browser remembers their conversation for up to 180 days, so a returning visitor on the same browser sees their earlier chat. A different browser or device starts a new conversation.

Voice calls from the bubble

With voice calls on, visitors click the call button and talk. They can mute their microphone, mute the assistant and end the call, and they see a live transcript. After the call, its turns are added to the chat thread. If the microphone is blocked, the widget asks the visitor to check the browser's permissions. If the assistant hands a call to another assistant, the header shows the new assistant's name.

Visitors can
  • Type messages and tap buttons, cards and choices
  • Call the assistant, when voice calls are on
  • End a conversation and start a new one
  • Come back later to the same conversation
Visitors cannot
  • Upload files or photos
  • Record voice notes in the chat
  • See the chat on a site that is not allowed

Limits

When the chat does not appear

CheckWhy
Widget enabled is onOff hides the bubble on every page.
Your site is in Allowed domainsA site that is not listed shows nothing.
The snippet is on that page, before </body>Only pages with the snippet show the bubble.
The assistant still existsDeleting an assistant deletes its website key, and the pasted snippet stops working. A new assistant has a new snippet.

Visitors who lose their connection see "Connection lost" or "Something went wrong" and can try again. A call that cannot start shows "Could not start the call."

Questions people ask

Keep going
Website chat · HeyServo Docs