How to Add a WhatsApp Chat Button to Your Website in 5 Minutes
Most Nigerian customers would rather chat on WhatsApp than fill in a contact form. Learn how to add a WhatsApp chat button to your website in five minutes — with or without a developer — and turn visitors into conversations.
A visitor lands on your website. They like what they see. They have a question — "Is this available in my size?" "Can you deliver to Abuja?" "How much is the installation?" Now they have two options: fill in your contact form and wait, or leave.
Most of them leave. A contact form feels slow and formal, and nobody knows when, or if, anyone will reply. But there is a third option that changes everything: a green WhatsApp button sitting in the corner of your website. One tap, and the visitor is chatting with you in the app they already use every day.
For Nigerian businesses, this is one of the highest-impact changes you can make to a website. WhatsApp is where your customers already live. A chat button simply opens the door between your website and their favourite app. This guide shows you how to add one in five minutes, with or without a developer.
Why a WhatsApp Button Works So Well
The reason is not technical. It is human. People do not like forms. A form asks for a name, an email, a phone number, and a message — and then offers nothing in return except the hope of a reply. A WhatsApp button asks for nothing. One tap, and the customer is talking to a real person, in an app they trust, where they can send photos, voice notes, and their location.
The numbers tell the same story. Businesses that add a WhatsApp button to their website consistently see more enquiries than those that rely on a contact form alone. The enquiries are also better: customers ask real questions, send photos of what they want, and negotiate in real time, instead of sending a vague form message that you have to follow up on days later.
Method 1: The Simple Link (No Code Needed)
This is the fastest method, and it works on any website, no matter how it was built. All you need is your WhatsApp click-to-chat link.
Your link looks like this:
https://wa.me/2348012345678 — where the number is your full phone number in international format, without the plus sign and without the leading zero. So a Nigerian number like 0801 234 5678 becomes wa.me/2348012345678.
You can also add a pre-filled message, so the customer arrives with a message already typed. Add
?text= followed by your message, with spaces written as %20. For example:
https://wa.me/2348012345678?text=Hello%2C%20I%20found%20you%20on%20your%20website%20and%20I%20have%20a%20question
That message tells you exactly where the customer came from, which helps you reply well.
Once you have the link, place it anywhere on your website where a visitor might want to talk to you: in your header, in your contact section, next to each product or service, and at the bottom of every page. Style it as a button with the WhatsApp green colour and the words "Chat on WhatsApp" so that nobody has to guess what it does. This method takes five minutes and requires no technical skill at all.
Method 2: The Floating Button (A Little Code)
If your website was built with code, or you have access to your site's files, you can add a floating WhatsApp button — the green circle with the WhatsApp logo that stays fixed in the corner of the screen as the visitor scrolls. This is the version you see on most modern business websites, and it gets more clicks than a normal link, because it is always visible.
The code is short. You add a link to your page that points to your
wa.me link, and you style it with CSS so it stays fixed in the bottom corner of the screen. Here is a simple version:
<a href="https://wa.me/2348012345678?text=Hello%2C%20I%20have%20a%20question" target="_blank" style="position: fixed; bottom: 20px; right: 20px; background: #25D366; color: #fff; padding: 14px 18px; border-radius: 50px; text-decoration: none; font-weight: bold; z-index: 1000;"> Chat on WhatsApp </a>
Paste that into your site's main layout file, just before the closing
</body> tag, and replace the number with yours. That is the whole job. If you want an icon instead of text, use the WhatsApp logo image inside the link, or an icon font if your site already uses one.
Method 3: The WordPress Plugin (No Code, More Features)
If your website runs on WordPress, there is an even easier route: a plugin. Search the WordPress plugin directory for "WhatsApp chat" and you will find several free options, such as Joinchat and Click to Chat. Install one, enter your phone number and your default message, choose the button position and style, and save. The plugin adds the floating button to every page of your site automatically.
Plugins also offer extras the simple link cannot: a small chat box that opens with a greeting message, a choice of different numbers for different departments, buttons that appear only on certain pages, and a count of how many people clicked. If you want those features, a plugin is the right choice. If you only need a simple button, Method 1 or 2 is enough.
Whichever plugin you choose, keep it updated, and do not install two WhatsApp plugins at once — they will fight over the same corner of the screen and confuse your visitors.
How to Make the Button Actually Get Clicked
Adding the button is the easy part. Getting visitors to click it is the real job. These details make the difference.
Use the right words. "Chat on WhatsApp" works better than "Contact us", because it tells the visitor exactly what will happen. If you want even more clicks, add a benefit: "Chat on WhatsApp — replies in minutes". That sets an expectation and gives the visitor a reason to tap now instead of later.
Show it at the right time. A button that is always visible is good. A button that appears with a small greeting after the visitor has been on the page for a few seconds is better. The greeting — "Hi, how can I help you today?" — feels like a person offering help, not a button waiting to be pressed. Do not show it immediately on page load, or it feels pushy. A few seconds of delay is right.
Put it on the pages where people decide. Your homepage, your services page, your product pages, your pricing page, and your contact page. These are the pages where a visitor has a question and is close to a decision. A button on a blog post is less important, but still useful — a reader who likes your article may want to hire you.
Make sure someone actually replies. This is the part people forget. A WhatsApp button that leads to a number nobody checks is worse than no button at all, because it promises a fast reply and delivers silence. Decide who in your business answers WhatsApp, and set up a greeting message and an away message in the WhatsApp Business app so that every visitor gets a response, even when you are busy. For a fuller picture of AI-powered support on WhatsApp, read How Nigerian Businesses Can Build AI-Powered WhatsApp Customer Support in 2026.
Common Mistakes to Avoid
The first mistake is using your personal number. Your website button should point to your business number — ideally a WhatsApp Business account, so you can use greeting messages, away messages, quick replies, and a catalogue. Mixing business and personal messages on one number gets messy fast.
The second mistake is a button that does not work on mobile. Most of your visitors are on phones, so test the button on a real phone, not just on your computer. Tap it, and make sure it opens WhatsApp with the right number and the right message.
The fourth mistake is forgetting to track it. You added the button to get more enquiries, so check whether it is working. Use a different pre-filled message for the website button than for your flyers or your social media, such as "Hello, I found you on your website". Then you will know exactly how many chats came from your site. If the number is low, try changing the button text, the position, or the greeting.
Frequently Asked Questions
Is it free to add a WhatsApp button to my website?
Yes. The link method and the code method are completely free. WordPress plugins that add a WhatsApp button are also free for the basic features, with paid upgrades for advanced options. You only pay if you hire someone to add it for you.
Will the button work if the visitor does not have WhatsApp installed?
If the visitor is on a phone without WhatsApp, the link will open the WhatsApp download page or show an error, depending on the device. In Nigeria, that is rare — almost every smartphone user has WhatsApp. Keep your contact form as a backup for the few who do not.
Can I use a different number for the button than my main business number?
Yes, and sometimes you should. If you have a sales team, you can point the button on your pricing page to your sales number and the button on your support page to your support number. Just make sure each number is actually monitored by someone who can reply.
Add It Today
This is a five-minute job with a real return. Pick your method — a simple link, a floating button, or a WordPress plugin — add your number, test it on your own phone, and publish it. Then watch your enquiries. Most businesses that add a WhatsApp button see the difference within a week, because they finally gave their visitors the easiest possible way to talk to them.
If your website needs more than a button — a redesign, faster loading, or a full setup that turns visitors into customers — explore our services or contact us. If you want to compare chat options before you decide, read how to add live chat to your website. We will be glad to help.
Get weekly tech insights
Join our newsletter for practical guides on web dev, AI tools, and digital marketing — sent every Monday.
No spam. Unsubscribe anytime.