Add the Clema widget to Wix
Copy the embed snippet from Leads, then Embed in Clema and paste it into Settings, Custom Code, Add Code in Wix 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 Wix site. You need a widget already created in Clema, and permission to add custom code to your Wix 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 Wix
Step 1: In your Wix dashboard, open Settings, then Custom Code.
This is the location Clema's Embed page gives for Wix.
Step 2: Select Add Code and paste the snippet.
Step 3: Choose to place it on all pages.
Step 4: Choose the Body - end section as the location.
Step 5: Apply the change and 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 Wix 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 Wix.
Common questions
- Why Body - end?
- The snippet belongs just before the closing body tag. Body - end is the Wix placement that puts it there.
- Custom Code is unavailable in my Wix settings.
- Whether you can add custom code depends on your Wix plan and domain setup. Check with Wix.
- Can I show the widget on selected Wix pages only?
- Yes. When adding the code, choose specific pages instead of all pages.