On your website

Chat on Wix

Add the website chat line to a Wix or Wix Studio site with Custom code, on all pages, at the end of the body.

Wix adds site-wide code from Custom code in your site's settings. The same page serves Wix and Wix Studio sites.

Before you start

  • The line, with your key in it. Steps 1 to 4 of Add chat to your website cover it.
  • A published site with a connected domain. Wix runs custom code only on those, and connecting a domain needs a paid Wix plan.
  • A key for your domain, with and without www, for example https://example.com and https://www.example.com.

Add the line

  1. In your site's dashboard, go to Settings.
  2. Under Development & integrations, choose Custom code.
  3. Choose + Add Custom Code at the top right.
  4. Paste the line and give it a name, such as Website chat.
  5. Under Add Code to Pages, choose All pages, and choose to load the code once per visit.
  6. Under Place Code in, choose Body - end.
  7. Choose Apply.

If you connect a different domain later, check the line is still listed in Custom code, and create a key for the new domain.

Check it

Wix runs custom code only on the published site, never in the editor. Open the published site in a private window and follow Check it works.

Wix's own help

On this page