WhatsApp Button Not Working on Your Website: Fixes
Home  /  Blog

WhatsApp Button Not Working on Your Website: Fixes

The Short Answer: When a WhatsApp button is not working, the cause is usually the link, not WhatsApp. Check five things in order: the number is in international format (60 then the number, no zero, plus sign, spaces or dashes), the link uses https://wa.me/, the message text is URL-encoded, nothing on the page covers or blocks the button, and the number is still active on WhatsApp.

For many Malaysian businesses, the WhatsApp button is the main way a website turns a visitor into a lead. Customers here would rather send a quick message than complete a form. That makes a WhatsApp button not working an expensive problem: the visitor taps, nothing happens or the wrong chat opens, and they move on to the next result without telling you.

The worst part is that a broken button is silent. Your ads keep running, traffic looks normal and enquiries simply slow down. This guide from IZI Digital Marketing shows how to diagnose the fault, fix the link for Malaysian numbers, choose the right button set-up and check it every month. It belongs with our website design services, because most of these faults start at build time.

Not sure where your chat button is failing?

Send us your website address and the device where customers say the button breaks, and we will help you find the weak point before you spend more on traffic. Ask for a WhatsApp button check

The video below shows how a correct click-to-chat button is built on a WordPress site without a plugin. Watch it for the link structure, then use the rest of this guide to find out why yours is failing.

Building a WhatsApp Click-to-Chat Button Without a Plugin

Source video: Watch on YouTube

PART 1 · DIAGNOSE

Why Is My WhatsApp Button Not Working?

IN BRIEFStart with what the customer actually sees, because each symptom points to a different cause. “Nothing happens” is usually a script or layout problem; “number not on WhatsApp” is a formatting problem; a login screen is a device problem. Our guide to conversion rate optimisation explains why fixing these leaks comes before buying more traffic.

Before you change any code, reproduce the fault yourself. Open the page on an Android phone, an iPhone and a laptop, then tap the button on each. Write down exactly what happens, because the fix depends on the symptom:

  • Nothing happens on tap. The button is covered by another element, a script failed to load, or a cookie banner is blocking the widget.
  • “Phone number shared via URL is invalid”. The number in the link is in the wrong format, or it is no longer registered on WhatsApp.
  • The wrong chat opens. An old number is still saved in a plugin, theme setting or page builder widget.
  • A WhatsApp Web login screen appears. The visitor is on a computer without WhatsApp, or inside an app’s built-in browser.
  • The chat opens but the message is cut off. The pre-filled text contains characters that were not URL-encoded.

Most businesses only learn about the fault from a customer who called instead. That is why testing on three devices beats any plugin setting: it shows the fault the way your visitors meet it.

Bottom Line: Name the symptom before you touch the code. Five different faults hide behind the same complaint that “the button doesn’t work”.

BENCHMARK BRIEFING 1

WhatsApp Button Symptoms, Causes and Fixes

IN BRIEFSeven faults cover almost every broken WhatsApp button, and four of them are fixed in the link itself. The other three sit in the page: scripts, layout and consent tools. If a recent speed plugin broke your button, our website speed optimisation guide shows how to exclude scripts safely.

The table maps each symptom to its likely cause and the fix, based on WhatsApp’s own click-to-chat rules and common website set-ups.

Benchmark Briefing 1: WhatsApp Website Button Faults by Symptom, Cause and Fix, 2026
WhatsApp website button faults by symptom, cause and fix, 2026. Invalid number message: number not in international format, fix by using 60 plus the number without the leading zero, plus sign, spaces or dashes. Wrong chat opens: old number saved in a plugin or widget, fix by updating every place the number is stored. WhatsApp Web login screen: visitor on a computer without WhatsApp or in an in-app browser, fix by using https://wa.me/ links and offering a QR code or phone number on desktop. Message cut off: pre-filled text not URL-encoded, fix by encoding spaces and symbols. Nothing happens on tap: element covering the button, fix by checking stacking order. Button missing after optimisation: script delayed or combined by a speed plugin, fix by excluding the widget script. Button missing until consent: widget blocked by a cookie tool, fix by using a plain link. Compiled by IZI Digital Marketing from WhatsApp Help Centre click-to-chat rules and common website set-ups.
Symptom Likely cause Fix Where
“Invalid number” message Number not in international format 60 + number, no leading 0, +, spaces or dashes Link
Wrong chat opens Old number stored in a plugin or widget Update every place the number is saved Link
WhatsApp Web login screen Computer without WhatsApp, or an in-app browser Use https://wa.me/; show a QR code or number on desktop Link
Message cut off Pre-filled text not URL-encoded Encode spaces as %20 and symbols such as & and # Link
Nothing happens on tap Another element sits on top of the button Check the stacking order of sticky bars and pop-ups Page
Button gone after a speed fix Widget script delayed or combined Exclude the widget script from optimisation Page
Button missing until consent Cookie tool blocks the third-party widget Use a plain link that needs no script Page

