Menu

1 / 3

WhatsApp Click-to-Chat Links: The Number Format, the Encoding, and What You Cannot Measure

DEV Community: html·Arseny Ivanchuk·4 days ago
#WsGh7Dyo
#devto2#devto#dev#whatsapp#number
Reading 0:00
15s threshold

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> .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.