Home › Blog › Small business

How to Add a WhatsApp Button to Your Website (Any Site, Free Steps)

By Jis Johnson · · 3 min read

WhatsApp chat widget on a small business website with instant answers

Most customers would rather send a quick message than fill in a long contact form or ring during work hours. If you add a whatsapp button to your website, visitors can tap once and message you from their phone – and you reply from WhatsApp like any other chat. Here are two ways to do it, from the simplest to the most useful, and where to paste the code on popular website builders.

WhatsApp has a free "click to chat" link. It looks like this, with your full number in international format and no plus sign, spaces or leading zero:

https://wa.me/440000000000

You can put this chat link behind any button or text on your site, such as "Message us on WhatsApp". You can even add a ready-made message by adding ?text= and your words to the end.

Good for: a quick start. Missing: no floating button, no opening hours, no answers for common questions and no way to send visitors to the right person.

Option 2: a full chat widget

A chat widget is a floating button in the corner of every page. When a visitor taps it, a small window opens with a welcome message, your team and a "Start chat" button. A good widget can also:

  • Show your opening hours and say when you'll reply.
  • Answer common questions instantly – prices, delivery, parking – even at night.
  • Ask a few short questions first (name, service, date) so the message arrives ready to answer.
  • Send chats to the right person, such as Sales or Bookings.
  • Show which page the visitor was on.

Where to paste the code

Most widgets give you one small piece of code. Paste it once and it appears on every page.

  • WordPress – use a header and footer code plugin, or your theme's "footer scripts" box, and paste the code into the footer.
  • Shopify – go to Online Store, Themes, Edit code, open theme.liquid and paste the code just before the closing body tag.
  • Wix – go to Settings, Custom code, add the code to the body end on all pages (available on paid plans with a connected domain).
  • Squarespace – go to Settings, Developer tools or Advanced, Code injection, and paste it into the footer box (available on most paid plans).
  • Your own HTML site – paste it just before the closing body tag on each page or in your shared footer file.

After pasting, open your site on your phone and test the button. It should open WhatsApp with your message ready to send.

Privacy: keep it simple

Many chat plugins load scripts from another company, set cookies and track visitors – which means updating your cookie banner and privacy policy. Look for a widget that works on its own, without cookies or tracking. Either way, add a short paragraph to your privacy page explaining that people who message you on WhatsApp share their name and number with you.

Tips to get more chats

  • Use a friendly welcome: "Hi there – questions about prices or bookings? Ask us here."
  • Say how fast you usually reply.
  • Add three or four instant answers for the questions you're asked every day.
  • Put your chat link in your Instagram bio and Google Business Profile too.

The easy way: Jis Chat Widget

Jis Chat Widget builds your WhatsApp chat button on your phone. Add your contacts, welcome message, opening hours, instant answers and an enquiry form, see it live in the preview, then copy one small piece of code. It works on WordPress, Shopify, Wix, Squarespace and any other website. The code never contacts pocketapps.store or anyone else, uses no cookies and saves nothing on your visitors' devices, so it needs no cookie banner. The app even writes the paragraph for your privacy page.

No website yet? Make one in minutes with Jis Web Design and add your chat button in one step.

Jis Chat Widget is included in the pocketapps.store membership, with a 7-day free trial and no card needed.

Try Jis Chat WidgetWhatsApp chat button for any website. Included in the pocketapps.store membership – 7 days free.

See Jis Chat Widget

More articles