
How to add a WhatsApp button to your website: widget, wa.me link and free methods
✦ Key takeaways
- •How do you build a wa.me link for a WhatsApp button on your site?
- •How do you add a WhatsApp button with code or a website builder plugin?
- •What can the free WazzaBee WhatsApp widget for your website do?
- •Which way of adding a WhatsApp button to your site should you choose?
- •What does a business lose with only a wa.me link on its site?
You can add a WhatsApp widget to your website in three ways: a wa.me link on a button, your own HTML code, or a ready-made widget. The fastest option is the free WazzaBee widget: one line of code before </body>, it works on Tilda, WordPress and any HTML site, fills the product into the message and counts clicks. Below you will find instructions, ready code and a comparison table to choose a method in five minutes.
You know the situation. A customer visits your site in the evening and wants to check a price, but doesn't feel like calling. A form feels like too much effort, and the number in the header must be typed in by hand. They close the tab and message whoever had a green button in the corner of the screen. A WhatsApp button on your website removes that barrier: one tap, and the person is already chatting with you.
Below we go through every working method: how to build a wa.me link, how to code a button, how to add one in a website builder and what a widget gives you. We will also look at what a business loses when the button leads to a manager's personal phone, and how to connect your site to the official WhatsApp Business API and a CRM.
How do you build a wa.me link for a WhatsApp button on your site?
A wa.me link opens a chat with your number, and the customer doesn't need to save your contact. Here is how it is built: https://wa.me/ followed by the number in international format, digits only, with no plus sign, spaces, brackets or dashes. For the Kazakhstan number 8 701 123 45 67 you get https://wa.me/77011234567.
To save the customer from thinking up the first line, add a ready text. After the number, put ?text= and the message, with spaces replaced by %20 and other characters URL-encoded. The customer sees the phrase in the input field and can edit it before sending. The link format is described in the WhatsApp Help Center article on click to chat.
Common mistakes when building the link:
- The number starts with 8. Kazakhstan needs the country code 7, otherwise the link opens a chat with a different or non-existent number.
- A plus sign, spaces or brackets are left in the number. WhatsApp may fail to recognise the number, and the chat won't open.
- The text is not encoded. Cyrillic letters and punctuation in an unencoded address sometimes display incorrectly.
- The link uses an employee's personal number. More on this mistake below: it costs more than all the others.
You don't have to build the link by hand. Our guide on how to make a WhatsApp QR code and link for business shows how to get a ready link with text and where to use it besides your website.
How do you add a WhatsApp button with code or a website builder plugin?
If your site is custom-built, you can code the button in ten minutes. It is just an ordinary wa.me link styled as an icon in the corner of the screen. Here is minimal code to paste before the closing </body> tag:
<a href="https://wa.me/77011234567" class="wa-btn" target="_blank" rel="noopener">WhatsApp</a>
<style>
.wa-btn{position:fixed;right:20px;bottom:20px;z-index:999;padding:14px 20px;border-radius:30px;background:#25D366;color:#fff;font:600 16px sans-serif;text-decoration:none}
</style>
Replace the number with yours and adjust the colour and spacing to match your design. The upside: it's free and nothing extra loads. The downsides are just as clear. The message text is the same on every page, you can't see clicks, and any change to the number or colour has to be made by someone who can edit the site code.
Website builders and CMS make it simpler. In Tilda you can build the button from a standard block with a wa.me link or paste your own HTML code in the site settings. For WordPress the plugin directory has plenty of "WhatsApp button" solutions: install, enter the number, pick a colour. We deliberately don't recommend specific plugins because they change, so before installing, check when the plugin was last updated and whether it slows the site down.
Hand-written code and plugins share one weakness: the button stays a link. It opens a chat, and that's where its job ends. Where the message lands, who answers it and whether it stays in the company's history is no longer up to the button.
What can the free WazzaBee WhatsApp widget for your website do?
The WazzaBee widget works like a WhatsApp button, but with settings and statistics. The basic version is free with no time limit: the button, product data, styling, a message template and click counting. All features are on the page about the free WhatsApp widget for websites.
What you set up in the dashboard, in the "WhatsApp widgets" section:
- Appearance. Button colour, position at the bottom right or left, button text, pop-up text and greeting. The window can open automatically 2 seconds after the page loads.
- Message template. Ready presets "Simple chat", "Store" and "Consultation" plus variables: product name, price, variant (colour or size), description, page URL and page title.
- Product auto-parsing. The widget picks up the name, price and description from the page through Schema.org, JSON-LD, OpenGraph or CSS selectors. The customer taps the button, and the agent instantly sees which product it is about.
- Where to show it. Allowed domains and excluded pages. By default the widget is hidden on /admin and /wp-admin.
- Analytics. Impressions, clicks and CTR for each widget, top pages and products.
- Link for social media. A public link with analytics for Instagram, business cards and QR codes. For Google Maps and 2GIS, which accept only wa.me, the editor gives a direct link, but its clicks are not tracked.
Installation is simple: copy one line of JavaScript and paste it before </body>. The widget loads asynchronously and doesn't hold up page rendering. It works on Tilda, WordPress and WooCommerce, Shopify, 1C-Bitrix, OpenCart, ModX, InSales and any HTML site where products can be marked up with data-wa-* attributes.
The honest condition of the free version: it always shows a "Powered by WazzaBee" label. You can remove it, and get full analytics with geography and devices, message history in a shared chat and a CRM connection, once a paid WhatsApp channel in WazzaBee is connected to the widget.
Which way of adding a WhatsApp button to your site should you choose?
If you get few enquiries and the owner answers personally, a wa.me link is enough. If the site brings in messages every day, look less at what the button costs and more at how many enquiries you can see and control. We compared the methods by what matters to a business owner.
| Method | Price | Developer needed | Text and product in the message | Click statistics | Chats in CRM |
|---|---|---|---|---|---|
| wa.me link | Free | No | One text for all pages | No | No |
| HTML and CSS button | Free | Yes, for every change | One text for all pages | Only through your own site analytics | No |
| Website builder or CMS plugin | Free or a paid plugin version | No | Depends on the plugin | Depends on the plugin | No |
| WazzaBee widget, free version | Free | No | Template and product auto-parsing | Impressions, clicks, CTR | No, messages go to the number |
| WazzaBee widget with a WhatsApp Business API channel | $68 per channel per month | No | Template and product auto-parsing | Full: geography and devices | Yes: shared chat, WazzaBee CRM, Bitrix24 or amoCRM |
The key difference is in the last column. The first four methods all open a chat the same way, but only a channel in a shared dashboard keeps the conversations with the company.
What does a business lose with only a wa.me link on its site?
A link solves one task: it opens a chat. Everything after the tap stays on the phone of whoever owns that number. While there is one manager working seven days a week, that's bearable. As soon as there are two employees or ads start bringing enquiries every day, four problems show up.
- Enquiries go to a personal phone. The manager is on holiday, ill or has left, and the customer chats have gone with them. The company doesn't even know how many people wrote in a month.
- There is no shared history. A second employee can't see that the customer has already been quoted a price and promised a call back. The customer has to explain everything again and gets annoyed.
- There is no CRM. The enquiry never becomes a deal, nobody gets a reminder about it, and it can't be counted. A message that wasn't answered in time is lost silently.
- There is no source analytics. You don't know which page or which ad brought the person in, so you pay for all channels equally, even the ones that bring no customers.
There is a fifth risk people remember too late. If a work number is connected to services by QR code through the regular app, Meta blocks such numbers en masse. Losing the number means losing your contact base and chat history, and after that the button on your site leads nowhere. If this has already happened, see our page on what to do when your WhatsApp number is banned.
How does a WhatsApp widget for your site work with WhatsApp Business API and CRM?
The widget solves the problems above when it points to a channel connected in WazzaBee. In the widget editor you choose the number with the "From a channel" option, and website enquiries land in the company's shared chat instead of someone's personal phone.
The best fit for this is the official WhatsApp Business API. It is the safest option: the number works under Meta's rules, and connection takes 15 minutes. WazzaBee is an official Meta partner for connecting WABA. If you already use the WhatsApp Business app, with Coexistence it keeps working on your phone.
What happens after the button is tapped:
- The customer sees a ready text with the product name and price and sends it.
- The message arrives in the WazzaBee dashboard, in a shared chat that the company's agents can see.
- If WazzaBee CRM is connected, the conversation goes into a deal. The deal card has a "Where they came from" line: ads, search, Instagram, 2GIS or an AI assistant, if the CRM source code is installed on the site.
- The agent replies straight from the CRM, and the customer gets the answer in their own WhatsApp from the company number.
If you work in Bitrix24 or amoCRM, website chats go there too: through the WazzaBee app from the Bitrix24 marketplace or the widget for amoCRM. To see how the website, chats and deals come together in one system, read our article on a CRM with WhatsApp for business.
There is a money benefit as well. A customer who writes first through the widget opens a 24-hour window, and replies inside the window cost less than the templates a business uses to start a conversation itself. Details are on the page about the WhatsApp 24-hour rule.
How much does a WhatsApp widget for a website cost?
The widget itself is free: the button, auto-parsing, template, styling and basic click analytics cost nothing with no time limit, and you sign up without a card. You pay for the channel if you want conversations to go into a shared chat and CRM.
| Item | Price |
|---|---|
| Widget, basic version | Free |
| Official WhatsApp Business API channel | $68 per month |
| Inbound message from a customer | $0.0021 |
| Utility message, reply within the 24-hour window | $0.0286 |
| Marketing message | $0.086 |
Message prices are set by Meta and change along with its price list, so the site always shows the current ones. Connection and consultation are included in the plan price.
Here is a hypothetical example. Say the button brings in enquiries every day, and a manager who keeps all chats on a personal phone leaves the company. With them go the open conversations and the contacts of everyone who promised to "think it over and come back". If your average order is above $68, one saved deal a month already pays for the channel. Plug in your own numbers: only you have them.
What do you risk by trying it?
Almost nothing. The free widget takes a minute to install and is removed by deleting one line of code. For a WhatsApp channel these terms apply:
- 7 days free per channel, the trial period.
- A balance bonus when you sign up.
- Connection and consultation included in the plan price.
- 15 minutes to launch the official WhatsApp Business API.
- Coexistence: the WhatsApp Business app on your phone keeps working.
If something doesn't work, our support helps with installing and setting up the widget. We answer in Telegram and WhatsApp.
Who is a WhatsApp widget for websites not right for?
Here are the honest limits, so you don't waste your time:
- Your site brings a couple of enquiries a month and the owner answers personally. A wa.me link is enough. You can still install the widget for free, but you will hardly notice a difference.
- Your customers don't use WhatsApp. The button won't help; look at Telegram or an enquiry form instead.
- You need to message people who haven't written to you yet. The widget doesn't solve this: a business can start a conversation only with an approved WABA template and only with people who gave consent.
- You have no access to the site code or the builder settings. You won't be able to install the script, so use the widget's public link in your profile description or on a QR code.
Expert opinion
"The button on your site should lead to a channel the company owns, not to an employee's phone. The official WhatsApp Business API is the safest option here: the number works under Meta's rules, and website chats stay in the CRM even when managers change. If you don't get many enquiries yet, start with a link or the free widget, that's a perfectly normal first step."
Sergey Maestro, founder of WazzaBee
How to add a WhatsApp widget to your site: step by step
The whole path from sign-up to a working button takes a few minutes:
- Sign up for WazzaBee. No card required.
- Open the "WhatsApp widgets" section and click "Create your first widget".
- On the "General" tab, set the number: "From a channel" if a channel is already connected, or "Enter manually". Add a brand name and logo and, if needed, list allowed domains.
- On the "Appearance" tab, choose the colour, position, button text and greeting.
- On the "Message" tab, choose the "Store", "Consultation" or "Simple chat" template and add product variables.
- Click "Save", open the "Code" tab and copy the line.
- Paste the code before the closing </body> tag. Tilda and WordPress have a custom HTML field in the site or theme settings for this.
- Open the site on your phone, tap the button and check that the message arrived. Statistics are on the "Analytics" tab.
If you want website enquiries to go into a shared chat and CRM, connect an official WhatsApp channel: it takes 15 minutes, and the first 7 days are free.
FAQ
An omnichannel platform that connects messengers to your CRM. We link WhatsApp, Telegram, Instagram and 5 more channels to your business in Kazakhstan.
You may also like

How to connect WhatsApp to Bitrix24: 4 ways and what each one costs
You can integrate WhatsApp with Bitrix24 in four ways: a QR connector, the official WhatsApp Business API, Coexistence or Bitrix24's built-in channels. We compare ban risk, deals, broadcasts, calls and price, and say whether it can be free.

WhatsApp Business Not Working: "Login Not Available Right Now" and Other Errors
WhatsApp Business stops working because of a Meta outage, the internet or VPN, an old version, the wrong time, a login restriction or a ban. We go through each symptom, what not to do and how a business can stop relying on one phone.

How to know if someone blocked you on WhatsApp: signs, blocked list and unblocking
One grey tick, no last seen, photo or status, calls that don't connect. We go through the signs of a block from the WhatsApp Help Center, how it differs from privacy settings, the blocked list on Android and iPhone, and the risks for businesses.