How to add live chat to any website (HTML)
To add live chat to any website, paste your chat widget’s script tag just before the closing </body> tag in the template every page uses, then save and publish. It works on any site that lets you add a script.
Updated
Before you start
Create a ChatsUp account at chatsup.org (the 7-day trial is free), add your website's domain, and copy your snippet from Widget settings. It looks like this:
<script src="https://chatsup.org/widget.js" data-site="YOUR_SITE_KEY" async></script>Steps
- Find the file or setting every page shares: a layout template, a footer include, or a “custom code” / “footer scripts” box in your site builder.
- Paste the snippet on the line just above </body>.
- Save, then upload or publish the change.
Check that it works
- Open your store in a private browser window.
- Click the chat bubble in the corner and send a test message.
- Reply from the ChatsUp inbox on your computer or the Android app. The reply shows up in the chat window straight away.
Where to paste it on common setups
| Your site | Where the snippet goes |
|---|---|
| Plain HTML files | Before </body> in every page, or in a shared footer include |
| React, Next.js, Vue and other apps | In the root HTML template or root layout, so it loads once |
| Site builders with custom code | The footer code or “before </body>” box in site settings |
| Tag managers | A custom HTML tag that fires on all pages |
If the bubble does not show
- Make sure the snippet is on the page you are viewing, not only the home page.
- If you filled in Allowed domains in Widget settings, list your address exactly. example.com and www.example.com count as different addresses.
- Some builders only allow code inside an embedded box (an iframe). A chat bubble cannot float over the page from inside an iframe; use the site-wide footer code setting instead.
Questions
Do I need a developer to add live chat?
No. If you can paste one line into your site’s footer code setting, you can add it yourself.
Will the script slow my site down?
The ChatsUp script loads with async, so it does not block your page from showing.
Full setup steps for every platform: setup guide.