How to Track WhatsApp Clicks, Calls and Form Enquiries in GA4
If you can't count enquiries, you can't tell which page or channel brings patients. A step-by-step GA4 and Google Tag Manager setup for WhatsApp clicks, calls and forms.
How many enquiries does your website generate?
A surprising number of clinics can’t answer that question. Analytics is installed and visitor numbers are visible, but nobody measures how many people tapped the WhatsApp button, called, or submitted a form. Without that, there’s no way to know which treatment page, channel or article actually brings patients.
This article explains, step by step, how to measure the three most important actions on a clinic website (WhatsApp clicks, phone calls and form submissions) in GA4 (Google Analytics 4, Google’s current website analytics tool), using Google Tag Manager (GTM; a free Google tool for managing tracking codes in one place).
Terms first: events and key events
- Event: any measurable action on the site in GA4, such as a page view, a link click or a form submission.
- Key event: an event marked as especially important for the business. In March 2024 Google renamed GA4 “conversions” to “key events”, so older guides that talk about conversions mean the same thing.
Our goal: create three events called whatsapp_click, phone_click and form_submit, and mark all three as key events.
What GA4 measures by itself, and what it doesn’t
GA4’s enhanced measurement records clicks on links to other websites as a click event. Because WhatsApp links (wa.me or api.whatsapp.com) count as outbound links, they may appear there, but mixed in with every other outbound click and hard to mark as a key event on their own. Phone links (tel:) and most form submissions aren’t reliably measured at all. Separate, clearly named events for each action are the cleanest approach.
Step-by-step setup with Google Tag Manager
1. Add GTM to the site
Create a GTM account and add the code it gives you to the site. On WordPress, the Site Kit plugin can do this for you. If GA4 is already installed separately, use only one of them (ideally the Google tag inside GTM) so visits aren’t counted twice.
2. Enable click variables
In GTM’s Variables section, enable the built-in “Click URL” and “Page Path” variables.
3. WhatsApp clicks
- Trigger: Click, Just Links; condition: Click URL contains “wa.me” or contains “whatsapp.com”.
- Tag: GA4 Event; event name
whatsapp_click; parameterpage_path= {{Page Path}}.
4. Phone clicks
- Trigger: Click, Just Links; condition: Click URL starts with “tel:”.
- Tag: GA4 Event; event name
phone_click; the samepage_pathparameter.
5. Form submissions
Forms are the trickiest part because they depend on the form plugin. In order of reliability:
- Thank-you page: redirect to a dedicated thank-you page after submission and count views of that page as
form_submit. Simplest and most reliable. - The plugin’s own event: plugins such as Contact Form 7, WPForms and Gravity Forms can fire a JavaScript event or data layer entry on successful submission; GTM listens for it and fires the tag.
- GTM’s form submission trigger: works on some forms but may also count failed submissions; always test.
6. Test and publish
Open the site in GTM’s Preview mode and click each button; check the tag fires. Confirm the events arrive in GA4’s DebugView. Then publish with “Submit” in GTM.
7. Mark them as key events
Within a few hours the three events appear under Admin, Events in GA4. Mark each one as a key event.
Which reports to look at
- Acquisition reports: show which channel key events come from: organic search, direct, social or your Google Business Profile. A UTM tag on the profile’s website link makes that last one clear; see our Business Profile guide.
- By page: thanks to the
page_pathparameter you can see which treatment page drives the most WhatsApp clicks. Register it as a custom dimension in GA4 to use it in reports. - Search Console link: connecting GA4 to Search Console lets you read which queries organic visits started from alongside which pages produced enquiries.
The limits of measurement
A WhatsApp click doesn’t mean a message was sent; the person may have opened the app and changed their mind. A phone click doesn’t prove a call happened. Visitors who decline cookies and ad blockers also reduce the numbers. So read GA4 data alongside an enquiry log that records real requests. We explain how to record which page a message came from, and whether it became an appointment, in From WhatsApp Message to Appointment.
Privacy note: never send personal data (names, phone numbers, emails or message content) in event parameters; Google’s own policies prohibit it. Tracking should respect cookie consent and be described in your privacy notice; see Privacy-Compliant Clinic Websites.
Setup checklist
- Is GTM installed, with GA4 not counting twice?
- Are the Click URL and Page Path variables enabled?
- Does whatsapp_click fire on wa.me and whatsapp.com links?
- Does phone_click fire on tel: links?
- Does form_submit fire only on successful submissions?
- Has everything been tested in Preview and DebugView?
- Are all three events marked as key events in GA4?
- Is page_path registered as a custom dimension?
- Is no personal data sent with the events?
- Does tracking respect cookie consent?
Frequently asked questions
Does GA4 track WhatsApp clicks automatically?
Partly. Enhanced measurement records outbound link clicks, which can include wa.me links, but they are mixed with other clicks. A dedicated whatsapp_click event set up in Google Tag Manager is cleaner.
How do I track phone number clicks in GA4?
In Google Tag Manager, create a Just Links click trigger where Click URL starts with tel:, fire a GA4 event such as phone_click, then mark it as a key event in GA4.
What is a key event in GA4?
An event marked as important for the business. Google renamed GA4 conversions to key events in March 2024.
Let's measure what your website really brings in.
Tell us how enquiries reach you today and what you would like to measure. Our first introductory conversation is free.
