On this page
What this issue is
A WhatsApp click is not tracked when a visitor taps your chat button, but no event reaches GA4, Google Ads, Meta or any other platform. The button works for the visitor. You just have no record that it happened.
This is the default state. A link to https://wa.me/... is a normal outbound link. Page view tags do not count it. Unless you add a click event, the chat starts in WhatsApp and your reports show nothing.
Why it costs you leads or sales
If WhatsApp is a main way people contact you, untracked clicks make that channel look empty. You cannot see which pages, campaigns or keywords bring chats. Ad platforms get no conversion signal, so bidding cannot learn from those leads and you may cut campaigns that actually work.
- Ad clickVisitor lands on your page
- Taps WhatsApp buttonNo click event is sent
- Chat opens in WhatsAppVisitor has left your site
- Conversion in ad platformNever recorded
The visitor reaches WhatsApp, but the click is never reported.
Example: 40 people start a chat from ads in a week, but only the tracked setup reports them.
How to check if your site has it
Open GA4 DebugView
In GA4 go to Admin, then DebugView. Open your site with Google Tag Manager preview or the GA debug extension active.
Click the WhatsApp button
Watch for a new event in the stream when you click. A plain page view or a generic click is not enough.
Check the ad platforms
Use Meta Pixel Helper or Google Tag Assistant to see whether a conversion or custom event fires on the click.
Check the link itself
Right-click the button, copy the link and confirm it points to wa.me or whatsapp.com. This tells you which trigger rule you need.
The visitor clicks, but no tag fires, so nothing is sent.
How to fix it
The fix is the same idea everywhere: detect a click on a link whose address contains wa.me or whatsapp.com, then send an event. Google Tag Manager is the most flexible route. Use the platform tabs below if you do not use it.
Create a trigger
Triggers, New, type Click - Just Links. Choose Some Link Clicks and set Click URL contains wa.me (add a second rule for whatsapp.com if you use it).
Create a GA4 event tag
New tag, Google Analytics: GA4 Event. Use your configuration tag or measurement ID, event name whatsapp_click, and attach the trigger.
Add ad platform tags
For Google Ads, add a Conversion Tracking tag with the same trigger. For Meta, add a custom HTML or Meta event tag for Contact or Lead with the same trigger.
Preview and publish
Use Preview, click the button, confirm the tags fire, then Submit.
Use Tag Manager if possible
Install Google Tag Manager with a plugin or in your theme header, then follow the Google Tag Manager steps.
Or use your chat plugin settings
Some WhatsApp chat plugins have an analytics or event option. Check its settings. If it has none, use the Tag Manager route.
Add Tag Manager or a custom pixel
In Settings, Customer events, add a custom pixel, or add Google Tag Manager to the theme. Theme-based buttons sit on storefront pages, so Tag Manager works there.
Add the click trigger
Follow the Google Tag Manager steps for the trigger and tags.
Add a custom attribute or use Tag Manager
Paste your Tag Manager snippet in Project settings, Custom code. Then use the Click URL trigger above.
Use Marketing Integrations
In Marketing & SEO, open Marketing Integrations to connect Google Analytics, Tag Manager or the Meta Pixel. Then add the click trigger in Tag Manager. Plan limits may apply for some integrations.
Inject Tag Manager
In Settings, Advanced, Code Injection, paste the Tag Manager snippet in the header. Then use the Click URL trigger. Code injection needs a plan that includes it.
Add tracking code to the funnel or site
In funnel or website settings, add Tag Manager or custom code to the header tracking area. Then use the Click URL trigger or the code below.
Push an event on click
Add the snippet below after your analytics tag, or push to the dataLayer and use a custom event trigger in Tag Manager.
document.addEventListener('click', function (e) {
var link = e.target.closest('a[href*="wa.me"], a[href*="whatsapp.com"]');
if (!link) return;
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'whatsapp_click',
link_url: link.href
});
});How to confirm it's fixed
- Tag Manager preview shows the whatsapp_click tag firing on the click
- GA4 DebugView shows the whatsapp_click event
- Google Tag Assistant or Meta Pixel Helper shows the ad platform event
- The event appears in GA4 reports within a day
- The tracking also works on mobile, where most WhatsApp taps happen
How to prevent it happening again
Tracking breaks when buttons are rebuilt, a chat plugin is swapped, or the link changes to a new format. Whenever you redesign a page or change the chat widget, retest the click. Keep the trigger broad (contains wa.me or whatsapp.com) so a new link style still matches.
How FunnelGuard handles this
FunnelGuard detects this today. Its click tracking check looks at the WhatsApp button as part of a journey: a robot visitor clicks it on a schedule and checks whether the expected tracking hit is sent to your analytics and ad platforms. If the click goes out with no hit, you get one alert, after a second-region re-check, with a screenshot and a likely cause. Test traffic is marked with utm_source=funnelguard and fg_test=1, so you can filter it out. The Free plan covers 1 site and 2 journeys with daily checks.
Untracked
- Click opens WhatsApp, nothing is recorded
- GA4 shows no WhatsApp events
- Ads get no signal from chats
Tracked
- Click sends whatsapp_click to GA4
- Ad platforms receive a conversion
- You can compare pages and campaigns
Questions people ask
Why is my WhatsApp button click not showing in Google Analytics?
A WhatsApp button is a link to wa.me or whatsapp.com, so the visitor leaves your site. GA4 does not record that as a conversion by default. You need a click trigger and an event, for example whatsapp_click.
How do I track WhatsApp clicks in Google Tag Manager?
Create a Click - Just Links trigger where Click URL contains wa.me. Attach it to a GA4 Event tag named whatsapp_click. Test in Preview, then publish.
Can I track WhatsApp clicks as a Google Ads conversion?
Yes. Mark the GA4 event as a key event and import it into Google Ads, or add a Google Ads conversion tag on the same click trigger. Test that it fires before relying on it.
Does the Meta Pixel track WhatsApp clicks automatically?
Not reliably. Add a Contact or Lead event on the same click trigger and check it with Meta Pixel Helper.
Does a tracked WhatsApp click mean I got a lead?
No. It shows someone tapped the button. They may not send a message. Treat it as an intent signal.
Why does WhatsApp tracking work on desktop but not mobile?
The button may be a different element on mobile, such as a floating widget or a hidden duplicate. Test the mobile version in preview mode and make sure the trigger matches its link.
How can I be alerted if WhatsApp click tracking stops working?
FunnelGuard runs the click on a schedule and checks the tracking hit is sent. If it is missing, it sends one alert with a screenshot and a likely cause.
Related issues
- CNV-267Click-to-call event not trackedFix guide
- CNV-258WhatsApp link opens wrong numberFix guide
- CNV-262WhatsApp button hidden on mobileFix guide
- CNV-263WhatsApp link uses api.whatsapp.com form that breaks on desktopFix guide
- CNV-260Prefilled WhatsApp message missingFix guide
- CNV-266Call tracking number swap (DNI) not workingFix guide