How to Add a WhatsApp Business Button to Your Kenyan Website

Walk into any conversation with a Kenyan small business owner about their website and, sooner or later, they’ll say something like “but most of my customers just WhatsApp me anyway.” Fair enough — WhatsApp is where business actually happens for a huge number of Kenyan SMEs, from a boutique in Westlands to a hardware supplier in Kisumu. So instead of treating your website and WhatsApp as competitors, put them to work together.
A WhatsApp button on your website closes the gap between someone finding you on Google and someone actually reaching you. Forms get ignored. Emails sit unread for days. But a WhatsApp message? People check those within minutes. Here’s how to add one properly, without needing to hire a developer.
Option 1: The Simple Link Method (Free, 5 Minutes)
WhatsApp supports what’s called a “click to chat” link, and you don’t need any plugin or app to make one. The format looks like this:
https://wa.me/254712345678
Replace the digits with your business number in international format — start with 254 (Kenya’s country code) and drop the leading zero. So 0712 345 678 becomes 254712345678. You can even pre-fill a message customers will see when they tap the button, by adding ?text= followed by your message, like:
https://wa.me/254712345678?text=Hi%2C%20I%27d%20like%20to%20ask%20about%20your%20services
That’s it — that’s a working WhatsApp link. Paste it anywhere: a button, a menu item, your email signature. The tricky part is making it look like a proper button instead of a plain text link, which is where the next two methods come in.
Option 2: WordPress Plugin (Easiest for Most Kenyan Businesses)
If your site runs on WordPress — and a large share of Kenyan business sites do — there are free plugins built exactly for this. “WhatsApp Chat” and “Click to Chat” are two solid, well-reviewed options in the WordPress plugin directory. Installing one takes about ten minutes:
- Go to Plugins → Add New in your WordPress dashboard
- Search for “WhatsApp Chat”
- Install and activate your chosen plugin
- Enter your phone number in the 254 format
- Customize the button color, position (usually bottom-right), and pre-filled greeting message
- Save and check your site on both desktop and mobile
Most of these plugins also let you add a small “Hi there, need help?” popup bubble that appears after a few seconds on the page — this consistently gets more clicks than a plain floating icon because it feels less like an ad and more like an actual person is available.
Option 3: A Few Lines of Custom Code
If you built your site with HTML or want more control over the design, you can drop in a floating button yourself. A basic version looks like this in your site’s footer:
<a href=”https://wa.me/254712345678″ class=”whatsapp-float” target=”_blank”>Chat with us</a>
Then style it with CSS to fix it to the bottom corner of the screen with the WhatsApp green (#25D366) background. This is the route we’d suggest only if you’re comfortable editing your site’s code directly, or if you’re working with a developer already — otherwise the plugin route gets you the same result faster.
Where to Put It (and Where Not To)
A floating button that follows visitors down the page as they scroll converts far better than a static link buried in your Contact page. People shouldn’t have to hunt for it. That said, don’t overdo it — one clearly visible WhatsApp button is plenty. Stacking a WhatsApp button, a Messenger button, a live chat widget, and a phone icon all at once just clutters the screen and makes visitors less likely to click any of them.
Set Expectations With Your Message
A pre-filled message does two useful things: it lowers the effort for the customer (they just hit send) and it tells you immediately what they’re contacting you about, since you can customize the text per page. A product page might pre-fill “Hi, I’d like to know more about [Product X]” while your general contact page uses something more open-ended.
Also worth doing: set up WhatsApp Business (not your personal WhatsApp) if you haven’t already. It’s free, gives you a business profile with your hours and location, and lets you set an automated away message for after-hours enquiries — useful when someone messages you at 11pm from Nakuru while you’re asleep.
A Word on Hosting and Speed
Chat plugins are lightweight, but piling on too many plugins of any kind will slow your site down, and a slow site loses visitors before they ever see your WhatsApp button. If your site already feels sluggish, that’s usually a hosting issue rather than a plugin problem — worth checking your hosting plan if pages are taking more than two or three seconds to load.
Adding WhatsApp to your website isn’t about replacing your contact form — it’s about meeting Kenyan customers where they already are. For a lot of businesses here, that one green button ends up generating more direct enquiries than every other contact method on the page combined.