Zurück zum Blog
Guides

How to Add WhatsApp Chat to Your Website (Button & Widget Guide)

N
Neksio
Product team
Oct 24, 20267 min
A WhatsApp chat button on a business website

To add WhatsApp chat to your website is to put your fastest reply channel where customers already are: a button or link that opens a WhatsApp conversation with your business, often with a prefilled message. Visitors who would never fill in a contact form will tap a chat button — and once they message you, the 24-hour customer service window opens and your agent or team can reply properly. The basic version needs no code at all.

Option 1: the click-to-chat link (no code)

WhatsApp's click-to-chat format is a plain link: wa.me followed by your full international phone number, no plus sign, spaces, or dashes — for example, wa.me/15551234567. Add ?text= with a URL-encoded prefilled message (“Hi, I have a question about…”) and the visitor lands in WhatsApp with the message ready to send. Put that link behind any button, menu item, or “Chat with us” text on your site and you have WhatsApp chat on your website in minutes.

Option 2: the floating chat button

A floating button — the familiar green bubble pinned to a corner — is the same link dressed as a widget. Many website builders and plugins offer it as a toggle, or you can add a small snippet that renders the button and an optional greeting popup (“Hi! How can we help?”). Keep it on every page but never covering the checkout button or mobile navigation: bottom-right is standard, and on mobile it should not overlap the buy button.

Prefilled messages that get better chats

The prefilled text is your cheapest qualification tool. A generic “Hi” tells you nothing; “Hi, I'm interested in your Starter plan” or “Hi, I'd like to book an appointment” tells your agent or team exactly how to respond. Use different prefilled messages per page — pricing page, product page, contact page — so the conversation starts with context. Your agent can then answer from your documents immediately instead of spending three messages establishing what the visitor wants.

Visitor taps the pricing-page button: “Hi, I'd like to know if the Growth plan includes Instagram.” Agent: “Yes — Growth at $11.99 a month covers 15,000 AI replies across WhatsApp, Facebook, and Instagram.” One tap, one answer, zero forms.
— A prefilled message doing its job

Placement that converts

The button earns its keep on high-intent pages: pricing, product and service pages, checkout help, and the contact page. On blog posts it is optional — readers there are earlier in the journey and a chat button can distract from reading. Always show business hours next to it or, better, let an AI agent answer after hours: a chat button that goes unanswered at 11 PM is worse than no button, because it sets an expectation and breaks it.

Measure it, then improve it

Count chats per page (use a different prefilled message or link per page to attribute them), track reply time, and note which pages produce real customers versus questions. If a page sends lots of chats but no sales, the page — not the button — needs work. And once chats flow in, the

team inbox guide covers what happens when those chats need more than one person to handle.

Answer website chats with AI — free

100 AI replies a month on WhatsApp, no credit card. Website chats answered instantly, day or night. Plans on the pricing page.

Häufig gestellte Fragen

How do I add a WhatsApp chat button to my website?
Use WhatsApp's click-to-chat link format: wa.me/your-number-in-international-format (no plus sign or spaces). Link any button or text to it, optionally with a prefilled message via ?text=. Website builders and plugins also offer floating chat-button widgets using the same link.
What is a wa.me link?
A wa.me link opens a WhatsApp chat with a specific number — wa.me/15551234567, for example. Adding ?text=Your%20message pre-fills a message the visitor can send with one tap.
Do I need the WhatsApp Business API for a website chat button?
No. A click-to-chat button works with any WhatsApp number, app or API. The API matters for what happens after the chat starts — agents, team inboxes, and automation.
What should the prefilled message say?
Something specific to the page: “Hi, I'd like to book an appointment” on a booking page, “Hi, I have a question about pricing” on the pricing page. Specific openers let your team or agent answer immediately instead of spending messages on discovery.
Should the chat button appear on every page?
On high-intent pages (pricing, products, checkout help, contact) yes. On blog posts it is optional. Never let it cover mobile buy buttons or navigation, and make sure someone — or an AI agent — actually answers after hours.