Skip to content
FunnelGuard

Fix guide by FunnelsGuard

WhatsApp prefilled message missing campaign tag: how to fix it

TRK-257Low impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A WhatsApp click-to-chat link looks like https://wa.me/15551234567?text=Hello. The text value is the prefilled message: the words already typed into the chat box when the visitor lands in WhatsApp. If that text is empty, or the same generic line for every visitor, nothing in the chat says where the person came from.

Why it costs you leads or sales

The chat still happens, so you do not lose the lead directly. You lose the knowledge of what produced it. Chats get logged as 'direct' or 'unknown', so budget decisions lean on the channels that are easier to measure. Impact is low per lead but grows with the share of your enquiries that come through WhatsApp.

Where the source is lost
  1. Ad clickURL has utm_campaign
  2. Landing pageWhatsApp button shown
  3. wa.me linktext has no source tag
  4. WhatsApp chatMessage says only 'Hello'
  5. CRM recordSource: unknown

The visitor arrives with campaign data, but the prefilled message carries none of it into WhatsApp.

How to check if your site has it

Check your WhatsApp links
  1. Open the page from a tagged URL

    Add ?utm_source=google&utm_campaign=test-tag to the page address and load it.

  2. Inspect the button

    Right-click the WhatsApp button, choose Inspect and read the href. Look for wa.me or api.whatsapp.com/send.

  3. Read the text parameter

    Is text= missing, empty or the same generic line? Does it contain your campaign value?

  4. Click it on a phone

    Confirm the chat opens with the message you expect, including the tag.

  5. Check floating widgets too

    Chat plugins and footer links often have their own link settings. Test each one.

How to fix it

Pick a short tag format your team can read at a glance, for example Ref: google / spring-sale. Keep it short, because it is visible to the visitor and they can delete it. The link text must be URL-encoded: spaces become %20 and a slash becomes %2F.

Static tagged linkhtml
<a href="https://wa.me/15551234567?text=Hi%2C%20I%27d%20like%20a%20quote.%20Ref%3A%20spring-sale">Chat on WhatsApp</a>
Fill the tag from the page's UTM valuesjavascript
document.addEventListener('DOMContentLoaded', function () {
  var p = new URLSearchParams(window.location.search);
  var src = p.get('utm_source') || 'direct';
  var camp = p.get('utm_campaign') || 'none';
  var msg = 'Hi, I would like some help. Ref: ' + src + ' / ' + camp;
  document.querySelectorAll('a[href*="wa.me"]').forEach(function (a) {
    var url = new URL(a.href);
    url.searchParams.set('text', msg);
    a.href = url.toString();
  });
});
Where to edit the link
  1. Find the link source

    It may be a button block, a theme option or a chat plugin. Edit the URL or the plugin's default message field.

  2. Add the text parameter

    Use the static link for one campaign, or add the script through a header/footer code plugin for dynamic tags.

Prefilled message

Before

  • Link: wa.me/15551234567
  • Chat opens empty or with 'Hello'
  • CRM source: unknown

After

  • Link has an encoded text parameter
  • Chat opens with 'Ref: google / spring-sale'
  • Agent logs the source in the CRM

How to confirm it's fixed

Fix confirmation
  • Load the page with test UTMs and inspect the button href
  • The text parameter contains your tag with the right values
  • Tapping the button on a phone opens WhatsApp with the tag in the box
  • Every WhatsApp button and widget on the site was tested, not just one
  • The message still reads naturally to a real visitor
  • Your team knows where to record the tag in the CRM

How to prevent it happening again

Links get overwritten when a theme updates, a plugin is replaced or a page is rebuilt. Keep the link format in one place, note the tag convention in your launch checklist, and retest WhatsApp buttons after any template or plugin change. Also have agents copy the tag into the CRM when they reply, otherwise the data stays in the chat.

How FunnelGuard handles this

FunnelGuard detects this issue today with a prefilled message check. A robot visitor opens your page, finds the WhatsApp link and reads the prefilled message to see whether a campaign or source tag is present. If it is missing, you get an alert with a screenshot and a likely cause. FunnelGuard does not send WhatsApp messages for you or read your chats. The free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans start with a 3-day free trial.

WhatsApp chats with a known sourceExample numbers
WhatsApp chats with a known source (example)Before: 5 %; After: 70 %02754570BeforeAfter%

Example: share of WhatsApp enquiries with a known source before and after adding the tag.

Questions people ask

Can I pass UTM parameters into WhatsApp automatically?

Not directly. WhatsApp does not carry your page's UTM values into the chat. The usual workaround is to read the UTMs on your site and write a short tag into the text parameter of the wa.me link.

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

Add ?text= to the end of your wa.me link, followed by your URL-encoded message. For example, https://wa.me/15551234567?text=Hello%20Ref%3Aspring-sale.

Why does my WhatsApp chat show where the lead came from?

It only does if the prefilled message contains a tag. Without a text parameter, the chat opens empty and there is no source information in WhatsApp.

Can visitors remove the tag from the prefilled message?

Yes. The text is just typed into the chat box, so a visitor can edit or delete it before sending. Keep the tag short and unobtrusive so most people leave it.

Does the prefilled text work on WhatsApp Web and desktop?

Generally yes. The wa.me link opens WhatsApp on phones and WhatsApp Web or the desktop app on computers, with the text prefilled. Test on both because behaviour can vary by device.

What should I put in the source tag?

Use a short readable string such as the source and campaign, for example Ref: google / spring-sale. Avoid personal data and long strings, and match the naming to your UTM conventions.

How does FunnelGuard detect a missing WhatsApp source tag?

It runs a prefilled message check: a robot visitor loads your page, reads the WhatsApp link and checks whether the message contains a campaign or source tag. If not, it alerts you with a screenshot and a likely cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: prefilled message check.

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.