On this page
What this issue is
Many visitors contact you by tapping a phone number or a WhatsApp button instead of filling in a form. These links open the phone dialler or the WhatsApp app. The browser does not load another page on your site, so nothing is sent to GA4 unless you set it up.
GA4 Enhanced Measurement does track outbound clicks to other domains (the click event), but a tel: link is not a web link, and wa.me or api.whatsapp.com clicks are not reliably labelled as the contact action you care about. Even when a generic click event appears, it is not a clear lead signal and is not a key event.
Why it costs you leads or sales
If calls and chats are your main way of getting enquiries, your reports undercount them. Channels that drive those taps look weaker than they are. Google Ads and Meta get no conversion signal, so their bidding learns from only part of your results.
- Ad clickVisitor lands on your page
- Taps WhatsApp or callLink opens the app or dialler
- GA4 eventNo click event is sent
- Key eventNothing to count
- Ads optimisationNo conversion data
The visitor does reach out, but nothing is recorded.
Example: a site with 40 form leads, 60 WhatsApp taps and 30 call taps. Only form leads are tracked.
How to check if your site has it
Open GA4 DebugView
In GA4 go to Admin > DebugView. Turn on debug with the Google Tag Assistant or GTM Preview mode.
Click your WhatsApp button and phone link
Use the live site on a desktop browser. The app may not open, but the click still happens.
Look for an event
You should see a clear event such as
whatsapp_clickorphone_click. If you see nothing, or only a genericclick, it is not tracked properly.Check key events
In Admin > Events, see whether the event is listed and marked as a key event.
How to fix it
The idea is the same everywhere: detect a click on a link whose address starts with tel: or contains wa.me or api.whatsapp.com, and send a GA4 event. Use consistent names, for example phone_click and whatsapp_click.
Create a trigger
Triggers > New > Click - Just Links. Choose Some Link Clicks and set Click URL contains
wa.me(add a second trigger forapi.whatsapp.com). Make another with Click URL starts withtel:. Enable the built-in Click URL variable first under Variables.Create the GA4 event tag
Tags > New > Google Analytics: GA4 Event. Pick your Google tag or measurement ID and set event name
whatsapp_click(orphone_click). Optionally add a parameterlink_urlwith {{Click URL}}.Preview and publish
Test in Preview mode, then Submit and publish the container.
Use GTM or a tracking plugin
If you use Google Tag Manager through a plugin or your theme, follow the GTM steps. Otherwise add the code snippet below through a header/footer scripts plugin, and make sure gtag.js is already installed.
Add a Custom Pixel or theme script
If GA4 runs through the Google & YouTube app, add the snippet to theme.liquid before </body>. If you use GTM, follow the GTM steps. Check the theme's WhatsApp widget, because some load inside an iframe and need their own event option.
Add custom code
Go to Site settings > Custom code > Footer code and paste the snippet below. Publish the site. Alternatively use GTM.
Use Google Tag Manager or Custom code
In Settings > Custom code (Wix premium plan required), add the snippet to the Body - end of all pages. Alternatively use Wix's Marketing integrations with GTM.
Inject code
Go to Settings > Advanced > Code Injection and paste the snippet in the Footer. Code Injection needs a plan that supports it.
Add tracking code to the funnel
In the funnel or website Settings > Tracking Code, paste the snippet into the Footer code, then save and publish. Your GA4 tag must already be installed on the page.
Add the snippet
Place the code below before the closing body tag on every page that has these links.
document.addEventListener('click', function (e) {
var link = e.target.closest('a[href]');
if (!link) return;
var href = link.getAttribute('href') || '';
if (href.indexOf('tel:') === 0) {
gtag('event', 'phone_click', { link_url: href });
} else if (href.indexOf('wa.me') !== -1 || href.indexOf('api.whatsapp.com') !== -1) {
gtag('event', 'whatsapp_click', { link_url: href });
}
});How to confirm it's fixed
- Clicking the WhatsApp button shows
whatsapp_clickin DebugView. - Clicking the phone link shows
phone_clickin DebugView. - Each click sends one event, not several.
- Both events are marked as key events in Admin > Events.
- The events appear in Reports > Engagement > Events within a day.
- The test works on mobile and on every page template that has the button.
How to prevent it happening again
These events break quietly when someone changes the button, swaps a theme, or adds a new chat widget. Keep the event names written down, retest after every site or GTM change, and use one naming pattern so reports stay consistent.
| Action | Event name | Useful parameter |
|---|---|---|
| Tap phone number | phone_click | link_url |
| Open WhatsApp chat | whatsapp_click | link_url |
| Tap email link | email_click | link_url |
How FunnelGuard handles this
FunnelGuard detects this issue. Its default checks include click tracking, so when a robot visitor runs your journey and clicks a WhatsApp or call button, it looks at whether the expected tracking hit is sent. If the click produces no hit, the failure is re-checked from a second region and you get one alert with a screenshot and a likely cause.
The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans have a 3-day free trial. A free read-only website audit is also available.
Questions people ask
Does GA4 track WhatsApp clicks automatically?
No, not as a clear contact event. Enhanced Measurement records some outbound link clicks as a generic click event, but it does not label WhatsApp taps as a lead action or mark them as key events. Add a custom event such as whatsapp_click.
How do I track phone number clicks in GA4?
Send a custom event when a link starting with tel: is clicked. In Google Tag Manager, use a Click - Just Links trigger with Click URL starts with tel: and a GA4 Event tag named phone_click. Then mark it as a key event.
Why is my WhatsApp button not showing in GA4 DebugView?
Usually no tag is listening for the click, the trigger does not match the link URL, or the widget loads in an iframe. Check the Click URL in GTM Preview and confirm the GA4 tag fires.
Can I count a phone call click as a conversion in Google Ads?
Yes. Mark the GA4 event as a key event, link GA4 to Google Ads, and import it as a conversion. Note that a click shows intent to call, not a completed call.
Why does one click send my GA4 event twice?
Two triggers or two scripts probably match the same link, for example a GTM tag plus a plugin or pasted code. Remove the duplicate and retest in DebugView.
What should I name my WhatsApp click event in GA4?
Pick a clear lowercase name with underscores, such as whatsapp_click, and use it everywhere. Avoid reserved names and keep it under 40 characters.
How can I tell when WhatsApp click tracking breaks?
Retest after each site or tag change, or use a monitor. FunnelGuard runs your journeys on a schedule, clicks the buttons and alerts you if the expected tracking hit is missing.
Related issues
- TRK-063Click event named differently than expected (whatsapp_click vs click_whatsapp)Fix guide
- TRK-049Required event parameter missing (form_id, method)Fix guide
- TRK-047Event name typo (Generate_Lead vs generate_lead)Fix guide
- TRK-065Booking confirmation event missing after Calendly/Cal.com bookingFix guide
- TRK-064file_download not tracked for lead magnetFix guide
- TRK-043generate_lead not sent on form submitFix guide