Add a WhatsApp chat button to your website
A floating button in the corner of every page that opens a WhatsApp chat with you. Set the number, message and label, then paste one snippet into your site.
Enter a WhatsApp number to see your button code here.
How to add it to your site
Copy the snippet and paste it just before the closing body tag of your site's template, so it appears on every page. Most website builders have a place for custom code in the footer or in the site settings; it goes there.
The snippet is a single link with its own styling. It loads nothing from us and does not track your visitors.
- WordPress: a footer code or header and footer plugin, or your theme's footer file
- Shopify: the theme.liquid file, before the closing body tag
- Wix and Squarespace: custom code in site settings, placed in the body end
- A site you build yourself: the shared layout or footer template
Make the first message do some work
Set a pre-filled message that says which site the chat came from, for example "Hi, I have a question about an order from the website". Your team then knows the context before they reply, and a chatbot can route the chat to the right person.
Questions people ask
Will it slow my site down?
No. It is a single link with inline styling and a small icon drawn in the page. There is no script to load.
Can I change the colour?
The snippet uses WhatsApp green so visitors recognise it. You can edit the background value in the code if your design needs something else.
Does it work on phones?
Yes. On a phone it opens the WhatsApp app; on a computer it opens WhatsApp Web or the desktop app.
Can several people answer the chats it starts?
Not from one phone. With the WhatsApp Business API on Marichi Talks, the chats land in a shared inbox your whole team can answer.
Related
WhatsApp link generator
Make a free wa.me link that opens a WhatsApp chat with your business and a message already typed in. Copy it, test it, or turn it into a QR code.
Read more Free toolWhatsApp QR code
Make a free QR code that opens a WhatsApp chat with your business. Add a pre-filled message, then download it as PNG or SVG for print, packaging or signs.
Read more FeatureWhatsApp chatbot
Build WhatsApp chatbots on a visual canvas with buttons, lists, questions, conditions and API calls, then run the real flow in Test Flow before it goes live.
Read more FeatureTeam inbox
One shared inbox for every WhatsApp conversation. Assign, transfer and resolve chats, see the 24-hour reply window, and answer from the web or the Android app.
Read moreStart with your own number today
Sign up and connect WhatsApp in one sitting. The free trial includes credit for your first campaigns; after it, you pay only for what you send.
7 days free ยท no card needed