How to add a WhatsApp chat button to your website
How to add a WhatsApp chat button or enquiry form to your website using a wa.me link, with a pre-filled message, plus tips for placement, tracking and when to use the WhatsApp Business API.
For most Indian customers, WhatsApp is easier than filling in a form or sending an email. A WhatsApp button on your website turns visitors into conversations, often within seconds. You don't need a plugin or a paid service to do it. Here's how.
The simplest method: a wa.me link
WhatsApp provides "click to chat" links in this format:
https://wa.me/91XXXXXXXXXX
Replace the X's with your 10-digit mobile number, after the country code 91, with no plus sign, spaces or dashes. When someone taps the link on their phone, WhatsApp opens a chat with you.
Add a pre-filled message
You can add a message that's typed in automatically, so customers don't have to think about what to write:
https://wa.me/91XXXXXXXXXX?text=Hi%2C%20I%27d%20like%20a%20quote%20for%20a%20website
The text must be URL-encoded: spaces become %20, commas %2C. Online URL encoders do this for you. A pre-filled message also tells you which page or button the enquiry came from, for example "Hi, I'm interested in the bridal package".
Adding the button to your site
Any website
Add a normal link or button pointing to your wa.me URL:
<a href="https://wa.me/91XXXXXXXXXX?text=Hi" target="_blank" rel="noopener">Chat on WhatsApp</a>
WordPress
Add a button block with the wa.me link, or use a lightweight WhatsApp plugin if you want a floating button. Choose one that doesn't load heavy scripts.
Shopify
Add the link to a button in your theme, or use a WhatsApp app if you want order notifications as well.
Turn your enquiry form into a WhatsApp message
A smart option is a short form (name, service, budget, city) that opens WhatsApp with all the details pre-filled. The customer just taps Send, and you receive a complete enquiry instead of "Hi, price?". It works without any paid service and suits most service businesses.
Where to place it
- In the header or first screen of the home page
- On every service and product page, near prices
- As a sticky button on mobile, at the bottom of the screen
- On the contact page, alongside phone and email
Keep floating buttons from covering other content, especially on small phones.
Track your WhatsApp leads
Use different pre-filled messages for different pages or campaigns, and set up click tracking in Google Analytics or Google Ads. That way you know which pages and ads actually start conversations.
When you need the WhatsApp Business API
The simple button works with the free WhatsApp Business app. The WhatsApp Business API (through providers like Interakt, Wati, AiSensy and others) is worth it when you need automated order confirmations, abandoned-cart reminders, multiple team members on one number, or chatbot replies. It has monthly and per-conversation costs, so most small businesses start with the free app and a wa.me button.
Don't forget the basics
- Set up a WhatsApp Business profile with your hours, address and catalogue.
- Use quick replies for common questions.
- Reply fast; the advantage of WhatsApp disappears if you take a day to answer.


