Many customers would rather send a quick WhatsApp message than fill in a contact form or wait for an email reply. A chat button on your website lets them do that in one tap. This guide explains how the button works, the ways to add it, and how to find out whether anyone is actually using it.
How a WhatsApp chat button works
A WhatsApp chat button is a normal link. It points to a wa.me address that contains your phone number. When a visitor clicks it, WhatsApp opens a chat with that number. On a phone it opens the app. On a desktop it opens WhatsApp Web or the desktop app.
You do not need a WhatsApp Business API account for this. A regular WhatsApp or WhatsApp Business app number works, as long as you enter the number in international format (country code first, then the number).
Before you start: decide four things
- The number that should receive the messages, in international format.
- A pre-filled message, such as a short greeting or a question about your product. It saves the visitor typing and tells you what they came for.
- The label on the button, for example "Chat with us".
- The position. A floating button in the bottom corner of the screen is the usual choice because it stays visible while visitors scroll.
Option 1: A plain wa.me link
The simplest method is a text link or button in your page content. The address has this form: wa.me/ followed by your number in international format, with no spaces or dashes. To add a pre-filled message, put ?text= after the number, followed by your message with spaces written as %20.
- Write your number in international format.
- Add it after wa.me/ to build the link.
- Optionally add ?text= and your encoded message.
- Paste the link into a button or text link in your page editor.
- Open the page on your phone and tap the link to confirm it opens the right chat.
Good for: a single "Contact us on WhatsApp" link on a contact page or product page.
Limits: it is not floating, so it only shows where you place it. You also get no numbers. You cannot tell how many people clicked it.
Option 2: A WordPress plugin or a platform app
Most website platforms have plugins or apps that add a floating chat button. This works well, but check three things before installing:
- Does it let you set the pre-filled message and the corner?
- Does it show you any click statistics, or only display the button?
- Does it add extra scripts that slow the page down?
If you manage several sites, installing and configuring a different plugin on each one gets tedious.
Option 3: One line of code that works on any site
A third approach is a small script that draws the floating button for you. You paste one line into your site, and the script shows the button with your number, message, label, color, size and corner. Because it is a script tag, it works anywhere you can edit the page HTML: WordPress, Shopify, Wix, Squarespace, Webflow or a custom site.
If your platform blocks custom scripts, this method will not work there.
The part most guides skip: knowing whether it works
Adding the button is the easy half. Once it is live, you will want answers to simple questions:
- How many people click it each day?
- Which pages produce the most clicks?
- Do visitors click more on mobile or on desktop?
- How many page views showed the button, so you can work out a click rate?
A plain wa.me link cannot answer these. To get answers you need something that records each click. Be clear about what any such tool can and cannot see. It can count clicks and button loads. It cannot know whether the visitor then sent you a message, because that happens inside WhatsApp. Treat the click count as interest, not as confirmed conversations.
Do it with a button that counts clicks
The WhatsApp Chat Button with Click Tracking ($9, billed as a PayPal subscription) covers both halves of the job. In its private dashboard you create a floating button and choose:
- your WhatsApp number
- a pre-filled message
- the label, color and size
- the corner where the button appears
You then copy one line of install code and paste it into your site. After that, the dashboard shows total clicks, a daily chart for the last 30 days, your top pages, mobile versus desktop clicks, and how many times the button was loaded.
Right after the PayPal subscription is confirmed, you land on a page with your private dashboard link. The link is also emailed to the PayPal payer email.
Step by step: installing the button on your site
- Open your dashboard from the link you received after subscribing.
- Create a button. Enter your number in international format, write a short pre-filled message, and set the label, color, size and corner.
- Copy the install code. It is a single line.
- Paste it into your site. Put it where your platform allows custom scripts, such as a site-wide header or footer area, so the button appears on every page you want.
- Test it. Open your site on a phone, tap the button and check that WhatsApp opens with your message ready.
- Check the dashboard after a few visits to confirm clicks are being counted.
Tips for a button people actually click
- Keep the label specific. "Ask about pricing" tells visitors more than "Contact".
- Write the pre-filled message as the visitor would. For example, a short question about the page they are on. A message that is easy to send gets sent more often.
- Choose a color that stands out against your site design without clashing with it.
- Use one corner consistently. The bottom corner is where visitors expect chat buttons. Make sure it does not cover a cookie banner or another important element on mobile.
- Review the top pages after a couple of weeks. If a page gets many clicks, make sure you answer quickly. If a key page gets none, look at its content or the position of the button.
Using it for clients or several sites
If you build or manage websites for others, one subscription includes up to 3 buttons. Each has its own number, message, style and statistics, all in one private dashboard. That suits a few small client sites or a main site plus a couple of side projects.
Privacy and legal notes
The tool records only the click event, the page address, the device type (mobile or desktop) and the time. It does not store visitor IP addresses or names. You are still responsible for mentioning the button and any tracking in your own privacy policy where the law of your country requires it.
If you cancel
You can cancel at any time from your PayPal account. When the subscription ends, the button stops showing on your sites and the dashboard is no longer available. If you only want a permanent link with no statistics, the manual wa.me method from Option 1 has no ongoing dependency.
Which option should you choose?
- One link on one page, no numbers needed: use a plain wa.me link.
- A floating button with a plugin you already trust: use a platform plugin, and check whether it shows stats.
- A floating button on any platform, plus click counts, daily charts and top pages: use a script-based button with a dashboard, such as the WhatsApp Chat Button with Click Tracking for $9.
Whatever you pick, test the button on your phone before you leave it running. A button that opens the wrong chat, or the right chat with a confusing message, costs you more than having no button at all.
Disclosure: some links on this site are affiliate links or our own products; we may earn money at no extra cost to you.
