How to Track Form Submissions and WhatsApp Clicks in GA4
Quick answer: To track form submissions in GA4, use Google Tag Manager to fire a GA4 event when a form is successfully submitted, ideally on a thank-you page view or a dataLayer event. For WhatsApp, fire an event when a link containing wa.me or api.whatsapp.com is clicked. Then mark both events as key events.
For most local and service businesses, leads come through forms, calls and WhatsApp. If you can’t measure them, you can’t tell which campaigns actually work. This guide shows a reliable way to track form submissions in GA4 along with WhatsApp clicks.
Before you start
- A working GA4 property and Google Tag Manager installed on your site
- A GA4 configuration tag firing on all pages (if not, see why a GTM tag is not firing)
- Access to Preview mode in GTM and DebugView in GA4
Method 1: Track form submissions with a thank-you page
This is the most reliable option if your form redirects after submission.
- In GTM, create a Page View trigger where Page Path contains
/thank-you(use your actual URL). - Create a GA4 Event tag named
generate_leadorform_submit. - Attach the trigger and save.
- Test in Preview mode by submitting the form.
Method 2: Track form submissions without a redirect
If the form shows a success message on the same page:
- Use a dataLayer event. Ask your developer to push an event such as
form_successwhen the submission succeeds. Create a Custom Event trigger with that name. - Or use a trigger based on the success element. Use an Element Visibility trigger on the success message.
- Be careful with GTM’s built-in Form Submission trigger. It fires on attempted submits, not necessarily successful ones, which can count failed or invalid entries. Many page builders, such as Elementor, also use AJAX, which the built-in trigger can miss.
Track WhatsApp clicks in GA4
- In GTM, enable built-in Click variables (Click URL, Click Text).
- Create a Click – Just Links trigger, set to fire on some link clicks where Click URL contains
wa.meorapi.whatsapp.com. - Create a GA4 Event tag named
whatsapp_click. - Add parameters such as
link_urlandpage_location. - Test in Preview mode, then confirm the event in GA4 DebugView.
Note that this tracks the click, not whether the person actually sent a message.
Mark them as key events
In GA4, go to Admin → Events and toggle Mark as key event for generate_lead and whatsapp_click. GA4 now calls conversions “key events”. The event must appear in your data first, so test it and allow some time.
Publish and verify
- Publish the GTM container.
- Submit a real test form and click a WhatsApp button.
- Check DebugView and then Reports → Realtime.
- Check again after 24 hours in standard reports.
Common mistakes
- Tracking a button click instead of a successful submission
- Counting your own test leads (filter internal traffic)
- Using different event names across pages
- Forgetting to publish the container
- Missing UTM tags, which leaves leads attributed as “not set”. See not set in GA4.
Use the data
Once your key events work, compare lead volume by source and campaign, then shift budget to what works. Our Performance Marketing team builds tracking and campaigns together, and our Website/App Development team can add the dataLayer events for you. You can also read how the Meta Ads learning phase affects lead results.
FAQs
Does GA4 track form submissions automatically?
GA4’s enhanced measurement can record form interactions, but it’s unreliable for confirming successful submissions. Set up a dedicated event for accuracy.
What is the best way to track form submissions in GA4?
A thank-you page view or a dataLayer event fired only on success is the most accurate approach.
How do I track WhatsApp clicks in GA4?
Use a GTM link-click trigger for URLs containing wa.me or api.whatsapp.com, and send a GA4 event.
What is a key event in GA4?
It’s an event you mark as important to your business, such as a lead. It replaced the term “conversion” in GA4.
Why are my GA4 form events not showing?
Check that the container is published, the trigger fires in Preview mode and the event name matches. Standard reports can lag by a day.
Conclusion
To track form submissions in GA4, fire an event only on successful submits, add a click event for WhatsApp, then mark both as key events and verify in DebugView. With accurate lead data, you can finally see which channels deserve your budget. Explore more on the Biznex blog.