Skip to content

How to add a WhatsApp chat button to your website

Updated · by Aethyl Global

In the UAE many customers would rather send a WhatsApp message than fill in a form or make a call. A click-to-chat link opens a chat with your business in one tap, on phone or desktop. It needs no plugin and no paid API.

1. Build your link

WhatsApp's official click-to-chat format is https://wa.me/ followed by your full number in international format: country code first, digits only, with no +, no leading zeros, no spaces and no dashes.

For a UAE mobile number written locally as 050 123 4567, drop the leading 0 and add the country code 971:

https://wa.me/971501234567

2. Pre-fill the first message (optional)

Add ?text= followed by URL-encoded text. The customer still taps Send, so nothing is sent without them. A pre-filled message tells you which page they came from.

https://wa.me/971501234567?text=Hi%2C%20I%20saw%20your%20website%20and%20would%20like%20a%20quote

3. Put it on the page

A plain link works everywhere, including in website builders that let you add a button with a URL:

<a href="https://wa.me/971501234567?text=Hi%2C%20I%27d%20like%20a%20quote"
   target="_blank" rel="noopener">Chat on WhatsApp</a>

Where to place it

  • In the header or first screen, so mobile visitors see it without scrolling.
  • As a floating button in a bottom corner on mobile. Give it a fixed position so it doesn't push content around while the page loads.
  • Next to every price, service or booking section: wherever someone is likely to have a question.
  • On your contact page, alongside your phone number and email, not instead of them.

Common mistakes

  • Writing the number with + or 00, or keeping the local leading 0. The link then opens WhatsApp with no chat, or the wrong number.
  • Using a personal number nobody monitors after hours. The WhatsApp Business app (free) lets you set a greeting and an away message.
  • Hiding the only WhatsApp link in the footer.
  • Loading a heavy third-party chat widget when a simple link does the same job and doesn't slow the page.

Check it

Open the link on your phone and on a desktop browser. It should open a chat with your business name. Then run the free audit to confirm the link is detected.

More guides