Install live chat on Wix
Add message.com live chat to a Wix site via the Custom Code panel. About five minutes. Works on Wix Editor and Wix Studio with a Premium plan plus a connected domain.
Wix Custom Code requires a Premium plan and a connected custom domain. Sites on the free username.wixsite.com URL cannot inject scripts.
Before you begin
- A Wix site on a Premium plan with a custom domain.
- Site owner or co-editor with Custom Code permission.
- Your install snippet from
Settings → Chats → Installationin message.com.
HTML
<!-- message.com live chat -->
<script>
(function(d,s,o){
var j=d.createElement(s);j.async=1;j.src='https://app.message.com/widget.js';
j.dataset.workspace=o;
d.head.appendChild(j);
})(document,'script','YOUR_WORKSPACE_ID');
</script>1. Open the Custom Code panel
- Sign in to your Wix dashboard.
- Select the site.
- Navigate to Settings → Custom Code. In Wix Studio, look under Site → Custom Code.
- Click + Add Custom Code.
2. Configure the code block
- Paste the snippet into the Paste the code snippet here field.
- Give it a name:
message.com chat. - Under Add Code to Pages, choose All pages and check Load code on each new page.
- Under Place Code in, choose Body - end.
- Click Apply.
3. Publish the site
Custom Code runs only on the published version of the site, not the editor preview.
- From the Wix editor, click Publish.
- Wait for the publish action to finish.
- Visit your live site URL in a private window.
4. Verify the install
- The launcher appears in the bottom-right within two seconds.
- Open the browser console. Confirm the
[message]startup log. - Click the launcher and send a test message.
- Open
app.message.com. A new conversation appears.
Common pitfalls
- Editor preview shows nothing. Custom Code does not run inside the Wix editor. Always test on the published live URL.
- Free plan or Wix-subdomain site. Custom Code is blocked entirely. Upgrade to Premium and connect a domain first.
- Velo / corvid code already on page. Velo modules and Custom Code coexist. Make sure no Velo module is already mounting a competing chat widget.
- Site members area. Member-only pages execute Custom Code normally once the visitor signs in.
- Wix Forum / Wix Blog routes. Both run inside the same site shell. Custom Code applies to them too.
Next steps
- Customise the widget: colour, position, welcome.
- Configure business hours.
- Identify logged-in users (works with Wix Members API).