Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Prefilled WhatsApp message missing: how to find and fix it

CNV-260Medium impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A WhatsApp click-to-chat link can open a chat with some text already typed in the message box. That text is the prefilled message. It is set with the text parameter, for example https://wa.me/15551234567?text=Hi%2C%20I%20have%20a%20question.

This issue means the link or widget has no prefilled message. The visitor lands in an empty chat with your number and has to think of what to write. The link still works, so nobody notices it by eye in a quick check.

Why it costs you leads or sales

An empty message box adds friction at the last step. Some visitors do not know what to write, so they close the chat. Others send a vague "Hi" that tells you nothing about the page, product or offer they came from.

A prefilled message fixes both. It gives the visitor a ready first message to send with one tap. It also tells your team what the person wants, such as the product name or the page they were on, so replies are faster and more relevant.

Where an empty WhatsApp message loses people
  1. Visitor taps buttonIntent is high
  2. WhatsApp opensCorrect number
  3. Empty message boxNo text prefilled
  4. Message sentFewer visitors reach this
  5. Lead qualifiedNo context for your team

The click works, but the chat opens with nothing typed, so some visitors stop before sending.

Chats started per 100 button tapsExample numbers
Chats started per 100 button taps (example)Empty message box: 55 chats; Prefilled message: 75 chats029585575Empty message boxPrefilled messagechats

Example: illustrative numbers only. A prefilled message often means more taps turn into sent messages.

How to check if your site has it

Check the link by hand
  1. Open the page on your phone

    Tap the WhatsApp button. If the chat opens with an empty message box, there is no prefilled text.

  2. Repeat on desktop

    Click the button on a computer. WhatsApp Web or the desktop app should show the same text in the box.

  3. Inspect the link

    Right-click the button, choose Inspect, and find the href. Look for ?text= after the number. If it is absent, the message is missing.

  4. Check every placement

    Header, sticky floating button, product pages, thank-you pages and popups can each use a different link or widget setting.

How to fix it

The format is https://wa.me/<number>?text=<encoded message>. The number uses the full international format with digits only: no +, spaces, dashes or leading zeros. The message must be URL-encoded: a space becomes %20, a line break %0A, and a comma %2C.

WhatsApp link with a prefilled messagehtml
<a href="https://wa.me/15551234567?text=Hi%2C%20I%27d%20like%20to%20know%20more%20about%20your%20services">Chat on WhatsApp</a>
Add the message on your platform
  1. Open your chat plugin settings

    Most WhatsApp chat plugins have a field called something like default message or pre-filled text. Fill it in and save. Field names vary by plugin.

  2. Or edit a manual button

    In the block or Elementor button, set the link to the wa.me URL with ?text= and your encoded message.

  3. Clear caches

    Purge your caching plugin and CDN so visitors get the updated link.

Build the link with correct encodingjavascript
const number = '15551234567';
const message = 'Hi, I have a question about ' + document.title;
const url = 'https://wa.me/' + number + '?text=' + encodeURIComponent(message);
document.querySelector('#whatsapp-btn').href = url;
WhatsApp link before and after

Before

  • Link is https://wa.me/15551234567
  • Chat opens with an empty box
  • Messages arrive as a bare "Hi" or not at all

After

  • Link adds ?text= with an encoded message
  • Chat opens with text ready to send
  • Your team sees what the visitor wants

How to confirm it's fixed

Confirm the fix
  • Tap the button on an iPhone or Android phone and see the text in the message box
  • Click it on desktop and see the same text in WhatsApp Web or the app
  • Check spaces, accents and apostrophes show correctly, not as %20 or odd symbols
  • Test the header, floating button, product pages and popups
  • Test in a private window so cached pages do not hide the old link

How to prevent it happening again

Theme updates, plugin updates and page rebuilds can reset the default message to empty. Keep the link in one place, such as a single reusable button or global setting, so there is one thing to maintain. Note the intended message in your launch checklist. Re-test the button after any change to the theme, chat plugin or page builder.

How FunnelGuard handles this

FunnelGuard detects this issue today. Its robot visitor loads your page on a schedule, finds the WhatsApp click-to-chat button and checks the link for a prefilled message default. If the text parameter is missing or empty, you get an alert with a screenshot and a likely cause. A failure is re-checked from a second region before one alert goes out.

The check looks at the link, not at the real chat. FunnelGuard does not send messages through your WhatsApp number. You can start on the Free plan (1 site, 2 journeys, daily checks, no card), or try any paid plan free for 3 days.

Questions people ask

Why does my WhatsApp button open an empty chat?

The link has no text parameter, or the chat plugin's default message field is empty. WhatsApp only fills the message box when the link includes ?text= followed by an encoded message.

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

Add ?text= to the end of your https://wa.me/NUMBER link, then your message with URL encoding. For example, https://wa.me/15551234567?text=Hi%2C%20I%20have%20a%20question.

Why is the wa.me text parameter not working?

Common causes are unencoded spaces or special characters, a number with a + or spaces, a cache serving the old link, or a plugin overriding the URL. Encode the message with encodeURIComponent and test in a private window.

How do I put a line break in a prefilled WhatsApp message?

Use %0A in the encoded text. For example, ?text=Hi%0AI%20need%20a%20quote puts the second sentence on a new line.

Can the prefilled message include the product or page name?

Yes. Build the link with the product title or page title, URL-encoded. In Shopify Liquid use url_encode, and in JavaScript use encodeURIComponent.

Does the visitor have to send the prefilled message?

Yes. WhatsApp only places the text in the message box. The visitor must tap send, and they can edit the text first.

How can I monitor whether my WhatsApp link still has its message?

Test it by hand after every change, or use FunnelGuard, which checks the WhatsApp link for a prefilled message default on a schedule and alerts you if it goes missing.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: prefilled message default.

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.