The web chat widget is a chat bubble you drop onto any web page with a single <script> tag. Visitors chat with your AI; when a person takes over, their replies appear in the same bubble — live.
wk_…) that routes every chat to your desk. Use Copy snippet there, and Preview widget to see it before it goes near your site. See Settings.Adding it to your site
Paste the snippet just before your closing </body> tag:
<script src="https://blz.actionbridge.io/support/widget.js" data-key="wk_your_key_here"></script>
The widget loads in its own frame, so it won’t clash with your site’s styles or scripts.
Options
| Attribute | What it does |
|---|---|
data-key |
Required. Your desk’s widget key, from Settings. |
data-position |
right (default) or left — which corner the bubble sits in. |
data-offset |
Pixels from the corner (default 20). |
data-lang |
Pins the widget’s language, e.g. ja or th. Leave it off — or leave it empty — and each visitor sees their own browser language. The exact codes are in What language the widget speaks. |
If your page shows a reCAPTCHA badge in the same corner, the widget automatically lifts above it so the two don’t overlap.
What language the widget speaks
Left alone, the widget follows each visitor’s own browser language. A Japanese visitor to an English site gets the Japanese bubble; nothing to configure, and different visitors to the same page can see different languages.
To pin one language instead — a site that serves one market regardless of who is reading — add data-lang:
<script src="https://blz.actionbridge.io/support/widget.js" data-key="wk_your_key_here" data-lang="ja"></script>
Translated into 12 languages: English, Japanese, Korean, Chinese (Simplified and Traditional), Spanish, French, German, Portuguese, Arabic, Russian and Thai. Arabic is laid out right to left. A visitor whose browser is set to any other language sees English rather than a half-translated bubble.
| Language | Write | Also accepted |
|---|---|---|
| English | en | en-US, en-GB… |
| Japanese | ja | ja-JP |
| Korean | ko | ko-KR |
| Simplified Chinese | zh-CN | zh, zh-Hans, zh-Hans-CN, zh-SG |
| Traditional Chinese | zh-TW | zh-Hant, zh-Hant-TW, zh-HK, zh-MO |
| Spanish | es | es-ES, es-MX… |
| French | fr | fr-FR… |
| German | de | de-DE… |
| Portuguese | pt | pt-BR, pt-PT |
| Arabic | ar | ar-SA… |
| Russian | ru | ru-RU |
| Thai | th | th-TH |
- Case doesn’t matter, and a region is accepted and dropped —
ja-JPis the same asja. The exception is Chinese, where the region picks the script: Traditional when the code containsHant,TW,HKorMO(and notHans), Simplified otherwise. - A value the widget doesn’t know shows English, so
data-lang="it"gives you English. It does not fall back to the visitor’s browser language: a site that pinned a language asked for that one. - An empty
data-lang="", or one of only spaces, is the same as leaving it out — the visitor’s browser language decides. That helps when your site’s template writes the attribute even when it has no value to put in it.
data-lang. The AI’s answer follows the language the customer writes in. Your knowledge base can be written in any language: the AI finds articles by what a question means, not by its exact words, so an English article answers a Japanese question — in Japanese, translated faithfully. Write it once, in the language your team knows best. See your knowledge base.The same applies to the hosted web form: add ?lang=ja to its address to pin it, or leave it off to follow the visitor.
Your title
Until you set one, the top of the chat reads AB Support, with We typically reply in a few moments under it, in the visitor’s language. Set your own Title and Subtitle and that is what customers see at the top of the chat and of your hosted web form. In the chat, the title is also the name on the AI’s messages.
- Open your desk’s Settings. In the Web chat section, find Title, just below Brand color.
- Type a title and, if you like, a subtitle. For example, “ReceiptRoller Support” with “We reply on weekdays, 10:00–18:00” under it.
- Give a language its own title (optional). Pick it from Add a language… and click Add, then type that language’s title and subtitle — for Japanese, say, “レシートローラー サポート”. Any language without its own uses the title above. To remove one, click its ✕ button.
- Click Save title.
| Field | Limit | Left blank |
|---|---|---|
| Title | 60 characters, one line | AB Support |
| Subtitle | 100 characters, one line | We typically reply in a few moments, translated |
You can set a title for any of the 12 languages the widget speaks. On the hosted web form the title becomes the heading; the form’s own “We’ll reply to your email” line stays as it is. Nothing changes for your customers until you save a title.
Your title reaches your website within about 5 minutes, and there is nothing to re-paste. Like the icon and the color, only desk admins and the owner can change it.
Your brand color
Until you pick one, the chat is our teal. Choose your own color and it is used for the chat’s header, its buttons and your customer’s own messages, for the close (✕) button on the launcher while the chat is open, and for your hosted web form.
- Open your desk’s Settings. In the Web chat section, find Brand color, just below Chat bubble icon.
- Pick a color and click Save color.
- Changed your mind? Reset to default puts our teal back.
Your color reaches your website within about 5 minutes, and there is nothing to re-paste. Like the icon, only desk admins and the owner can change it.
Using your own bubble icon
By default the launcher on your website is our teal bubble with a speech-balloon icon (💬). You can replace it with your own PNG so the widget looks like it belongs to your site. The image you upload becomes the whole button: it fills the entire 56-pixel launcher, and we no longer draw our teal circle behind it.
- Open your desk’s Settings. Go to the Web chat section and find Chat bubble icon.
- Click Upload PNG and choose your file. The preview bubble beside the button shows exactly how the launcher will look.
- Changed your mind? Reset to default puts our speech-balloon icon back.
| Image | What works |
|---|---|
| Format | PNG |
| Recommended size | Square, at least 112×112 pixels |
| Displayed size | Fills the whole launcher, 56×56 pixels |
| Shape | Set by the image itself — a transparent background is strongly recommended |
| File size | 256 KB maximum |
The launcher is drawn at 56×56 pixels, so a 112×112 (or larger) source keeps your mark sharp on high-resolution screens. A subtle shadow is added for you and follows the outline of your artwork, so there is no need to bake one into the PNG.
The launcher icon is an image, so your brand color doesn’t repaint it — the icon you upload is what visitors see. Because our circle is no longer drawn behind your image, a transparent PNG means the color visitors see is the color of your own artwork.
What the visitor sees
- They open the bubble and leave a name, email, and first message.
- The AI answers from your knowledge, with sources, right in the chat — without waiting for anyone on your team.
- A person can take over — their reply appears in the same chat within a few seconds. If the visitor has already closed the chat, the reply is emailed to them as well (see below). When the AI hands the chat to your team, it still answers any follow-up it can from your sources until someone is assigned or replies — see where an escalated ticket goes.
- Once the ticket is resolved and a satisfaction survey has been sent, a visitor who still has the chat open sees it as a card in the conversation and can answer there.
When the visitor has left
Visitors often close the tab before your team gets to them. So when a person on your team replies to a web chat whose visitor hasn’t had it open for more than 2 minutes, the reply is also emailed — from your support address to the email the visitor gave when the chat started. If they still have the chat open, they just see it there and get no email.
The email they leave is also how they’re recognised next time — see your customer store.
data-key everywhere the snippet is pasted, and anywhere your form posts it.Web chat is one of five ways in — see how customers reach you, and how a ticket works once a chat starts.