This article is based on the WABB guide How to Add a WhatsApp Chat Button to Your Website . The link rules below were re-checked on 13 November 2026 against WhatsApp's Help Center page "How to use click to chat" and Meta's developer page QR codes and short links (updated 21 May 2026).
A WhatsApp chat button looks like a design task, but it is a link with two parts that fail quietly: a phone number and a pre-filled message. Get the number wrong and WhatsApp says the number is not on WhatsApp. Skip the encoding and the message arrives cut off. This post goes through the link, a helper that builds it, a floating button, and the one thing you cannot get from WhatsApp: a click count.
The short version
A click-to-chat link is https://wa.me/<number> .…