Add the widget to your website

Open Leads, then Embed, copy the embed snippet and paste it just before the closing </body> tag on every page where you want the widget. Add your site's domain to the widget first, then publish and check that the chat bubble appears.

On this page

Install the widget

  1. Step 1: Open Leads, then Embed.

    The page is titled Deploy.

  2. Step 2: Pick the widget you want to install from the Widget list.

  3. Step 3: Make sure your site's domain appears under Connected Domains.

    If it shows No domains configured yet., add the domain under Allowed domains on the Widget Setup page and save.

  4. Step 4: Under Embed Snippet, select Copy.

  5. Step 5: Paste the snippet just before the closing </body> tag on every page you want the widget on.

  6. Step 6: Publish your site changes.

  7. Step 7: Load a page and confirm the chat bubble appears.

What the snippet contains

The snippet is a single <script> tag. It carries your organization's ID, the widget's site key and an integrity value that lets the browser confirm the script has not been altered. Paste it exactly as copied. Do not edit the attributes.

Where to paste it, by platform

PlatformWhere Clema says to paste the snippetHelp article
Plain HTMLDirectly before </body> in your template.
WordPressAppearance, then Theme File Editor, then footer.php (before </body>), or an "Insert Headers and Footers" plugin.WordPress
WebflowSite Settings, then Custom Code, then Footer Code.Webflow
SquarespaceSettings, then Advanced, then Code Injection, then Footer.Squarespace
WixSettings, then Custom Code, then Add Code, placed on all pages in the Body - end section.Wix

Troubleshooting

The chat bubble does not appear.
Check that the page's domain is listed under Connected Domains, that the snippet is before </body> on that page, and that your site changes are published.
The bubble appears on some pages but not others.
The snippet has to be on every page. Use a site-wide footer setting instead of pasting it page by page.
The widget stopped working after someone rotated the site key.
Rotating the key invalidates the old one immediately. Copy the snippet again from the Embed page and replace the old one on your site.

Common questions

Do I need a developer to install the widget?
Not usually. If you can paste code into your site's footer setting, you can install it. A developer helps if your site has no such setting.
Can I put the widget on only some pages?
Yes. The widget appears on pages that include the snippet, so add it only to the templates or pages where you want it.
Is the Site Key secret?
It identifies your widget and is visible in your page source, so it is not a password. If it is copied somewhere it should not be, rotate it and update the snippet.
Do I have to reinstall after changing widget settings?
No. Settings saved in Widget Setup apply to the installed widget.

Related articles