Help Centre / Website chat

Website chat

Add a chat bubble to your website, answered from the PALMS inbox.

The website chat adds a small chat bubble to your website. Visitors click it and write to you; their messages arrive in the PALMS inbox like WhatsApp messages, and your replies appear in the chat on their screen. Setting it up takes about 5 minutes, plus pasting one line of code on your website.

Before you start

  • Your website address, and any other address where the chat should appear (for example a second country domain).
  • Access to your website’s settings — WordPress, Wix, Shopify, Squarespace… — or a developer you can send the code to.
  • Optional: your logo as an image link starting with https://, and your brand colour.
  • Your team’s opening hours, if you don’t answer around the clock.

Your website

Give the chat a name (only your team sees it) and enter your website address, for example www.yourshop.com.

  • You can enter several addresses separated by commas: yourshop.com, yourshop.cm.
  • Subdomains are included: yourshop.com also covers www.yourshop.com and shop.yourshop.com.
  • For your security, the chat only works on these addresses. If someone copies your code to another website, the chat doesn’t load there.

Design your chat

Choose how the chat looks; the preview beside the form shows it as visitors will see it.

  • Main colour: the bubble, the header and visitors’ messages. Pick a dark enough colour for white text to stay readable.
  • Bubble position: bottom right (most common) or bottom left, if something else already sits on the right.
  • Header title: for example Chat with Wind & Wool.
  • Logo: a square image link starting with https:// (copy the address of your logo on your website: right-click it → Copy image address). Without a logo, the chat shows a chat icon.
  • Languages: English, French or both. With both, the chat follows the visitor’s browser language; the first one is used otherwise.
  • Greeting: the first message visitors see, in each language. Leave empty to use the standard greeting.

Pre-chat form

You can ask visitors for their details before their first message:

ChoiceWhen to use it
NothingThe quickest start: visitors chat straight away. You can still ask for details in the chat.
Name and emailYou want to reply later by email if the visitor leaves the website.
Name, email and phoneYou call or message customers back (for example on WhatsApp).

Visitors type their phone number with the country code (for example +237 6 70 00 00 00). Details typed in the form aren’t verified, so PALMS never merges a website visitor with an existing contact by itself: it suggests it in Contacts → Duplicates when the name matches.

Opening hours

Tell visitors when your team answers. Outside these hours, the chat stays open: it shows your away message, and visitors can still leave a message that you’ll find in the inbox.

  • Choose Around the clock, Monday to Friday, Monday to Saturday or Every day, set hours.
  • With set hours, choose your time zone and the opening and closing times. A closing time earlier than the opening time means overnight hours (for example 18:00 to 02:00).
  • The away message can be written in each language. Leave it empty to use the standard one.

Create your chat

Check the preview, then click Create the chat. PALMS creates the channel straight away — there is no account to log in to and nothing to copy from another website. Next, you add the chat to your website.

Add the chat to your website

PALMS shows one line of code, the same for every page of your website:

<!-- PALMS website chat -->
<script src="https://…/palms-chat.js" data-palms-chat="…" data-palms-api="https://…" async></script>

Copy it with the Copy button, then follow the guide for your website below. Paste it once, so it appears on every page. The code only loads the chat; it can’t change anything else on your website.

WordPress

  1. In your WordPress dashboard, go to Plugins → Add New, search for WPCode and click Install, then Activate.
  2. Go to Code Snippets → Header & Footer.
  3. Paste the code in the Footer box and click Save Changes.
  4. If you use a caching plugin (WP Rocket, W3 Total Cache, LiteSpeed…), clear its cache.

Wix

Custom code needs a Wix Premium plan and a connected domain.

  1. In your site’s dashboard, go to Settings → Custom code (under Advanced).
  2. Click + Add Custom Code and paste the code.
  3. Name it PALMS chat, choose All pages and Load code once.
  4. Under Place code in, choose Body – end, then click Apply.

Shopify

  1. In Shopify admin, go to Online Store → Themes.
  2. Next to your current theme, click … then Edit code.
  3. Open layout/theme.liquid, find </body> near the end, and paste the code just above it.
  4. Click Save.

Squarespace

Code injection needs a Squarespace Core plan or higher.

  1. Go to Settings → Developer tools → Code injection (on older sites: Settings → Advanced → Code Injection).
  2. Paste the code in the Footer box and click Save.

Other websites (HTML)

Paste the code just before </body> on every page. If your pages share a footer or layout file (footer.php, layout.html…), paste it there once.

Send the code to your developer

Click Email the code to my developer. Your email app opens with a ready message: the code, where to paste it and a link to this guide. Add your developer’s address and send it. When they’ve pasted it, PALMS notices on its own.

How PALMS notices the chat

When a visitor’s browser loads the chat on one of your website addresses, PALMS shows Chat found on www.yourshop.com in the wizard and in Settings → Channels. You don’t need to wait: you can continue and come back later.

If nothing appears a few minutes after pasting the code:

  • open your website in a new tab and refresh the page (some website builders publish changes only after you click Publish);
  • clear the cache of your website, caching plugin or CDN;
  • check that the address of your website is in the chat’s list (Edit chat → Your website);
  • see Troubleshooting.

Test your chat

  1. Open your website (or click Open the test page, which works even before the code is on your website).
  2. Click the chat bubble and send the code PALMS shows, for example PALMS-4821.
  3. PALMS replies in the chat: messages work both ways, and the conversation appears in your inbox.

You can skip the test and do it later.

Edit your chat

In Settings → Channels, click Edit chat on the website chat. The same steps open with your current settings: change the addresses, the design, the pre-chat form or the opening hours, then Save your changes. Your website picks up the changes within a minute; you don’t need to paste the code again.

Privacy

  • The chat stores a random visitor number in the visitor’s browser so they find their conversation when they come back. It doesn’t use cookies or track visitors across websites.
  • Mention the chat in your website’s privacy policy (what visitors type is kept in PALMS so your team can answer).
  • To stop the chat, remove the code from your website, or Disconnect the channel in Settings → Channels.

Still stuck?

Our team answers on WhatsApp, in English or French.

WhatsAppOpen Graphwafe