Compiled by IZI Digital Marketing from the WhatsApp Help Centre article How to use click to chat and common WordPress and page-builder set-ups, checked October 2026. Rows are a diagnostic guide, not measured fault frequencies. Highlighted row is the most common link fault.

Notice the last column. Four of the seven faults live in the link, and a link is the cheapest thing on your site to fix. Start there before you call a developer about scripts.

Bottom Line: Fix the link first, the page second. Most broken buttons never need a developer.

PART 2 · DESIGN

How to Format a WhatsApp Link for a Malaysian Number

IN BRIEFA working Malaysian link looks like https://wa.me/60123456789: the country code 60, then the mobile number without its first zero, with no plus sign, spaces or dashes. The same number should appear in your ads, so the click data lines up with our WhatsApp click tracking set-up.

WhatsApp’s click-to-chat help article asks for the full number in international format, without zeros, brackets or dashes. For a Malaysian number, convert it like this:

How the number is written In the link Works?
012-345 6789 wa.me/60123456789 Yes
011-2345 6789 wa.me/601123456789 Yes
012-345 6789 wa.me/0123456789 No: missing 60, extra 0
+60 12-345 6789 wa.me/+60-12-345-6789 No: plus sign and dashes
012-345 6789 wa.me/600123456789 No: kept the leading 0

To add a greeting, append ?text= and the encoded message, for example wa.me/60123456789?text=Hi%2C%20I%20saw%20your%20website. A raw ampersand or hash sign in the message ends the text early, which is why messages arrive cut off.

Keep the number in one place if you can. A theme setting, a floating widget and a footer link that each store their own copy will drift apart the day you change phones.

Bottom Line: 60, then the number without its zero, nothing else. Get that right and most “invalid number” complaints disappear.

BENCHMARK BRIEFING 2

Phone or Computer: Where Malaysians Tap Your Button

IN BRIEFNearly every Malaysian adult uses a mobile phone, but about four in five also use a computer. So your button must work on both, and the computer is where it fails most often. Test both in the same session as part of the website design and development sign-off.

The chart uses DOSM’s latest household survey to show how many Malaysians aged 15 and above use each device.

Benchmark Briefing 2: Share of Malaysians Aged 15+ Using Mobile Phones, the Internet and Computers, 2023 vs 2024
Share of Malaysians aged 15 and above using ICT, 2023 versus 2024. Mobile phone: 99.4 per cent in 2023, 99.5 per cent in 2024. Internet: 97.7 per cent in 2023, 98.0 per cent in 2024. Computer: 80.4 per cent in 2023, 80.7 per cent in 2024. Source: Department of Statistics Malaysia, ICT Use and Access by Individuals and Households Survey Report 2024.
Device or service 2023 2024
Mobile phone 99.4% 99.5%
Internet 97.7% 98.0%
Computer 80.4% 80.7%

Source: Department of Statistics Malaysia, ICT Use and Access by Individuals and Households Survey Report 2024, individuals aged 15 and above, checked October 2026. Bars scaled so 100% equals the full column width of 70%.

The highlighted row is the one owners forget. Office workers often browse on a laptop during the day, and a laptop without WhatsApp Desktop or a logged-in WhatsApp Web session cannot open the chat directly. For B2B sites, that can be a large share of your daytime visitors.

Bottom Line: A button that only works on phones still loses the desktop visitor. Give laptop users a QR code or a visible number as a fallback.

THE DECISION

Plugin, Plain Link or Chat Widget: Which Is Most Reliable?

IN BRIEFThe simpler the button, the less there is to break. A plain wa.me link fails only when the number is wrong; a plugin or widget adds scripts, settings and updates. Choose more features only when you need routing or automation, which our review of whether chatbots lift conversions helps you weigh.

Many broken buttons were built with more machinery than the business needed. Match the set-up to how you handle chats:

DECISION BOX · CHOOSING A WHATSAPP BUTTON SET-UP

Option Best for What can break
Plain wa.me link or button One number, one person or team answering Number format only
WordPress chat plugin Several agents, office hours, page-specific messages Plugin updates, caching, theme conflicts
Third-party chat widget Teams on the WhatsApp Business Platform with a shared inbox External script, consent blocking, account billing

Verdict: Start with a plain link unless you can name a feature you need today. Add a plugin or widget when chat volume, not fashion, demands it.

Consultant’s Note: When a client wants a fancier chat widget, we ask who answers at 10 pm. A beautiful widget that leads to a two-hour wait performs worse than a plain link answered in five minutes. If replies are the bottleneck, a broadcast-style channel like the ones in our guide to Telegram channels for business in Malaysia may serve updates better than more chat.
Bottom Line: Reliability comes from fewer moving parts. Every script you add is one more thing to test.

