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.
- Visit pageDesktop visitor lands from search or an ad
- Click WhatsApp buttonLink points to api.whatsapp.com/send
- Chat opensError, blank page or install prompt
- Message sentNever happens
- 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
Find the link
Right-click your WhatsApp button and choose Copy link address. Paste it into a text editor.
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.
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.
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.
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: 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>Edit the button
In the block editor, select the button, open the link field and replace the URL with the wa.me version.
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.
Edit theme content
Go to Online Store > Themes > Customize and find the section with the WhatsApp link. Replace the URL.
Check code and apps
In Edit code, search for api.whatsapp.com in theme files. If an app adds the button, change the link in the app settings.
Look for injected buttons
Open Tags and search for Custom HTML tags that add a chat button or rewrite links. Update any api.whatsapp.com URL inside them to wa.me.
Publish
Use Preview mode to test, then Submit and publish the container.
Edit the link
Select the button or link block, open Settings, and replace the URL in the Link settings with the wa.me address.
Check symbols and embeds
The link may also sit in a symbol or custom code embed. Search the project with Find in the Navigator or check Project Settings > Custom code.
Open the funnel or website page
Select the button element and update its link under the Button or Link settings to the wa.me URL.
Check shared sections
Update headers, footers and popups too, then save and republish.
Edit the button link
Select the button in the Editor, click the link icon, choose Web Address and paste the wa.me URL.
Check the WhatsApp app or widget
If you use a Wix chat or third-party widget, check its number and link settings, then publish.
Edit the button block
Open the page, edit the button, and set the URL to the wa.me link.
Check code injection
Look in Settings > Advanced > Code Injection for scripts that add a floating WhatsApp button.
Search the codebase
Search templates, components and scripts for api.whatsapp.com and replace each with a wa.me link.
Encode the message
Use encodeURIComponent for any dynamic text so spaces and symbols do not break the link.
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
- 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
- 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.
Related issues
- CNV-258WhatsApp link opens wrong numberFix guide
- CNV-259WhatsApp number no longer on WhatsAppFix guide
- CNV-260Prefilled WhatsApp message missingFix guide
- CNV-261Prefilled message has wrong product or broken encodingFix guide
- CNV-262WhatsApp button hidden on mobileFix guide
- CNV-268WhatsApp click not trackedFix guide