Guides

How to add live chat to WordPress, Squarespace and Wix

Maurie AI team · Updated

Most chat tools give you one short piece of code. On WordPress you paste it into a header and footer plugin, on Squarespace into Code Injection, and on Wix into Custom Code, set to load on every page. It takes about ten minutes, but each builder has a plan requirement worth checking first.

Before you start

  • Your chat code: a short <script> line from your chat tool. In Maurie AI it is on your agent’s Deploy page.
  • A login to your website’s admin with permission to change settings.
  • The right plan on your website builder. The plan rules are in each section below.

WordPress

On a self-hosted WordPress site (WordPress.org), the simplest way is a free header and footer plugin, so you don’t have to edit theme files. WPCode, formerly called Insert Headers and Footers, is one of the most used.

  1. In your WordPress dashboard, open Plugins ▸ Add New Plugin, search for “WPCode”, then install and activate it.
  2. Open Code Snippets ▸ Header & Footer.
  3. Paste your chat code into the Footer field and save.
  4. Open your website in a private browser window and check that the chat bubble appears.

On WordPress.com, installing plugins needs a paid plan: WordPress.com lists Personal, Premium, Business and Commerce. On a free WordPress.com site you can’t install a plugin, so upgrade first.

Squarespace

Squarespace adds code to every page through Code Injection. Squarespace says it is available on the Core, Plus and Advanced plans and some legacy plans, and that checkout pages don’t support code.

  1. In your Squarespace site, open the Code Injection panel under Website Tools.
  2. Paste your chat code into the Footer field. Code there is added before the closing </body> tag on every page.
  3. Click Save, then open your site in a private window to check the chat bubble.

Wix

Wix adds code through Custom Code. Wix asks that your site is published and has a connected domain before you start.

  1. In your Wix dashboard, open Settings, then Custom Code in the Development & integrations section.
  2. Click + Add Custom Code, paste your chat code and give it a name, like “Chat”.
  3. Under Add Code to Pages, choose All pages, so new pages get it too.
  4. Under Place Code in, choose Body – end, then click Apply.
  5. Open your published site in a private window and check the chat bubble.

Any other website

Paste the code just before the closing </body> tag on every page. If your site has a shared footer or layout file, paste it there once. Then publish or upload the change. Not sure who looks after your site? Send the code and these steps to the person who does.

If the chat doesn’t show

  • Open the site in a private window or clear the cache. Many builders and caching plugins keep the old page for a while.
  • Check you published the site after saving the code.
  • Make sure the whole code was pasted, from <script to </script>.
  • On Wix, check the code is set to All pages; on WordPress, check it is in the Footer field, not inside a single post.

Doing it with Maurie AI

Maurie AI’s AI chat agent is on every plan, Free included. On your agent’s Deploy page you copy one line of code, and the page shows these steps for WordPress, Wix, Squarespace, Shopify, GoDaddy and Webflow. If someone else runs your website, click Email this to my web person and Maurie AI sends them the code and the steps (this needs a confirmed email address).

No website, or no time to change it? Deploy also gives you a chat link and a QR code to share on your Google Business Profile, Instagram, Facebook, emails and printed signs. On Starter and up, a person on your team can take over any chat. Step by step from sign-up: How to add a free AI chatbot to your website.

Steps checked on each company’s own help pages on November 29, 2026: WPCode on WordPress.org, WPCode Header & Footer settings, WordPress.com plugins, Squarespace code injection, Wix custom code. Menus change, so check their help pages if a step looks different.

QUESTIONS

Common questions

Do I need a special plugin for live chat on WordPress?

Not a chat plugin. Most chat tools give you one line of code, and a free header and footer plugin such as WPCode adds it to every page. On WordPress.com, installing plugins needs a paid plan.

Can I add live chat on any Squarespace plan?

Squarespace says Code Injection is available on the Core, Plus and Advanced plans and some legacy plans. Checkout pages don’t support code.

Why doesn’t my chat show on Wix?

Check that the site is published and has a connected domain, which Wix asks for before adding custom code, that the code is set to All pages and placed in Body – end, and open the site in a private window.

Is there a free chat for a small business website?

Yes. Maurie AI’s Free plan includes one AI chat agent with 50 AI messages a month that answers from your own website and FAQs, with no time limit. On Starter and up, your team can also take over chats as live chat.

KEEP READING
YOUR NEXT STEP

Answer every call
from today.

Create a free account, test the AI Phone Receptionist from your browser, then pick a number.

Get started for free →US phone numbers only. Appointment booking needs Starter or above.