WhatsApp is often the last step before a sale, yet most businesses have no idea which channel drove the chat. With Google Analytics 4 (GA4) you can track every WhatsApp click, attribute it to a source, and see which campaigns actually produce conversations. Here's how.
What you can (and can't) track
Be clear about the boundary:
- You CAN track the click β when someone taps your WhatsApp link on your site, and which campaign sent them.
- You CANNOT see inside WhatsApp β the chat itself is end-to-end encrypted and happens outside your site, so GA4 can't read the conversation or confirm a purchase automatically.
So the goal is: track the click as a conversion event, attribute it with UTM tags, and (optionally) tie sales back manually or via your CRM.
Step 1: Tag your inbound links with UTM
Everything starts with UTM parameters on the links that point to your site (which then leads to WhatsApp), and on the WhatsApp link itself for inbox-side attribution:
https://yoursite.com/contact?utm_source=instagram&utm_medium=social&utm_campaign=summer
For the WhatsApp link, ride the tag inside the pre-filled text so it shows up in your inbox too:
https://wa.me/972541234567?text=Hi!%20from%20Instagram%20&utm_source=instagram
Our free WhatsApp link generator has a UTM builder, and the strategy is detailed in WhatsApp UTM tracking.
Step 2: Track the WhatsApp click as a GA4 event
GA4 is event-based. You want an event to fire when someone clicks a WhatsApp link. Two approaches:
Option A β Enhanced measurement (easiest)
GA4's Enhanced measurement automatically tracks outbound link clicks. Since wa.me and api.whatsapp.com are external domains, clicks to them are captured as click events with the destination URL. Turn it on:
- GA4 β Admin β Data streams β your web stream β Enhanced measurement β ensure Outbound clicks is enabled.
You can then find these in reports by filtering link_url containing wa.me.
Option B β Custom event via Google Tag Manager (precise)
For a clean, named conversion event:
- In Google Tag Manager, create a Click trigger that fires when
Click URLcontainswa.meorapi.whatsapp.com. - Create a GA4 Event tag with event name
whatsapp_click, firing on that trigger. - Pass useful parameters β page path, button location β so you can segment later.
- Publish the container.
Step 3: Mark it as a key event (conversion)
In GA4, "conversions" are now key events:
- GA4 β Admin β Events.
- Find
whatsapp_click(or your outbound click event). - Toggle Mark as key event.
Now GA4 counts every WhatsApp click as a conversion you can report on, segment by source, and use in attribution.
Step 4: Report and attribute
With the key event live, you can answer real questions:
- Which channel drives the most WhatsApp chats? Reports β Traffic acquisition, with your
whatsapp_clickkey event as the metric. - Which landing pages convert to chats? Add
page pathas a dimension. - Which campaign is most efficient? Compare
whatsapp_clickagainst sessions perutm_campaign.
Step 5: Close the loop to actual revenue
GA4 stops at the click. To connect clicks to money:
- Log outcomes in your CRM. When a WhatsApp lead becomes a customer, record the source (from the UTM in the pre-filled message).
- Match periods. Compare GA4
whatsapp_clickcounts by source against closed deals by source in your CRM. - Advanced: if you use the Cloud API, some providers can send a server-side conversion back into GA4 via the Measurement Protocol when a chat converts β but that's optional and technical.
Common mistakes
- No UTM tags, so every chat looks like "direct" and attribution is impossible.
- Forgetting to mark the event as a key event, so it never appears as a conversion.
- Not testing on mobile. On phones the click hands off to the WhatsApp app; confirm the event still fires before the handoff by checking GA4 Realtime.
- Double counting if both Enhanced measurement outbound clicks and a custom GTM tag fire for the same click β pick one method.
Verify it works
Open GA4 β Realtime, click your own WhatsApp link, and watch for the event to appear within seconds. If it shows up with the right source, your tracking is live.
Bottom line
Tag links with UTM, capture the WhatsApp click as a GA4 event, mark it as a key event, and reconcile with your CRM for revenue. You'll finally know which campaigns produce conversations instead of guessing.
Build a tracked link β free WhatsApp link generator.