Add live chat to Wix

Wix adds code to your site from the dashboard, under Custom Code. You paste the snippet once and pick all pages.

Checked against Wix's help pages in October 2026.

Before you start

HTML
<script>window.$pidge = []; window.PIDGE_WEBSITE_ID = "YOUR-WEBSITE-ID";</script>
<script src="https://app.pidge.chat/client/l.js" async></script>

Your own copy is in the Pidge inbox under Websites, in Code for your website, with your website ID already filled in. Copy it from there.

Add the snippet

  1. Go to your site's dashboard and open Settings.
  2. Under Development & integrations, click Custom Code.
  3. Click + Add Custom Code at the top right.
  4. Paste the snippet into the code box and give it a name you'll recognise, like "Pidge chat".
  5. Under Add Code to Pages, choose All pages, and have it load once rather than on each new page.
  6. Under Place Code in, choose Body - end.
  7. Click Apply.

List your domains in Pidge

The chat only connects on domains you've listed for the website. In the inbox, open Websites and put each domain on its own line in Domains. Subdomains are included, so example.com also covers www.example.com.

Add the domain you connected to Wix, like example.com.

Check that it works

  1. Open the live site on your domain in a private window. The chat won't show in the Wix editor or its preview.
  2. The chat bubble should be in the bottom corner. Send yourself a message and answer it from the inbox.
  3. In the inbox, the website's Not installed yet label goes away after the first visit from a listed domain.

If the bubble shows but the chat won't connect, the domain you're on isn't in the website's list in Pidge. If there's no bubble at all, the snippet isn't on the page, or the platform is still serving an older copy of it.

Things to know

Wix's own guide: support.wix.com/en/article/embedding-custom-code-on-your-site

Other platforms

Stuck, or did a step look different on your screen? Tell us in the chat on this page.

Get your snippet

Start free

The free plan covers one website and two people replying. No card needed.