Skip to content

Web chat

Web chat puts a chat button on your website. Visitors’ chats arrive in the Inbox, answered by a bot, your team, or a bot that hands over to your team.

You need the Manages settings capability to set it up.

  1. Open Settings › Web chat. Each website gets its own chat; use Add another website for more.

  2. Fill in the sections below and click Create web chat.

  3. Under Put it on your website, click Copy and paste the snippet once, before </body>, on every page. It looks like this:

    <script src="https://app.comcent.io/widget/c.js" data-site="wc_…" async></script>
  4. Click Preview on a test page to try it before it goes live.

The snippet always loads the latest chat, so you never need to update it. If your site has user accounts, call window.ComcentChat.reset() when someone logs out, so the next person on that computer starts a new chat.

  • Name shown: your company name in the chat header.
  • Colour: pick a swatch or enter a hex colour, such as #0f5e57.
  • Logo address: optional, a square image. Without it the chat shows your initial.
  • Corner: Bottom right or Bottom left.

Choose whether to ask for the visitor’s name and email first, so you can reply if they leave:

  • Don’t ask: visitors start typing straight away.
  • Ask, with Skip (default): most visitors answer; nobody is stopped.
  • Required: fewer chats, but every one has a name and email.
SettingWhat it does
BotThe bot that answers first. Only bots with a text model are listed. Choose No bot: the team answers to send every chat to people.
Hands over toThe queue whose members take over when a person is needed.
First lineThe greeting when the page doesn’t name a product. Default: Hi! How can we help?
Read the page the visitor is onOn by default. The bot and your team see the page’s title, address and product details (name, price, stock number), and the pages visited before. Never the whole page.
Open with the page in mindOn by default. The greeting mentions what the visitor is looking at, for example Looking at the Trailmark 40 backpack?

The bot hands over when the visitor asks for a person, when it is unsure, when the visitor is upset, or when the same thing is asked three times. The agent who picks it up sees what the visitor wants, what the bot tried, and a suggested reply. While the chat is open, the agent’s right-hand panel shows the visitor’s details and the page they are on (see The right-hand panel).

  • The visitor starts it: only the chat button shows.
  • Offer help after a while: a small message pops up beside the button once per visitor, after a number of seconds on a page (default 30). Set the text in It says.

The chat is online while its hand-over queue is within its business hours and at least one member is Available for web chat. Otherwise the visitor is offered:

  • Continue by text message: the visitor enters their mobile number and Comcent texts them a 6-digit code to check it is theirs. The chat then becomes an SMS conversation in your queue, with the web chat transcript as a note. Pick the Text from number (one with SMS on).
  • Call me back: the visitor leaves a number and a time. The chat waits in your queue marked Call back, a promise is added for that time, and at that time it goes to someone who is Available.

Both are on by default.

A visitor is recognised by their browser. When they come back, the chat says Welcome back with a Not you? link, and Start fresh forgets them on that browser. A chat follows the visitor from page to page. An ended chat is not shown again, so the next person on a shared computer cannot read it.

A name or email typed into the chat is shown as not verified. A phone number becomes verified only when the visitor confirms the code in Continue by text message. Each conversation is linked to a contact; if a visitor types an email or number that already belongs to a contact, Comcent suggests merging them.

The snippet is public, so anyone can copy it. These limits protect your Inbox and AI spend:

  • Websites it runs on: one domain per line, like example.com. A copy of the snippet on any other site won’t open. Leave it empty while you try it out.
  • New chats per visitor, per hour: default 3.
  • Messages per visitor, per minute: default 10.
  • Bot replies per day: default 2,000. Past it, your team answers.

Web chat does not support file attachments.

Every SMS, web chat message and email in or out of a conversation counts as one message against your plan’s monthly allowance; internal notes don’t. Each verification code texted to a visitor also counts as one. Bot replies are also AI usage, billed by use. You can add up to 50 websites per organisation, with no add-on fees.