Reads your site key
The widget reads the data-site-key from the script tag to connect the visitor to the correct workspace.
Installation guide
Add ZettyChat to your website with one script tag, connect it to your workspace with a public site key, and start talking to visitors from the floating widget.
What is ZettyChat?
ZettyChat loads from a single script tag, uses your public site key to identify the right workspace, and opens a floating chat launcher so visitors can start conversations from any approved page.
The widget reads the data-site-key from the script tag to connect the visitor to the correct workspace.
When the script loads, it injects the chat launcher and panel into the page so visitors can open it from the bottom corner.
Conversation state is stored in the browser so visitors can keep chatting across page loads without starting over.
In your live chat settings, add the exact hostnames where the widget is allowed to run, such as example.com or www.example.com. The widget checks approved domains when it connects.
Copy the install snippet from your dashboard and replace YOUR_SITE_KEY with your public site key if you are working from a template.
<script async src="https://www.zetty.co.uk/widget.js" data-site-key="YOUR_SITE_KEY"></script>Place the script near the end of the page body. That is the safest install point because the current widget mounts itself into document.body as soon as it loads.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Your website</title>
</head>
<body>
<!-- Your content here -->
<script async src="https://www.zetty.co.uk/widget.js" data-site-key="YOUR_SITE_KEY"></script>
</body>
</html>After publishing your changes, open the site in a fresh tab. You should see the launcher appear in the bottom-right corner and be able to start a conversation.
Quick checks
Save at least one approved domain in your dashboard before testing.
Use your real public site key in the script tag.
Place the script before the closing body tag so the widget can mount safely.
Publish the page and hard refresh after installing.
If it still does not appear, check blockers or script optimizers on the site.
Need help?
If the widget is not appearing after install, the most common causes are an incorrect site key, missing approved domains, or aggressive script blocking on the site.
Widget settings
The dashboard already exposes the core widget controls you need for setup: widget name, title, brand colour, allowed domains, and the install snippet that is tied to your site key.
The header title shown at the top of the widget. Default: Chat with us.
The first line visitors see before they start a conversation. Default: Hi. How can we help?
Controls the launcher and highlighted widget accents so the experience matches your site branding.
Locks the widget to the hostnames you approve so your script cannot be reused on the wrong site.
FAQ
Your public site key comes from the live chat settings area in the dashboard. Each company widget is separated by that key.
Yes. Place the same script in your global site template so it loads anywhere you want the launcher to appear, as long as the host is approved.
You can configure the widget title, greeting, brand colour, allowed domains, and the install snippet from the dashboard settings.
Troubleshooting
Run through these checks before you assume the script is broken. Most install issues are configuration mismatches rather than code failures.