Click-to-WhatsApp Buttons and Catalogue Links on Your Website
Short answer: A click-to-chat link opens a WhatsApp conversation with your business number and an optional message already typed in. The link has the form wa.me, followed by the phone number in full international format with no plus sign or spaces, and then a question mark and the encoded text. Place one button on each page where a visitor may want to ask something, and make the prefilled text match that page. Track the clicks as a GA4 event, so you can see which pages bring conversations, and set an away message for the hours you do not answer.
Build the link
The basic structure is simple. Take your number in international format, so a New Zealand mobile of 021 555 0123 becomes 64 21 555 0123, then remove the spaces, which gives 64215550123. Add it to the address after wa.me, and add the message after a question mark with the word text and an equals sign.
Example for a plumbing firm, using a made-up number:
https://wa.me/64215550123?text=Hi%2C%20a%20burst%20pipe%20needs%20checking%20today
Spaces must be encoded as %20 and commas as %2C. Most link builders in the WhatsApp documentation do this for you, but check the result by pasting it into a browser and seeing the expected text appear in the chat window.
Prefill the message for each page
A generic "Hi" tells you nothing about the visitor. A message that names the page gives you context before the first reply. Give each important page its own link:
- Service page: "Hi, quote needed for a hot water cylinder replacement."
- Product page: "Hi, is the 20-litre tank in stock for Auckland delivery?"
- Contact page: "Hi, a question about an existing booking."
Keep the prefilled text short, and let the customer change it. Long prefilled messages look like spam, and a customer who is asked to send a paragraph will often send nothing.
Place the button without covering content
A floating button in the bottom corner works well on phones, but it must not hide the checkout button, the cookie banner or a form's submit control. Test each page at phone width and check that every button you need can still be tapped. Use one floating button per page, not several, and add a text label such as "Chat on WhatsApp" on desktop, where the icon alone can be unclear.
On a product catalogue, put the link beside the item name rather than only in a sidebar. Visitors who scroll down a product list are often ready to ask a question at that point.
Use a catalogue link
If you have set up a product catalogue in the WhatsApp Business app, you can share a link to it from your website. Use that link on your products page or in a "view our range" button. Visitors open the catalogue inside WhatsApp and can message you about any item. Keep the catalogue up to date, since a link that shows discontinued items gives a poor impression.
Check the current catalogue link format in the WhatsApp Help Center, because the menus and the sharing options change with app versions.
Track the clicks in GA4
Google Analytics 4 records a click as an event when you tell it to. The simplest method is a link click event on each WhatsApp button, with a custom parameter that records the page the click came from. Give the event a clear name, such as whatsapp_click, and add the page path as a parameter. In your analytics dashboard, mark the event as a conversion if you want it to count towards goals.
Test the event in the GA4 DebugView before relying on the report. Click the button yourself, and confirm that the event appears with the page path. If you use a tag manager, set up the trigger there instead of editing the page code.
Set expectations for after hours
A click at 11 pm should not look like a promise of an answer at 11:05. Turn on the away message in the WhatsApp Business app and write it with your normal opening hours and a clear next step, such as "We reply within one working day. For an emergency, call 0800 555 0199." Review the message if your hours change, and check the number in the emergency line before you publish it.
Review the numbers monthly
Each month, compare the WhatsApp click counts with the conversations you actually received. Clicks that never become conversations may point to a button that confuses people, a prefilled message that is wrong for the page, or a mobile layout problem. Adjust one page at a time.
FAQ
Does the button work on a computer?
Yes. On a desktop, the link opens WhatsApp Web or the desktop app if it is installed, so test both layouts.
Can I hide my phone number in the link?
The number is part of the link, so anyone who opens the page can see it. That is intended for a business line, but do not use a personal mobile for a public button.
Why did the message not appear in the chat?
The most common cause is an unencoded space or a symbol in the text. Re-encode the message and test the link again.
Do I need a plugin?
No. The link works in plain HTML. A plugin can help manage several links across a large site, but a single button only needs one line of markup.
If you would like the buttons, the prefilled messages and the tracking set up across your site, tell us which pages matter most and our studio will prepare the links and the event setup for you.