Analytics and tracking

How do I track phone, email and WhatsApp clicks in GA4 with Tag Manager?

Create a Tag Manager link click trigger that matches each link, attach a GA4 event tag with a clear event name, test it in Preview and DebugView, then mark the event as a key event. Repeat for each action you want to count.

Published . Last updated . By Hevaris.

What do I need before I start?

You need GA4 already set up inside Tag Manager, a list of the links you want to count, and permission to edit the container. Google’s event tag page assumes the GA4 setup is done first.

List every link you care about: the phone number, the email address and the WhatsApp button, on every page where they appear. A link that appears in a header, a footer and a contact page is the same link, and one trigger can cover all three.

Which trigger and tag does each action need?

Each action needs one link click trigger and one GA4 event tag. Google describes two click trigger types, and for these actions the link-only type is the closer fit.

ActionTrigger typeTrigger condition (our suggestion)Event name (our suggestion)
Phone clickJust LinksClick URL contains tel:phone_click
Email clickJust LinksClick URL contains mailto:email_click
WhatsApp clickJust LinksClick URL contains the address your WhatsApp button useswhatsapp_click

Google says Just Links tracks only clicks on HTML link elements, and All Elements tracks clicks on any element, including images and buttons. If your WhatsApp button is not a plain link, All Elements may be needed.

How do I build the trigger and the tag?

Build the trigger first, then the tag, then test both before you publish.

  1. Create the trigger. Choose a Just Links trigger, set it to fire on some link clicks, and filter on Click URL. Google’s example filter uses a “contains” condition.
  2. Look at the two options. Google lists Wait for Tags and Check Validation for Just Links triggers. Wait for Tags waits until tags have fired or a timeout has passed. Check Validation fires only when the click counts as a valid action, and fires on any link click if left unchecked.
  3. Create the event tag. Google’s GA4 event tag asks for your measurement ID and an event name. A name you choose creates a custom event.
  4. Attach the trigger to the tag and save.

How do I name the events?

Pick a short, readable name in lower case with underscores. Google’s rules are strict, and a name that breaks them will not behave as you expect.

  • Names are case-sensitive, so phone_click and Phone_Click are two different events.
  • A name must start with a letter, use only letters, numbers and underscores, and have no spaces.
  • A name can be up to 40 characters long.
  • Do not reuse reserved names. Google lists click, form_submit, file_download, page_view, scroll, session_start, first_visit, user_engagement and video_start among them.

How do I test it before publishing?

Open Preview, click each link, and watch two places. Tag Manager Preview shows whether your tag fired, and GA4 DebugView shows whether the event arrived.

  1. Select Preview in Tag Manager and connect your site.
  2. Click the phone link, the email link and the WhatsApp button once each.
  3. In Preview, confirm each click fired the matching tag once.
  4. In DebugView, confirm each event arrived. Google says you must enable debug mode to use DebugView, and preview mode does this for your device.

Publish only when every row passes. A tag that fires twice for one click is a failure, not a bonus.

How do I make these events key events?

Mark each one as a key event once it is arriving. Google says any collected event can be marked, so the event has to arrive first.

Google says marking an existing event as a key event needs the Editor role or above, and states a limit of 30 key events for standard properties. After that, the Key events column in your reports includes the new events. Allow up to 24 hours before they show in standard reports.

What sources does this guide use?

The primary sources are linked below, so each statement can be checked at its origin.

Frequently asked questions

Does GA4 track phone and email clicks automatically?

Not as far as Google's enhanced measurement list shows. That list covers page views, scrolls, outbound clicks that lead away from your domain, file downloads, site search, video and form interactions. Phone and email links are not named, so check in DebugView what your site sends.

What should I name the events?

Use names you can read in a report, such as phone_click, email_click and whatsapp_click. Google says event names are case-sensitive, must start with a letter, use only letters, numbers and underscores, and can be up to 40 characters.

Can I use Google's generate_lead event instead?

You can, if the action fits. Google describes generate_lead as a recommended event for submitting a form or a request for information. Google's recommended events do not include a click-to-call event, so a custom name is normal for phone clicks.

How many custom events can I create?

Google says there is no limit on distinctly named events for web data streams. The 500-event limit applies to app streams. Each event can carry up to 25 parameters.