Add the Clema widget to Webflow
Copy the embed snippet from Leads, then Embed in Clema and paste it into Site Settings, Custom Code, Footer Code in Webflow so it loads on every page. Publish the site and confirm the chat bubble appears.
On this page
Before you start
This article covers installing the Clema website widget on a Webflow site. You need a widget already created in Clema, and permission to add custom code to your Webflow site.
Step 1: copy the snippet in Clema
Step 1: Open Leads, then Embed.
The page is titled Deploy.
Step 2: Pick the widget you want to install from the Widget list.
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.
Step 4: Under Embed Snippet, select Copy.
Step 2: paste it into Webflow
Step 1: In Webflow, open Site Settings, then Custom Code.
This is the location Clema's Embed page gives for Webflow.
Step 2: Paste the snippet into Footer Code.
Step 3: Save the changes.
Step 4: Publish the site.
Step 3: check it works
Step 1: Open your live site in a new browser tab.
Step 2: Look for the chat bubble in the corner you chose under Widget position.
Step 3: Open it and send a test question.
Step 4: In Clema, open Leads, then Lead Responses, to see the conversation.
Troubleshooting
- The chat bubble does not appear.
- Confirm the domain your Webflow site is served from is listed under Connected Domains in Clema, including the
wwwform if your site uses it. Then confirm the site is published, not only saved. - The bubble shows on the preview address but not on your own domain, or the other way round.
- Each address is a different domain. Add every one you want the widget on.
- The widget disappeared after a site key rotation.
- Copy the snippet again from Embed in Clema and replace the old one in Webflow.
Common questions
- Why does the widget not show in the Webflow Designer?
- Site-wide custom code runs on the published site. Publish, then open the live address to see the widget.
- Can I add the widget to a single Webflow page?
- Yes. Paste the snippet into that page's own custom code setting, before the closing body tag, instead of the site-wide Footer Code.
- Do I need to add my webflow.io address to Clema?
- Only if you want the widget to load there. Each address the widget runs on needs to be in the widget's allowed domains.