How to Add a WhatsApp Chat Button & Widget to Your Website
Quick answer: link any button to https://wa.me/<your number>?text=<message>, using your full number in international format without +, spaces or dashes. On a phone it opens WhatsApp; on a computer it opens WhatsApp Web or the desktop app. A floating widget is the same link styled as a chat bubble in the corner of every page.
Why add a WhatsApp chat button to your website?
Visitors who have a question before buying often leave rather than fill in a form. A WhatsApp chat button lets them ask in the app they already use, and you keep the conversation afterwards for follow-ups. It also starts a free 24-hour customer service window on the WhatsApp Business API, so your replies inside that window carry no Meta template fee.
Step 1: build your click-to-chat link
- Write your number in international format: country code plus number, no + sign, spaces, brackets or leading zero. A UK number 07700 900123 becomes
447700900123. - Add it to the wa.me address:
https://wa.me/447700900123. - Optionally add a pre-filled message, URL-encoded:
https://wa.me/447700900123?text=Hi%2C%20I%20have%20a%20question%20about%20pricing.
Pre-filled text tells you where the chat came from. Use a different message per page, for example “Hi, I’m interested in the Elite Gold plan”, and you can route chats with keyword rules in your WhatsApp chatbot.
Step 2: choose the button style
| Style | Best for | Tip |
|---|---|---|
| Floating chat bubble (widget) | Every page of a store or service site | Bottom-right corner, clearly labelled, does not cover the checkout button on mobile |
| Inline “Chat on WhatsApp” button | Product, pricing and contact pages | Place next to the main call to action with a page-specific pre-filled message |
| QR code | Desktop visitors, print, packaging and shop counters | Encode the same wa.me link so phone users can scan it |
| Header or footer link | Sites with a phone number in the header | Show it next to your phone number and email |
Step 3: add it to your site
Any website: add a link element with the wa.me address, an accessible label such as “Chat with us on WhatsApp” and target="_blank" rel="noopener". Style it with your brand colours or the WhatsApp green.
Shopify, WordPress, Wix: paste the link into a button block, or use a chat-widget app that shows a floating bubble. Check the app loads only a small script so it does not slow your pages.
Monarkz users: the website chat widget and branded short links are included in every plan, and chats from the widget land in the shared team inbox with the source page tagged.
Best practices for WhatsApp website buttons
- Show your business hours or expected reply time near the button.
- Set up a WhatsApp auto reply so out-of-hours visitors get an instant answer.
- Complete your WhatsApp Business profile so people see your logo, description and website when the chat opens.
- Track clicks with UTM-tagged short links or analytics events to see which pages drive conversations.
- Ask for opt-in during the chat before sending marketing broadcasts later.
Frequently asked questions
Is a WhatsApp chat button free?
Yes. wa.me links are free to create and use. On the WhatsApp Business API, replies within 24 hours of the customer’s message are also free from Meta.
Does the WhatsApp widget work on desktop?
Yes. On a computer the link opens WhatsApp Web or the desktop app. Many sites also show a QR code on desktop so visitors can continue on their phone.
Can I add a WhatsApp widget on Android or iPhone home screens?
WhatsApp offers home-screen widgets on Android and iPhone for your own chats. For customers, the best equivalent is a bookmarked wa.me link or a QR code they can scan.
Can several agents answer chats from the website button?
With the WhatsApp Business app, chats go to one phone and up to a few linked devices. With the Business API and a shared inbox like Monarkz, many agents can answer from one number.
Why does my wa.me link say the number is invalid?
The number is usually formatted wrongly. Use the full international number with country code, and remove +, spaces, dashes, brackets and any leading zero.
Turn website visitors into WhatsApp conversations. See Monarkz plans from £10 →