PART 3 · DEPLOY

WhatsApp Button Not Working on Desktop, iPhone or Instagram

IN BRIEFWhen the button works on one device but not another, the cause is the environment, not the number. Desktops need WhatsApp installed or WhatsApp Web open; app browsers inside Instagram, Facebook and TikTok may not hand the link to WhatsApp. Influencer traffic, priced in our guide to influencer marketing rates in Malaysia, often arrives this way.

When you find the WhatsApp button not working on only one kind of device, use the fix for that environment:

  1. Desktop or laptop. A wa.me link opens a WhatsApp page that asks the visitor to open the WhatsApp desktop app or use WhatsApp Web. Show a QR code of your wa.me link beside the button so laptop users can scan it with their phone.
  2. iPhone. Replace old whatsapp://send links with https://wa.me/. The app-scheme link fails silently when the browser blocks it, while the web link always lands somewhere useful.
  3. Instagram, Facebook or TikTok in-app browser. These built-in browsers may load the WhatsApp web page instead of the app. Add a short line such as “Not opening? Tap the menu and open in your browser”, plus your number in plain text.
  4. Android with two WhatsApp apps. Phones with both WhatsApp and WhatsApp Business may ask which app to use. That is normal; just make sure your number is on the Business app.
  5. Any device after a site update. Clear your cache plugin, then test in a private window, because cached pages can keep serving an old, broken button.

If the button works everywhere except on paid traffic, check your ad’s destination too. Click-to-WhatsApp ads open the chat directly and do not touch your website button at all.

Bottom Line: Every environment needs a fallback. A QR code and a visible number cost nothing and rescue the visitors the link cannot reach.

BENCHMARK BRIEFING 3

How Many Enquiries Does a Broken WhatsApp Button Cost?

IN BRIEFEven a partial fault adds up. On a site with 5,000 monthly visitors and a 2% tap rate, a desktop-only failure can lose around 25 chats a month, and a wrong number loses all 100. Measure your real tap rate first with our Google Tag Manager setup guide.

The model shows how many chat attempts a month each fault would block on one example website.

Benchmark Briefing 3: Chat Attempts Lost per Month by Button Fault, Example Site with 5,000 Visitors
Chat attempts lost per month by button fault, illustrative model for a site with 5,000 monthly visitors and an assumed 2 per cent tap rate, giving 100 taps a month. Wrong or invalid number: 100 lost. Button covered or script blocked: 100 lost. Desktop visitors without WhatsApp, assumed 25 per cent of taps: 25 lost. In-app browser fault, assumed 15 per cent of taps: 15 lost. Message text cut off: 0 lost, but the first message is unclear. Illustrative model by IZI Digital Marketing; tap rate and device shares are assumptions, not measured data.
Fault Share of taps affected Chats lost per month
Wrong or invalid number All 100
Button covered or script blocked All 100
Desktop without WhatsApp 25% (assumed) 25
In-app browser fault 15% (assumed) 15
Message text cut off All, but chat still opens 0 lost; unclear first message

Illustrative model by IZI Digital Marketing, built on an example site with 5,000 monthly visitors and an assumed 2% button tap rate (100 taps a month). Device shares are assumptions informed by the computer-use gap in DOSM’s ICT survey 2024; replace them with your own analytics. Bars scaled to 100 chats.

Swap in your own traffic and tap rate and the shape stays the same. Total faults are rare but catastrophic; partial faults are common and invisible. Both deserve a monthly test.

Bottom Line: Put a number on the leak. Once you know a fault costs 25 chats a month, a ten-minute fix stops feeling optional.

Want to know how many chats your site is really losing?

Share your monthly traffic and how you track WhatsApp taps today, and we will help you size the leak and decide what to fix first. Get a lead-leak estimate

PART 3 · DEPLOY

Malaysian Rules for a Website WhatsApp Button: PDPA and Consent

IN BRIEFA customer who messages you through the button is asking about one thing, not agreeing to every promotion you send later. Treat each new chat as personal data under the PDPA, and ask before adding the number to a broadcast list, as our guide to WhatsApp blasts in Malaysia explains.

Three rulebooks apply once the button starts working:

The practical rule is simple. Answer the question the customer asked, then ask permission before sending anything else. A number restricted for spam will break your button more thoroughly than any coding fault.

Bottom Line: A working button starts a conversation, not a mailing list. Earn the opt-in inside the chat.

BENCHMARK BRIEFING 4

Mobile Broadband Growth in Malaysia, 2020 to 2024

IN BRIEFMobile broadband penetration passed 130 subscriptions per 100 people in 2022 and has stayed there, while fixed broadband reaches about half of premises. Your WhatsApp button is a mobile-first tool on a mobile-first network, so treat it as core site design, like the fixes in our guide to Google tag detection problems.

