How Do You Add a WhatsApp Button to Your Website?

Ammar Sohail 4 min read
How Do You Add a WhatsApp Button to Your Website?
In this post
  1. How do you make a WhatsApp click to chat link?
  2. Can you pre-fill the message?
  3. Where should the button go?
  4. How do you add a WhatsApp button in WordPress?
  5. What should you get right before you switch it on?
  6. Which mistakes do people make with the link?
  7. Your next step

To add a WhatsApp button to your website, you only need a link. WhatsApp calls it a click to chat link, and it opens a conversation with your business number when a visitor taps it. No plugin is required, though one can make it easier.

For businesses in Dubai and across the UAE, where customers often prefer a message to a phone call, it's one of the quickest wins you can add to a site.

WhatsApp's help page on how to use click to chat gives the format. It's wa.me followed by your number in full international format. Leave out brackets, dashes, plus signs and leading zeros.

So a UAE mobile number written as 050 123 4567 becomes 971501234567: the country code 971, then the number without its first zero. The finished link is https://wa.me/971501234567. That number is made up for the example, so swap in your own.

Test it on your phone before you publish anything. A single wrong digit sends customers to a stranger.

Can you pre-fill the message?

Yes. Add ?text= to the end of the link, followed by your message with spaces and special characters percent-encoded. A space becomes %20. For example:

https://wa.me/971501234567?text=Hi%20Wolf%20Tech%2C%20I%27d%20like%20a%20quote

This helps in two ways. The customer doesn't face a blank box, and you can tell where the chat came from. Use a different pre-filled line on your pricing page than on your contact page, such as "I'm asking about prices", and you'll know what each person wants before you reply.

Where should the button go?

Put it where a worried customer will look. We usually recommend three places:

  • The header or top of the page, as a text link such as "Chat on WhatsApp".
  • A floating button in the bottom corner, kept small enough not to cover content on a phone.
  • Your contact page, beside the form and phone number, not instead of them.

Don't remove your contact form. Some people don't use WhatsApp, and a form gives you a written record in your email inbox.

How do you add a WhatsApp button in WordPress?

There are two routes. The simple one is to add a button block or a custom link in the page editor and paste your wa.me link as the address. Style it as a normal button. That's all it takes, and it keeps your site light.

The other route is a plugin that adds a floating chat icon. Plugins save time, but they also add code and update obligations, so choose one that's actively maintained and look at when it was last updated. If you're not sure, we can set it up on a WordPress site in an afternoon.

Shopify stores can do the same with a theme setting or a custom link in the header. The link format doesn't change.

What should you get right before you switch it on?

A button is a promise that someone will answer. If messages sit unread for two days, you'll lose more customers than you gain.

  • Decide who watches the number, and when.
  • Use the WhatsApp Business app so you can set opening hours and an away message.
  • Don't use a personal number you wouldn't want customers to keep.
  • Write down a short reply for the three questions you get most often.

It also helps to link your number from your Google listing. WhatsApp has a help page on creating a link to your WhatsApp from your Google Business Profile, and our Google Business Profile checklist for Dubai businesses covers the rest of the listing.

Most problems come from the number. Owners paste it with a plus sign or a leading zero, and the link opens an error page. Another common slip is a landline, which can't receive WhatsApp messages at all.

The second mistake is a button that fights for attention. If a floating icon sits on top of your menu or your call to action on a small screen, people will leave. Open your site on a phone, scroll the whole page and check nothing is hidden.

Last, don't put your number on the site as plain text if you want to avoid spam. A button hides the digits from a casual glance, although anyone can still read a link. Keep that in mind when you choose which number to publish.

Your next step

Write your wa.me link now, test it from your own phone, and add it to your contact page first. Then add a header link once you're sure you can reply quickly. Our website packages already include WhatsApp integration, and you can see the details on our pricing page. If you'd like a hand, message us and we'll add it for you.

Common questions

Do I need the WhatsApp Business app for a website button?

No, a click to chat link works with any active WhatsApp account. The Business app is still a better fit because it adds opening hours, an away message and a business profile.

Will the button work on a desktop computer?

Yes. WhatsApp says the link works on phones and on WhatsApp Web, though visitors need an active account to message you.

Can I use the same link on social media?

Yes. The same wa.me link works in bios, emails and adverts. Change the pre-filled text for each place so you know where the chat came from.

You might also like

Message Us