Skip to content
FunnelGuard

Fix guide by FunnelsGuard

WhatsApp click not tracked as an event: how to find and fix it

TRK-256Medium impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A WhatsApp click is a visitor tapping a button or link that opens a chat with your business. The link usually points to https://wa.me/yourNumber or https://api.whatsapp.com/send. The chat happens inside WhatsApp, not on your site, so your analytics cannot see it unless you record the click yourself.

Why it costs you leads or sales

Without the event, WhatsApp chats are invisible in your reports. Campaigns that drive chats look weak, so you may cut budget on them. Ad platforms also get no conversion signal, so their bidding cannot learn which clicks and audiences lead to conversations.

Where the WhatsApp journey goes dark
  1. Ad clickVisitor arrives with UTMs or gclid
  2. Landing pageSees the WhatsApp button
  3. WhatsApp clickNo event sent
  4. Conversion in ad platformNever recorded
  5. Campaign reportShows no chats

The visitor does everything right, but the click is never sent to your tools.

Chats you can see vs chats that happenExample numbers
Chats you can see vs chats that happen (example)Real chats started: 120 chats per month; Reported before fix: 0 chats per month; Reported after fix: 120 chats per month046921200120Real chats startedReported before fixReported after fixchats per month

Example: 120 visitors open WhatsApp from a campaign, but with no click event reports show 0. After the fix, reports show the same 120.

How to check if your site has it

Check whether the click is tracked
  1. Find your WhatsApp links

    Open the page, right-click the button and choose Inspect. Note whether the link uses wa.me, api.whatsapp.com or web.whatsapp.com, or if a chat widget plugin opens WhatsApp with JavaScript.

  2. Open GA4 DebugView

    In GA4 go to Admin > DebugView, or use Tag Assistant preview in Google Tag Manager. Click the WhatsApp button on your site.

  3. Look for an event

    You should see a custom event such as whatsapp_click. If you only see a generic click or nothing, the event is missing.

  4. Check the ad platforms

    Use Meta Pixel Helper and Google Tag Assistant to see whether a Contact event or a Google Ads conversion fires on the click.

  5. Check the click on mobile

    Test on a phone too. Some widgets use different markup on mobile, so the trigger may match on desktop only.

How to fix it

The fix is the same everywhere: listen for clicks on WhatsApp links, send an event, and mark that event as a conversion. Pick the route that matches how your site is built.

Add a WhatsApp click event
  1. Turn on click variables

    In Variables > Configure, enable Click URL and Click Element built-in variables.

  2. Create a trigger

    New trigger of type Click - Just Links. Choose Some Link Clicks, and set Click URL matches RegEx wa\.me|api\.whatsapp\.com|web\.whatsapp\.com.

  3. Create the GA4 event tag

    New GA4 Event tag, event name whatsapp_click, with this trigger. Add a parameter such as link_url set to the Click URL variable.

  4. Add ad platform tags

    Add a Google Ads conversion tag and a Meta Contact event tag (or other platform tags you use) on the same trigger. Respect your consent settings.

  5. Preview and publish

    Test in Preview mode, then publish the container.

Send an event when a WhatsApp link is clickedjavascript
document.addEventListener('click', function (e) {
  var link = e.target.closest('a[href]');
  if (!link) return;
  var href = link.getAttribute('href');
  if (!/(wa\.me|api\.whatsapp\.com|web\.whatsapp\.com)/i.test(href)) return;
  window.dataLayer = window.dataLayer || [];
  window.dataLayer.push({
    event: 'whatsapp_click',
    link_url: href
  });
});

How to confirm it's fixed

Confirmation checklist
  • GA4 DebugView shows whatsapp_click when you click the button
  • The event is marked as a key event in GA4
  • Google Ads or Meta Pixel Helper shows the conversion or Contact event firing
  • The event fires once per click, not twice
  • It works on mobile and on every page that has the button
  • After consent is granted, tags fire; before it, they stay blocked
Before and after

Before

  • Click opens WhatsApp and nothing else happens
  • Reports show no chats from campaigns
  • Ad platforms get no conversion signal

After

  • Click sends whatsapp_click to GA4
  • Ad platforms record a conversion or Contact event
  • You can compare campaigns by chats started

How to prevent it happening again

Tracking often breaks when someone swaps the chat widget, redesigns the page, or changes the link format. A new button may no longer match your trigger. Keep a note of which selector or URL pattern your trigger uses, and retest after any change to the button, theme or tag setup.

Keep it working
  • Match on the link URL, not on a button class that can change
  • Retest after theme, plugin or widget updates
  • Review GTM changes before publishing
  • Test on mobile after each release

How FunnelGuard handles this

FunnelGuard detects this issue today. A robot visitor runs your journey on a schedule, clicks the WhatsApp button, and checks whether the expected tracking hits are sent to your ad and analytics platforms. If the click does not produce the event, the failure is re-checked from a second region, then you get one alert with a screenshot and a likely cause. The check runs with default settings. Test traffic is marked with utm_source=funnelguard and fg_test=1, and it never clicks real ads.

The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans have a 3-day free trial, and a free read-only website audit is available too.

Questions people ask

Why is my WhatsApp click not showing in GA4?

Usually no event is set up for it. WhatsApp opens outside your site, so GA4 only sees the click if you send an event, such as whatsapp_click, through GTM or code. Check DebugView while clicking the button to confirm.

How do I track WhatsApp button clicks in Google Tag Manager?

Create a Click - Just Links trigger where Click URL matches wa.me or api.whatsapp.com. Attach a GA4 Event tag named whatsapp_click to it, preview, then publish. Add Google Ads or Meta tags to the same trigger if you want conversions there.

Can I track WhatsApp clicks as a Google Ads conversion?

Yes. Fire a Google Ads conversion tag when the WhatsApp link is clicked, or import the GA4 key event into Google Ads. This counts the click, not a message sent, since the chat happens in WhatsApp.

Does a WhatsApp click mean a real lead?

No. It shows intent, not a sent message. Someone can open WhatsApp and never write. Treat it as a lead signal and compare it with the chats you actually receive.

Why does my WhatsApp click event fire twice?

Two tags or triggers are probably listening to the same click, such as a plugin and a GTM tag. Remove one, or use a single trigger. DebugView or Tag Assistant will show the duplicates.

Why is the WhatsApp click not tracked on mobile?

The mobile version of your widget may use different markup or open WhatsApp with JavaScript, so your trigger misses it. Match on the link URL rather than a class, and test on a real phone.

How can I be alerted if WhatsApp click tracking breaks?

FunnelGuard runs the click on a schedule and checks that the tracking hit is sent. If it fails twice, from two regions, it sends one alert with a screenshot and a likely cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: defaults.

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.