
A WhatsApp "Chat with us" button: how to add it properly
Your customers prefer WhatsApp, so let them message you from your site. Here is how to build a working chat link, and the mistakes that break it.
Many small business owners tell us the same thing: "My customers prefer WhatsApp." If that is true for you, your website should make it easy to start a chat. A "Chat with us" button does exactly that, and you do not need a plugin or a developer to understand how it works. It is a single link, and it only has to be built correctly.
This guide explains the link format, how to add a ready-written message, and the mistakes that stop the button working. The format below comes from WhatsApp's own help page on click to chat.
What a WhatsApp chat link looks like
A WhatsApp chat link has this form:
https://wa.me/<number>
Replace <number> with your full phone number in international format. WhatsApp's guidance is short and clear: use the full phone number in international format, and leave out zeroes, brackets and dashes.
In practice that means:
- Start with the country code, then the rest of your number.
- Do not add a plus sign, leading zeroes, brackets, dashes or spaces.
- Use digits only.
WhatsApp gives https://wa.me/+001-(XXX)XXXXXXX as an example of what not to do. It has a plus, zeroes, brackets and dashes, and all of those can stop the link from working.
Adding a ready-written message
You can also add a message that appears in the customer's chat box when the link opens. Add ?text= to the end of the link, followed by your message. The message must be URL-encoded, which for most sentences just means spaces become %20.
WhatsApp's own example looks like this:
https://wa.me/1XXXXXXXXXX?text=I'm%20interested%20in%20your%20car%20for%20sale
When the customer clicks, they see "I'm interested in your car for sale" ready in the chat box. They can edit it before sending.
A pre-filled message is useful because it tells you what the customer wants before you reply. You could use a different message for each page, for example one for a quote request and another for a booking question. Keep the wording short and plain.
Do not leave out the number
There is a version of the link without a number: https://wa.me/?text=.... If you use it, the visitor is shown a list of contacts to pick from instead of reaching your business. That is not what you want from a "Chat with us" button, so always include your number.
One link for phones and desktops
Click to chat works on both the customer's phone and WhatsApp Web. That means one link covers mobile and desktop visitors. You do not need two buttons or separate links for different devices.
How to add it to your site
- 1Write your number in international format, digits only.
- 2Build the link:
https://wa.me/followed by the number. - 3If you want a ready-written message, add
?text=and your URL-encoded message. - 4Add a button on your site with the text "Chat with us on WhatsApp" and set its link to the address you built.
- 5Test it from your own phone and from a computer before you tell anyone about it.
Step 5 matters. Open the link yourself and check that it reaches your business chat and that the message, if you added one, looks right.
A quick checklist
- The link starts with
https://wa.me/. - The number is complete, in international format, with no plus, zeroes, brackets or dashes.
- The number is included, so visitors reach you and not a contact list.
- Any message after
?text=is URL-encoded, with spaces written as%20. - You have tested the button on a phone and on a desktop browser.
Where to put the button
Put the button where customers already look for a way to contact you, such as your contact page and the header or footer of your site. If your customers prefer WhatsApp, make it at least as easy to find as your phone number or contact form.
Need help?
If you would rather not edit links yourself, we can add and test the button for you as part of your website. Get in touch and tell us how your customers prefer to reach you.
Continue Reading
Discover more insights and stories

