Chat widget
A chat window that fits each website
Every site in your ReplyFlock workspace gets its own chat window: its colour, its corner, its welcome line and its language. It installs with one asynchronous script, the launcher is about 5 KB compressed, and it is built not to push your page around while it loads.
Style per site
Preview styles
The window should look like it belongs to the store it sits on. Here is Saltmarsh Linen's setup on the left and what a phone visitor sees on the right.
Illustration. Store names in our examples are fictional.
What each setting is for
Colour. Use the store's own button colour so the launcher reads as part of the page, not an advert on top of it. Check contrast: white text on a pale brand colour is hard to read.
Position. Most stores put chat bottom-right. If your mobile theme has a sticky "add to basket" bar or a cookie button there, move the launcher left for that site only. Nothing changes on your other sites.
Avatar initials and welcome. Two letters and one line. The welcome is what a visitor sees when they open the window; a proactive greeting is a separate message that appears before they do.
Language, time zone and hours. The default language sets the window's own text. Visitors can still write in any language, handled by multilingual chat. Hours decide when the window becomes a message form; see offline messages.
Check on a phone before going live
- The launcher does not cover the buy, quote or pay button.
- With the keyboard open, the text box stays visible above it.
- The window closes with one tap and the page is where you left it.
- The welcome line fits without scrolling on a small phone.
- The colour still reads on your site's dark sections, if it has any.
Running a dozen brands? Style each one in the multi-site workspace. Conversations from all of them still arrive in one shared inbox, each tagged with its site.
Attachments
Send an image or file
Some questions are easier with a picture: a cracked lampshade, a bolt next to a ruler, a purchase order from a buyer's system. Visitors can attach images and PDFs from the chat window.
From camera or gallery
The paperclip opens the phone's own picker, so the visitor can take a photo on the spot.
Uploading…
Progress shows in the thread until the file arrives.
Delivered to the conversation
The agent sees it in the thread, next to the message it came with.
Not in the current build
Files are designed to be checked in isolation and opened through short-lived links, with retention set per site.
Where files go
An attachment belongs to the conversation and the site it was sent on. Agents open it from the thread in the shared inbox, and it stays with the conversation when it is closed and archived, so it can be found again through chat transcripts. A purchase order that arrives as a PDF is still read by a person; the buying details a visitor types in the chat are what lead capture picks up.
Treat files as something a person checks. The AI answers the typed question from the site's AI knowledge base; anything that depends on what the photo or PDF shows, such as whether a parcel is damaged enough for a replacement, is for an agent to decide.
How attachments are stored and who can see them is described in the privacy policy. Tell visitors not to send card numbers or ID documents through chat, and put that in your own site's help text if your customers tend to.
Measure the host page
A chat widget is a guest on your page. It should not delay your content, push your layout around, or compete with your checkout for the phone's processor. ReplyFlock's loader is about 5 KB compressed and loads asynchronously. The full chat window loads when a visitor opens it. In our tests the widget caused no layout shift on the host page.
Those are our numbers. Yours depend on your theme, your other scripts and your visitors' phones, so measure before and after on the same page.
Install
One line, placed before the closing </body> tag or added through your tag manager:
<script async src="https://widget.replyflock.com/v1/loader.js"
data-site="YOUR_SITE_ID"></script>
The exact snippet, with your real site ID, comes from your workspace during onboarding. Each site has its own ID; the domain it is allowed to run on is checked as well. The setup guide covers testing it on a staging page first.
A fair before-and-after test
- Pick one busy page
A product page with images and your normal scripts, not a blank test page.
- Record without the widget
Run a lab test on a mid-range phone profile several times. Note LCP, INP, CLS and the number of requests.
- Add the script and repeat
Same page, same device profile, same number of runs.
- Open the window and repeat
Check that opening chat does not freeze scrolling or shift the page.
- Try a bad network
Throttle the connection. Your content should appear first; the launcher can arrive later.
| What to check | What good looks like | If it fails |
|---|---|---|
| Script size | Launcher around 5 KB compressed | Check you are loading the loader, not a cached old build |
| Layout shift | No change in CLS after adding the script | Look for theme CSS that styles all fixed elements |
| Page still works if chat fails | Content and checkout unaffected when the script is blocked | Remove any code that waits for the widget before running |
| Content Security Policy | Launcher appears, no console errors | Allow the widget host; see troubleshooting in the docs |
| Phone layout | Buy button and keyboard text box both visible | Move the launcher to the other side for that site |
If you are replacing an existing widget, remove the old script before you measure, or you will be timing both. Our comparisons with tawk.to and Tidio cover what else changes when you switch. We write up how we test on real sites in field notes; the about page explains why page speed mattered from the start; the terms of service cover your responsibilities for the pages you install it on. For the full product picture, go to the home page.
Questions before you start
The details that matter.
Short answers to what teams ask before connecting their sites.
What can I change per site?
The main colour, whether the launcher sits bottom-left or bottom-right, the avatar initials, the welcome message, the default language, and the time zone and business hours that decide when the window switches to offline messages. Each site's settings are separate, so restyling one store never touches another.
Which files can visitors send?
Images and PDFs. They are useful for a photo of a damaged parcel, a drawing of a part, or a purchase order. Files are attached to the conversation and visible to agents in the shared inbox. Scanning attachments in isolation before agents can open them is part of the design but not of the current build.
Will the widget slow my site down?
The loader is asynchronous, so it does not hold up your page, and it is about 5 KB compressed. In our tests on a host page it caused no layout shift (CLS 0). Measure on your own pages anyway, using the method in the third section of this page.
What happens if the visitor's connection drops?
The widget reconnects and sends anything that did not get through. Messages are numbered on the way in, so a resent message is not shown twice to the visitor or the agent.
Do I need a developer to install it?
Someone who can add a script tag to your site template, or to a tag manager, can do it. The exact line with your site ID comes from your workspace during onboarding. The setup guide walks through a test page first.
Does the window work in languages other than English?
Yes. Each site has a default language for its interface text, and visitors can write in their own language. Agents see the original beside a translation; see multilingual chat.
Bring two websites. See both answered correctly.
Early access starts with two of your sites that answer the same question differently. If each one gets its own right answer, we add the rest.