How to Track Website Leads with GA4 and Google Tag Manager: A Practical Guide for 2027
Your website might be attracting hundreds or even thousands of visitors every month, but how many of those visitors actually become potential customers?
For many businesses, this is one of the most important questions their website analytics should answer.
Google Analytics 4 (GA4) can show where website visitors come from, which pages they view and how they interact with your content. However, standard website traffic reports do not automatically tell you how many genuine business enquiries your website generates.
A visitor might complete a contact form, click a telephone number, open WhatsApp or request a quotation. Unless these actions are measured correctly, important customer interactions may go unreported.
This is where Google Tag Manager (GTM) becomes valuable.
By combining GA4 and GTM, businesses can measure important website interactions, identify which marketing channels generate enquiries and make better decisions about their online marketing.
In this guide, Web Anatomy explains how website lead tracking works, which events businesses should measure, how to configure GA4 and Google Tag Manager, and how to avoid common tracking mistakes.
What Is Website Lead Tracking?
Website lead tracking is the process of measuring actions that indicate a visitor may be interested in contacting or buying from your business.
Unlike general website traffic tracking, lead tracking focuses on interactions that have potential commercial value.
For example, a visitor reading your services page is showing interest. A visitor submitting a quotation request is taking a more meaningful step towards becoming a customer.
These actions should not necessarily be counted as equivalent.
A website can receive considerable traffic without generating many enquiries. Equally, a smaller website may attract fewer visitors but generate high-quality leads.
Accurate tracking helps businesses understand this difference.
What Is Google Analytics 4?
Google Analytics 4 is Google’s analytics platform for measuring website and application interactions.
GA4 uses an event-based measurement model.
An event represents an interaction or occurrence, such as a page view, button click, file download or form submission.
Some events are collected automatically or through enhanced measurement, while others require additional configuration.
For businesses, the most valuable events often involve enquiries, purchases, bookings and other actions connected to business objectives.
GA4 also allows selected events to be marked as key events.
A key event represents an interaction that is especially important to your business.
For example, a successfully submitted quotation form might be marked as a key event because it represents a potential sales opportunity.
However, simply marking an event as a key event does not verify that the enquiry was genuine or resulted in a sale.
What Is Google Tag Manager?
Google Tag Manager is a tag management system that allows website owners to manage tracking configurations without manually adding separate tracking code for every interaction.
GTM uses three important components.
Tags are configurations that send information to analytics or marketing platforms.
Triggers determine when tags should run.
Variables provide additional information about the interaction, such as the clicked URL, form identifier or page location.
For example, a visitor clicking a WhatsApp button can activate a trigger that causes a GA4 event tag to send an event named whatsapp_click.
GTM is particularly useful when a business wants to measure multiple interactions across its website.
However, installing GTM alone does not automatically configure every lead-tracking event.
GA4 vs Google Tag Manager: What’s the Difference?
GA4 and GTM serve different purposes, but they work well together.
| Feature | Google Analytics 4 | Google Tag Manager |
|---|---|---|
| Main purpose | Collect and report analytics data | Manage tracking tags and triggers |
| Page views | Measures page-view events | Can deploy the Google tag |
| Button clicks | Receives and reports events | Can detect selected click interactions |
| Form submissions | Reports configured events | Can detect or receive submission signals |
| Lead reporting | Shows events, key events and acquisition data | Sends tracking data to GA4 |
| Debugging | DebugView and Realtime reports | Preview and Tag Assistant |
| Marketing analysis | Acquisition, engagement and exploration reports | Not a reporting platform |
A useful way to understand the relationship is that GTM helps determine what information gets sent, while GA4 stores and reports the resulting events.
Which Website Leads Should You Track?
The most useful tracking setup depends on how customers contact your business.
A professional services website might rely on contact forms and telephone calls.
A local business might receive most enquiries through WhatsApp.
An online store may need to measure checkout activity and purchases.
The first step is to identify the actions that represent genuine business opportunities.
1. Contact Form Submissions
Contact forms are among the most important lead-generation features on business websites.
A visitor may submit a general enquiry, request a quotation or ask for more information about a service.
The strongest tracking signal is a confirmed successful submission.
Tracking the submit-button click alone is not sufficient because the form might fail validation, encounter a technical error or never reach the website’s processing system.
For WordPress websites using Gravity Forms, Elementor Forms, Contact Form 7 or other form plugins, the appropriate tracking method depends on how the form works.
Where available, a successful submission event or confirmed thank-you page is preferable to an ordinary button click.
2. Telephone Number Clicks
Many websites display clickable telephone numbers using links beginning with tel:.
These links can be measured through GTM.
For example, a visitor clicking a telephone number may generate an event named phone_click.
This indicates that the visitor attempted to open the telephone link.
It does not prove that a telephone call connected or that a conversation took place.
Measuring completed calls requires additional call-tracking capabilities.
3. WhatsApp Enquiries
WhatsApp is an important customer communication channel for many South African businesses.
Visitors may use a WhatsApp button to ask about services, availability or pricing.
GTM can detect clicks on WhatsApp links, including common wa.me and WhatsApp URL formats.
A whatsapp_click event can help measure how frequently visitors initiate this interaction.
However, a WhatsApp click does not confirm that the visitor sent a message.
If verified WhatsApp enquiries are required, additional integration with a suitable messaging or customer management system may be necessary.
4. Email Link Clicks
Clickable email addresses commonly use mailto: links.
These can be tracked using a GTM link-click trigger.
An email_click event indicates that a visitor selected an email link.
It does not confirm that the visitor wrote or sent an email.
5. Quotation Requests
Quotation requests may be submitted through dedicated forms, booking systems or custom website functionality.
Where possible, these should have a distinct event such as quote_request_success.
This allows businesses to distinguish quotation requests from general contact enquiries.
6. Booking Enquiries
Businesses offering appointments, consultations or reservations may need to measure booking activity.
The most valuable event is usually a confirmed booking or successful booking request.
A click on a booking button is useful engagement information, but it should not automatically be treated as a completed booking.
7. File Downloads
Some businesses provide brochures, catalogues, technical specifications or product documents.
GA4 enhanced measurement can collect file_download events for supported file-link interactions when enabled.
Downloads can help indicate interest, but they are generally weaker lead signals than confirmed enquiries.
For example, downloading a company brochure does not establish that the visitor intends to become a customer.
Recommended GA4 Lead Tracking Events
A structured naming approach makes analytics easier to understand and maintain.
| Event name | Interaction | What it confirms |
|---|---|---|
generate_lead | Verified lead-generation action | A defined lead action occurred |
form_submit_success | Successful contact form | Website confirmed form submission |
quote_request_success | Successful quotation form | Website confirmed quotation request |
phone_click | Telephone link selected | Visitor clicked a telephone link |
whatsapp_click | WhatsApp link selected | Visitor clicked a WhatsApp link |
email_click | Email link selected | Visitor clicked an email link |
booking_success | Confirmed booking | Booking system reported success |
file_download | Supported file link selected | File download interaction was recorded |
Google recommends the event name generate_lead for lead-generation actions. Businesses can use it where appropriate and include parameters to distinguish lead types.
Custom event names can also be useful for more detailed operational reporting.
Avoid creating multiple independent tags that record the same successful enquiry as separate leads.
How to Set Up Website Lead Tracking with GA4 and GTM
The following process provides a practical starting point.
Step 1: Confirm That GA4 Is Installed Correctly
Before configuring lead events, confirm that GA4 is collecting website data.
Open your GA4 property and locate the web data stream.
Check that the Measurement ID corresponds to the intended website.
Then visit the website and review the GA4 Realtime report.
You should see relevant activity if tracking is functioning and consent settings allow collection.
If the website already uses Google Tag Manager, verify whether the Google tag is deployed through GTM or another integration.
A common mistake is installing GA4 through several methods simultaneously.
For example, a WordPress plugin, a theme integration and a GTM container may all deploy tracking.
This can cause duplicate page views or other events.
Step 2: Install Google Tag Manager
Create or open the relevant Google Tag Manager account and web container.
Follow Google’s installation instructions to place the GTM container snippets in the appropriate locations.
For WordPress, GTM can be installed through a suitable integration or directly through the website’s implementation.
After installation, use Tag Assistant to verify that the container loads.
If the site uses a consent management platform, ensure the tracking setup respects the applicable consent configuration.
Step 3: Configure the Google Tag
In GTM, create or review the Google tag associated with the intended GA4 property.
Use the correct tag ID and appropriate trigger.
For a conventional website, the Google tag is commonly configured to run on relevant page loads, subject to consent requirements.
Use Preview mode to confirm that the tag runs as intended.
Before adding new events, check for duplicate Google tags and existing tracking configurations.
Step 4: Enable Relevant Click Variables
In Google Tag Manager, open the Variables section.
Under built-in variables, enable the click variables required for your implementation.
These may include:
- Click URL
- Click Text
- Click Classes
- Click ID
- Click Element
These variables help GTM identify which website element a visitor selected.
Click URL is particularly useful for telephone, email and WhatsApp tracking.
Step 5: Track Telephone Clicks
Create a new trigger in Google Tag Manager.
Choose the Just Links trigger type and configure it to run on selected link clicks.
Use a condition such as:
Click URL starts with tel:
Then create a Google Analytics event tag.
Configure the event name as:
phone_click
Connect the tag to the appropriate trigger.
Use GTM Preview mode to click a telephone link and confirm that the event tag fires.
Then verify that the event reaches GA4.
Remember that this event measures a click, not a completed telephone call.
Step 6: Track WhatsApp Clicks
WhatsApp links can appear in several formats.
Common examples include:
A GTM link-click trigger can identify matching URLs.
For example, use conditions covering the WhatsApp domains implemented on the website.
Configure a GA4 event named:
whatsapp_click
Test each relevant WhatsApp button because some widgets use JavaScript rather than standard HTML links.
In those cases, a custom event or integration-specific trigger may be required.
Step 7: Track Email Clicks
Create another Just Links trigger with the condition:
Click URL starts with mailto:
Configure a GA4 event named:
email_click
Test the event through GTM Preview mode.
This event can help identify whether visitors use the email contact option, but it cannot confirm email delivery.
Step 8: Track Successful Contact Form Submissions
Form tracking requires particular care.
Google Tag Manager offers form submission triggers, but these do not work reliably with every form implementation.
Many modern WordPress forms use AJAX or JavaScript to submit information without reloading the page.
A generic form trigger may fail to detect successful submissions or may record unsuccessful attempts.
A more reliable solution is to use a confirmed form success signal.
For example, a developer can push a structured event to the data layer after the website confirms a successful submission.
A simplified example is:
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: "lead_form_success",
form_id: "contact_form",
form_type: "general_enquiry"
});
This code should execute only after the form’s successful processing has been confirmed.
In GTM, create a Custom Event trigger using:
lead_form_success
Then create a GA4 event tag named:
generate_lead
Relevant non-personal parameters might include form_id and form_type.
Do not send names, email addresses, telephone numbers or message contents to GA4.
Step 9: Mark Important Events as Key Events
Once events are arriving in GA4, decide which interactions represent your most important business outcomes.
A confirmed lead submission is generally a stronger candidate for a key event than an ordinary contact-button click.
In GA4, use the Events or Key events administration interface to mark the appropriate event.
The exact interface may change over time.
For example, generate_lead may be marked as a key event when it represents a confirmed lead action.
Phone and WhatsApp clicks can remain engagement events unless the business deliberately defines them as key actions.
This helps prevent reports from presenting every contact-button click as a confirmed enquiry.
Step 10: Test Events Before Publishing
Google Tag Manager provides Preview mode for testing changes before publishing them.
Use Tag Assistant to confirm:
- The correct trigger activates.
- The intended GA4 event tag fires.
- The tag does not fire multiple times for one interaction.
- The event parameters contain the expected values.
- The event reaches the correct GA4 property.
GA4 DebugView can help inspect incoming debug-mode events.
Realtime reports can also help confirm recent activity, although reporting and processing behaviour may differ.
For form submissions, test both successful and unsuccessful attempts.
A failed form submission should not generate a successful lead event.
Step 11: Publish the GTM Container
After testing, submit and publish the GTM container changes.
Use a meaningful version name describing the tracking configuration.
For example:
Website Lead Tracking - Contact Forms and Clicks
This helps document changes and makes future troubleshooting easier.
After publication, test the live website again.
Preview-mode success does not eliminate the need to verify the published implementation.
How to Track Multiple Forms on One Website
Some businesses have several enquiry forms.
For example, a website may include a general contact form, a quotation request form and a service-specific enquiry form.
Tracking all three as one event can make it difficult to understand which services generate the most interest.
A useful approach is to send the recommended generate_lead event with additional parameters.
For example:
| Parameter | Example value |
|---|---|
form_id | quote_form |
form_type | quotation |
service_category | website_design |
These values can help distinguish enquiry types.
Where necessary, suitable event-scoped custom dimensions can be registered in GA4 for reporting.
The parameters should describe the interaction without exposing personal information.
How to Find Out Which Marketing Channels Generate Leads
Once lead events are configured, GA4 can help businesses analyse acquisition performance.
For example, a business may want to compare enquiries generated by organic search, paid advertising, social media and direct traffic.
GA4 acquisition reports and explorations can provide useful information about these channels.
However, attribution needs to be interpreted carefully.
Different reports use different scopes and attribution approaches.
A session acquisition report and an event attribution report may not assign the same interaction to the same channel.
For consistent analysis, define which reporting approach the business will use.
Also ensure campaign URLs use appropriate UTM parameters where necessary.
Building a Website Lead Tracking Dashboard
A practical dashboard should answer questions that matter to the business.
For example:
- How many confirmed website enquiries were recorded?
- Which marketing channels generated those enquiries?
- Which landing pages attracted visitors who later enquired?
- How many visitors clicked telephone or WhatsApp links?
- Which forms generated the most successful submissions?
- How did lead activity change compared with the previous period?
GA4 reports can provide much of this information.
For more flexible reporting, businesses can connect GA4 to Looker Studio.
A dashboard might separate confirmed lead submissions from contact-button interactions.
This distinction prevents inflated lead counts and gives business owners a more useful understanding of website performance.
Common GA4 and GTM Tracking Mistakes
Counting Button Clicks as Completed Leads
A visitor clicking a form submission button does not prove the form was successfully processed.
Use confirmed success events whenever possible.
Installing GA4 More Than Once
Multiple integrations may generate duplicate events.
Audit existing tags before adding new tracking configurations.
Tracking Every Interaction as a Key Event
Not every click represents a meaningful business outcome.
Prioritise confirmed enquiries and other important actions.
Sending Personal Information to GA4
Avoid sending personally identifiable information, including names, email addresses, telephone numbers and free-text enquiry messages.
Ignoring Consent Requirements
Analytics implementations should consider applicable privacy laws, consent requirements and Google’s platform policies.
Failing to Test After Website Updates
Theme changes, plugin updates and redesigned contact forms can affect tracking.
Important events should be tested after relevant website changes.
Not Checking the Published GTM Container
Changes made in a GTM workspace do not affect the live website until they are published.
Always verify the live configuration.
Does GA4 Automatically Track Leads?
Not all leads.
GA4 can automatically collect certain events, and enhanced measurement can track supported interactions such as outbound clicks and file downloads.
However, confirmed business enquiries often require additional configuration.
A website with a custom contact form, booking system or WhatsApp integration may need dedicated tracking.
Businesses should not assume that installing GA4 automatically creates a complete lead-generation reporting system.
Can GA4 Track Actual Sales?
GA4 can measure purchase events when e-commerce tracking is implemented correctly.
For online stores, the recommended purchase event can include transaction information such as transaction ID, value, currency and purchased items.
A purchase event should represent a confirmed transaction according to the store’s implementation.
Businesses should also reconcile analytics reporting with their actual order and financial records.
GA4 is a marketing analytics platform, not an accounting system.
GA4 Lead Tracking for WordPress Websites
WordPress websites offer several ways to implement tracking.
The most suitable method depends on the theme, plugins, form software and existing analytics setup.
For Elementor websites, form success behaviour should be reviewed before choosing a trigger.
For Gravity Forms, successful submission hooks or confirmation events may be suitable, depending on the configuration.
For WooCommerce, dedicated e-commerce event tracking may be more appropriate than generic click tracking.
A properly configured GTM container can bring these different interactions into a consistent measurement framework.
Frequently Asked Questions
What Is the Difference Between GA4 and Google Tag Manager?
GA4 collects and reports analytics events. GTM manages the tags and triggers used to send tracking information to GA4 and other platforms.
Is Google Tag Manager Free?
Google Tag Manager offers a free version suitable for many business websites.
Can GA4 Track Contact Form Submissions?
Yes, provided a suitable event is implemented. Confirmed form success is preferable to tracking only the submit-button click.
Can GA4 Track WhatsApp Clicks?
Yes. GTM can measure supported WhatsApp link interactions, but a click does not confirm that a message was sent.
Can GA4 Track Telephone Calls?
GA4 can track telephone link clicks. Confirming connected or completed calls requires additional call-tracking capabilities.
What Is a GA4 Key Event?
A key event is an event marked as especially important to the business, such as a confirmed lead submission or purchase.
Why Are My GA4 Events Not Showing?
Possible causes include incorrect tag configuration, unpublished GTM changes, consent settings, browser restrictions, trigger conditions or reporting delays.
Should Every Form Submission Be a Key Event?
Not necessarily. Businesses should identify which submissions represent meaningful outcomes and avoid counting unsuccessful or duplicate submissions.
Can I Track Different Services Separately?
Yes. Event parameters can distinguish forms, service categories and enquiry types, provided they do not contain prohibited personal information.
Do I Need a Developer to Configure GTM?
Simple link-click tracking may be possible without development work. Reliable tracking of custom forms and complex applications may require developer assistance.
Turn Website Traffic Into Measurable Business Enquiries
Website traffic is useful, but businesses also need to understand what visitors do after arriving.
By combining Google Analytics 4 with Google Tag Manager, businesses can measure important interactions, identify potential leads and understand which marketing channels contribute to enquiries.
The most valuable tracking setups distinguish genuine business outcomes from ordinary clicks.
At Web Anatomy, we help businesses configure GA4, Google Tag Manager and technical website tracking to provide clearer insight into website performance.
Whether you need contact form tracking, WhatsApp click measurement, e-commerce events or a more comprehensive analytics setup, a structured implementation can help turn website activity into useful business information.
Want to know how many leads your website is generating?
Contact Web Anatomy to discuss a GA4 and Google Tag Manager tracking assessment.
Last updated: 10 November 2026.





