In this guide · 8 sections
- 01How a WhatsApp click-to-chat link works
- 02Add a pre-filled message (and know where leads came from)
- 03Light button vs heavy widget: protect your page speed
- 04Step by step: adding the button
- 05Track WhatsApp clicks as a key event in GA4
- 06Number privacy, hours and when to upgrade
- 07Do it yourself or get help?
- 08Frequently asked questions
Short answer
Link a button to https://wa.me/65XXXXXXXX (country code, no plus sign or spaces), optionally with ?text= and a URL-encoded message. Style it as a normal link or small fixed button instead of a heavy widget, and mark WhatsApp clicks as a key event in Google Analytics.
How a WhatsApp click-to-chat link works
WhatsApp's click to chat feature lets someone start a chat with you without saving your number. The link format is simple:
| What you want | Link format | Singapore example |
|---|---|---|
| Open a chat | https://wa.me/ + full number | https://wa.me/6591234567 |
| Open a chat with a message | https://wa.me/number?text=encoded message | https://wa.me/6591234567?text=Hi%2C%20I%27d%20like%20a%20quote |
| Share a message, user picks the contact | https://wa.me/?text=encoded message | Used for share buttons, not contact |
WhatsApp says to use the full number in international format and to omit any zeroes, brackets or dashes. For Singapore, that means 65 followed by the eight-digit number, with no plus sign and no spaces. The example number above is a placeholder; test your own link on a phone before publishing.
Add a pre-filled message (and know where leads came from)
A pre-filled message saves the customer typing and tells you what they were looking at. Spaces become %20, commas %2C and apostrophes %27. Most link builders and URL-encoding tools do this for you.
- Service page: "Hi, I'd like a quote for aircon servicing"
- Product page: "Hi, is the blue size M still available?"
- Booking page: "Hi, I'd like to book an appointment"
- Pricing page: "Hi, I have a question about your packages"
Using a different message on each page is a low-tech way to see which pages produce enquiries, even without analytics. Keep it short and let customers edit it before sending.
Track WhatsApp clicks as a key event in GA4
Google Analytics 4 records outbound link clicks automatically when enhanced measurement is on: Google's enhanced measurement help says outbound click events occur for all links leading away from your domain, and wa.me is one of them. To see WhatsApp enquiries as a number you can report on:
- In GA4 Admin, create a new event (for example whatsapp_click) based on the click event where the link domain equals wa.me.
- Mark whatsapp_click as a key event. Google renamed GA4 conversions to key events; conversions now refers to Google Ads.
- If you run Google Ads, import the key event as a conversion so campaigns can optimise for WhatsApp chats.
A click is not a sent message: some people open WhatsApp and change their mind. Compare clicks with the chats you actually receive each month.
Number privacy, hours and when to upgrade
A wa.me link makes the number visible to anyone, and scrapers do collect numbers from websites. Use a dedicated business number on the WhatsApp Business app, with an away message outside hours that says when you'll reply.
When the volume grows past what one phone can handle, or you want automatic replies and booking or order messages, move to the WhatsApp Business Platform. Our guides to WhatsApp chatbot options in Singapore and Shopify Inbox vs WhatsApp vs live chat cover the next steps. The link on your site stays the same: it simply opens a chat with the API number instead.
Do it yourself or get help?
Adding a wa.me button is a ten-minute job on most builders. Getting the tracking right and keeping the site fast takes a little more care.
Before you finish
Our Business Website package (S$1,490) includes WhatsApp buttons and click tracking set up properly. For automatic replies and order or booking messages, see WhatsApp Notifications (S$590).
Frequently asked questions
Use https://wa.me/ followed by your full number in international format, without a plus sign, spaces, brackets or dashes. For a Singapore number, that is 65 plus the eight digits. Add ?text= with a URL-encoded message to pre-fill the chat. Test the link on a phone before putting it on your website.
No. A WhatsApp button is just a link, so any button or text link block in WordPress, Shopify, Wix or Squarespace works. Plugins add features like popups and agent lists, but many load extra scripts on every page, which can slow your site and affect Core Web Vitals.
Yes. With enhanced measurement on, Google Analytics 4 logs outbound clicks, including clicks to wa.me. Create a custom event from those clicks, such as whatsapp_click, and mark it as a key event. A click doesn't guarantee a message was sent, so compare with the chats you receive.
Yes. On a computer, the link leads to WhatsApp Desktop or WhatsApp Web, which needs the user's phone to be linked. On phones it opens the WhatsApp app directly. Test on both before publishing, because some company computers block WhatsApp Web and a few customers may prefer email or a contact form.
It's better not to. The number becomes public, can be scraped and stays with that person if they leave. Use a dedicated business number on the WhatsApp Business app, set a greeting and away message, and move to the WhatsApp Business Platform if several staff need to answer.