The time series compares mobile and fixed broadband penetration, as published by MCMC and compiled in DOSM’s report.

Benchmark Briefing 4: Mobile vs Fixed Broadband Penetration Rate in Malaysia, 2020 to 2024
Mobile versus fixed broadband penetration rate in Malaysia, 2020 to 2024. Mobile broadband per 100 inhabitants: 118.7 in 2020, 126.4 in 2021, 131.0 in 2022, 134.5 in 2023, 131.1 in 2024. Fixed wired broadband per 100 premises: 37.2 in 2020, 40.8 in 2021, 47.6 in 2022, 50.6 in 2023, 48.7 in 2024. Source: MCMC Communications and Multimedia Pocket Book of Statistics, as compiled in DOSM ICT Use and Access by Individuals and Households Survey Report 2024, Table 4.8.
Year Mobile broadband (per 100 people) Fixed broadband (per 100 premises)
2020 118.7 37.2
2021 126.4 40.8
2022 131.0 47.6
2023 134.5 50.6
2024 131.1 48.7

Source: MCMC Communications and Multimedia Pocket Book of Statistics, as compiled in Table 4.8 of DOSM’s ICT Use and Access by Individuals and Households Survey Report 2024, checked October 2026. Mobile rates exceed 100 because many people hold more than one subscription. Bars scaled so 134.5 equals 70% width.

The highlighted year marks the peak so far. Malaysians reach the internet mainly through mobile connections, and that is where the tap on your WhatsApp button happens. A button tested only on the office PC is tested on the minority path.

Bottom Line: Design for the phone, fall back for the laptop. That order matches how Malaysia actually connects.

PART 4 · DRIVE

How to Test and Monitor Your WhatsApp Button

IN BRIEFA button that worked at launch can break after any plugin update, theme change or new number. A monthly ten-minute test plus a tap counter in analytics catches faults before customers do. Once it works, a verified profile reassures the people who tap, as our guide to WhatsApp green tick steps explains.

Build this check into your monthly website routine:

  1. Tap the button on three devices. An Android phone, an iPhone and a laptop, on your homepage and your top landing page.
  2. Check the number and greeting. Confirm the chat opens to the right number and the pre-filled text arrives in full.
  3. Test from a social app. Open your site link from your own Instagram or Facebook bio and tap the button inside the in-app browser.
  4. Watch the tap count. Track clicks on wa.me links as an event in Google Analytics 4. A sudden drop to zero is your earliest warning.
  5. Re-test after every change. Plugin updates, cache settings, cookie banners and new pop-ups are the usual culprits.

Keep your WhatsApp account healthy too. A number that is restricted or banned breaks every button on the site at once, so follow our WhatsApp ban recovery and prevention guide if chats stop arriving for no obvious reason.

Bottom Line: Test monthly, track daily. The cheapest fault to fix is the one you find before a customer does.

FAQ

Frequently Asked Questions

1. Why does my WhatsApp button say the phone number is invalid?

The number in the link is almost always in the wrong format. It depends on how it was typed, but a Malaysian link must start with 60 and drop the first zero, with no plus sign, spaces or dashes, for example wa.me/60123456789.

2. Why does the WhatsApp button open WhatsApp Web instead of the app?

Because the visitor is on a computer or inside an app’s built-in browser. It depends on the device, but desktops need WhatsApp installed or WhatsApp Web signed in, and Instagram or Facebook browsers may not pass the link to the app.

3. Why does nothing happen when I tap the WhatsApp button?

Usually something on the page is blocking it. It depends on your set-up, but a sticky bar or pop-up covering the button, a speed plugin delaying the script or a cookie banner blocking the widget are the common causes.

4. Should I use wa.me or api.whatsapp.com for my button?

Use wa.me for most websites. It depends on your tools, because both formats are recognised by WhatsApp, but wa.me is shorter, easier to check by eye and is the format WhatsApp’s own help article shows.

5. Do I need a plugin to add a WhatsApp button to WordPress?

No. It depends on your needs, because a plain link styled as a button works with no plugin; a plugin only makes sense when you need several agents, office hours or page-specific messages.

6. Why is the message in my WhatsApp link cut off?

The pre-filled text was not URL-encoded. It depends on which characters you used, but spaces, ampersands and hash signs must be encoded, otherwise WhatsApp reads only the text before the first problem character.

7. How do I know if my WhatsApp button stopped working?

Track it rather than wait for complaints. It depends on your analytics, but a click event on wa.me links in Google Analytics 4 shows a sudden drop, and a monthly test on three devices confirms the fault.

Want every tap to turn into a conversation?

Book a free Blueprint consultation. We will check how your WhatsApp button behaves on phones, laptops and social apps, decide the simplest reliable set-up and plan the tracking that tells you when it breaks.

Book my free consultation

Have a campaign in mind? Let's talk.