How Does a WhatsApp Chat Button Work?
A WhatsApp chat button sits in the corner of your site. Tapping it opens a small chat card with your business name, a welcome message and a button that continues in WhatsApp. Behind it is a wa.me link: WhatsApp opens and your ready-made message waits in the message box.
Why Does a Button Help?
Instead of looking up a phone number or filling in a form, the visitor writes in the app they already use, which makes small questions easy to ask. The welcome card shows the visitor who they are about to write to; one short, friendly sentence is enough.
How Does the Code Work?
The tool produces a short code: your settings and one script line. The code loads one small file from creato.digital; it uses no cookies and contains no tracking code. If you prefer no external file, you can copy the single-file code instead. Class names start with creato-wa-, so they do not clash with your styles. The button opens and closes the card, and so do Esc and the card’s close button. The card can also open by itself after a delay. The single-file code works without JavaScript too.
Where Do You Paste the Code?
The code belongs just before the closing body tag of the page. Most site builders and e-commerce platforms have a place for it in the theme editor or in a custom code area. Save the code, refresh your site and try the button. If your site has a Content Security Policy (CSP), add www.creato.digital to script-src.
How Does It Behave on Mobile and Desktop?
The button stays fixed in the corner and keeps its place as the page scrolls. A screen narrower than 768 pixels counts as mobile, anything wider as desktop. You can show the button on only one of them, for instance on mobile while your site uses its own chat on desktop. The button is hidden automatically when the page is printed.
What to Check Before You Publish
Pick the corner where your site has no fixed buttons of its own. You can match the color to your brand; the text color is chosen automatically. Keep the ready-made message short and clear. Make sure the number is registered on WhatsApp and try the button from your own phone.
To remove the button, delete the whole block of code you pasted.