Skip to content
FunnelGuard

Fix guide by FunnelsGuard

WhatsApp link breaks on desktop: fix api.whatsapp.com links

CNV-263Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

WhatsApp offers a click-to-chat link that opens a conversation with your number. There are two common formats. The short one is https://wa.me/15551234567. The older, longer one is https://api.whatsapp.com/send?phone=15551234567.

The long form is often pasted in from old tutorials, plugins or themes. On phones it usually hands off to the app. On desktop it depends on the browser, whether WhatsApp Desktop is installed and whether the link is built correctly. Visitors can end up on a page that does not start a chat.

Why it costs you leads or sales

Desktop visitors often browse at work and compare options before they message. If the chat button fails, many will not look for another way to contact you. You lose a warm enquiry without any error showing in your analytics.

The impact is rated low because the link often still works on mobile, and many visitors can use other contact options. It matters most when WhatsApp is your main contact channel or when you send desktop ad traffic to a page where the button is the only call to action.

Where a desktop visitor drops out
  1. Visit pageDesktop visitor lands from search or an ad
  2. Click WhatsApp buttonLink points to api.whatsapp.com/send
  3. Chat opensError, blank page or install prompt
  4. Message sentNever happens
  5. Lead or saleNo conversation to follow up

The chat never starts, so every later step is lost.

How to check if your site has it

Check your WhatsApp links
  1. Find the link

    Right-click your WhatsApp button and choose Copy link address. Paste it into a text editor.

  2. Read the format

    If it starts with api.whatsapp.com/send, it uses the older format. If it starts with wa.me/, it uses the short format.

  3. Search your page source

    Open the page, press Ctrl+U (Cmd+Option+U on Mac) and search for whatsapp. Check floating chat widgets, footers and popups too, not only the main button.

  4. Test on desktop

    Click the button in Chrome, Safari or Edge on a computer, ideally with and without WhatsApp Desktop installed. Note whether a chat or WhatsApp Web opens.

  5. Test on mobile

    Repeat on an iPhone and an Android phone. The chat should open in the app with the right number.

How to fix it

Use the wa.me format. Write the number in full international format, with the country code, and no plus sign, spaces, dashes or brackets. Add a prefilled message with ?text= if you want one, and URL-encode it.

Before and afterhtml
<!-- Before: older format -->
<a href="https://api.whatsapp.com/send?phone=+1 (555) 123-4567">Chat on WhatsApp</a>

<!-- After: short format -->
<a href="https://wa.me/15551234567?text=Hi%2C%20I%20have%20a%20question" target="_blank" rel="noopener">Chat on WhatsApp</a>
Change the link on your platform
  1. Edit the button

    In the block editor, select the button, open the link field and replace the URL with the wa.me version.

  2. Check theme and plugin settings

    If the button comes from a chat plugin or theme option, change the number or link format in its settings. If the plugin only outputs api.whatsapp.com, check for an update or use a custom link button instead.

Link format

Older format

  • api.whatsapp.com/send?phone=...
  • Number often pasted with plus sign or spaces
  • Desktop behaviour varies by browser and app

Short format

  • wa.me/15551234567
  • Digits only, with country code
  • Same link works on desktop and mobile

How to confirm it's fixed

After the change
  • The copied link address starts with https://wa.me/
  • The number has the country code and digits only
  • Clicking on desktop opens WhatsApp Web or the desktop app with the right chat
  • Clicking on iPhone and Android opens the app with the right chat
  • Prefilled text, if used, appears correctly
  • No other page, popup or widget still contains api.whatsapp.com

How to prevent it happening again

Habits that keep links healthy
  • Use wa.me for every new WhatsApp link and add it to your team's style notes
  • Keep the number in one place, such as a theme setting, and reuse it
  • Re-test the button on desktop after theme, plugin or page builder updates
  • Check the link when you launch a new landing page or ad campaign
  • Search the site source for api.whatsapp.com once a quarter

How FunnelGuard handles this

FunnelGuard does not check this yet. A link format check for api.whatsapp.com versus wa.me is a possible future check, not something it does today.

What FunnelGuard does today is run your real customer journeys, such as lead forms, checkouts and booking and chat buttons, from the EU or the US on a schedule, and check each step. If a journey that includes a chat button breaks, that is the kind of failure it re-checks from a second region before sending one alert with a screenshot and a likely cause. It does not specifically inspect which WhatsApp URL format you use.

Until then, watch for it manually: copy the link address monthly, search your page source for api.whatsapp.com, and click the button on a desktop browser after site changes. A free read-only website audit is available if you want a broader look at your site.

Questions people ask

Why is my WhatsApp link not working on desktop?

The link may use the older api.whatsapp.com/send format, or the number may include a plus sign, spaces or missing country code. On desktop, browsers handle this less smoothly than phones. Switch to https://wa.me/ followed by the number in digits only.

What is the difference between wa.me and api.whatsapp.com?

Both start a WhatsApp chat. wa.me is the short, recommended click-to-chat format, while api.whatsapp.com/send is an older, longer form with query parameters. The short format is simpler and less prone to formatting mistakes.

How do I create a WhatsApp link that works on desktop and mobile?

Use https://wa.me/ plus your full international number with no plus sign, spaces or dashes, for example https://wa.me/15551234567. Optionally add ?text= with a URL-encoded message. Test it on both a computer and a phone.

Should I include the plus sign in a wa.me number?

No. Use only digits, starting with the country code. Leave out the plus sign, brackets, dashes, spaces and any leading zeros of the local number.

How do I add a prefilled message to a WhatsApp link?

Add ?text= after the number and URL-encode the message, so spaces become %20. For example https://wa.me/15551234567?text=Hi%20there. Test it, as special characters can break the text.

Why does my WhatsApp button show a download page on desktop?

The visitor may not have WhatsApp Desktop installed and the link may not route cleanly to WhatsApp Web. A wa.me link is the standard format to use. Check the number is correct and test in several browsers.

Does FunnelGuard check my WhatsApp link format?

No. FunnelGuard does not check the WhatsApp link format yet; it is a possible future check. You can check it manually by inspecting the link and clicking it on desktop and mobile.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.