If your analytics cannot tell you which channels produce real leads, every marketing decision becomes guesswork. Google Analytics 4 (GA4) can measure lead generation well, but only if it is set up deliberately. Out of the box it tracks page views and some interactions; it does not know which form submissions were genuine enquiries, which were spam, or which became customers.
This guide shows how to set up reliable lead tracking in GA4, step by step, including the details most setups get wrong.
Direct answer: how do you track leads in GA4? Send a generate_lead event (or another clearly named event) only when a form submission or booking actually succeeds, include useful parameters such as the form name, mark that event as a key event in GA4, verify it in DebugView, then share it with Google Ads as a conversion. For better quality data, also import qualified leads or sales from your CRM, and respect user consent requirements in your markets.
Key events vs conversions: what changed?
In March 2024 Google renamed GA4 "conversions" to key events. Google's help centre explains that legacy conversions were automatically renamed key events, while Google Ads continues to use the term "conversions": a key event becomes a Google Ads conversion only when you import or share it into Google Ads (Google Analytics Help).
So the workflow is:
- Send an event to GA4 when something valuable happens.
- Mark the event as a key event in GA4.
- Optionally create a Google Ads conversion from that key event for bidding and reporting.
Step 1: Decide what counts as a lead

Before touching any code, list the actions that matter:
| Action | Suggested event | Key event? |
|---|---|---|
| Contact form submitted successfully | generate_lead | Yes |
| Consultation booked | book_consultation (custom) or generate_lead with a parameter | Yes |
| Phone number clicked | click_phone (custom) | Optional |
| Newsletter sign-up | sign_up | Usually secondary |
| Pricing page viewed | Page view | No |
Google's list of recommended events includes generate_lead for lead generation, along with events for later lead stages (Google Developers). Using recommended names where they fit keeps reports consistent and future-proof.
Keep the number of key events small. If everything is a key event, nothing is.
Step 2: Fire the event only when the submission succeeds
This is the most common mistake. Many setups fire a lead event when someone clicks the submit button or reaches a page, which counts failed submissions, validation errors, spam and repeat clicks as leads.
GA4's enhanced measurement can detect form interactions automatically (Google Analytics Help), but it cannot know whether your server accepted the submission. For lead generation, send the event yourself after the server confirms success.
Example: tracking a successful form submission
const res = await fetch('/api/contact', { method: 'POST', body: JSON.stringify(formData) })
const data = await res.json()
if (res.ok && data.ok && !data.duplicate) {
window.gtag?.('event', 'generate_lead', {
form: 'contact',
service_interest: formData.interest,
})
}
Two details matter:
- Only after success: the event fires once the server has accepted and processed the form.
- No duplicates: if the visitor double-clicks or retries, the server recognises the duplicate and the event does not fire again.
This is exactly how we track enquiries and consultation bookings on our own website: events fire only after the server confirms the booking or message, and duplicate submissions are ignored.
Using Google Tag Manager instead
If you manage tags in Google Tag Manager, push a dataLayer event after success (for example dataLayer.push({ event: 'lead_submitted', form: 'contact' })) and create a GA4 event tag triggered by that custom event. Avoid generic "form submission" triggers for lead events, for the same reasons as above.
Step 3: Add useful parameters
Parameters make reports actionable. Useful examples:
form: which form (contact, demo request, quote).service_interest: what the visitor asked about.consultation_type: for booking flows.valueandcurrency: an estimated lead value, if you assign one.
To report on custom parameters in GA4, register them as custom dimensions in the admin settings.
Never send personal information such as names, email addresses or phone numbers to GA4 as event parameters; Google's policies prohibit sending personally identifiable information to Analytics.
Step 4: Mark the event as a key event
In GA4, go to Admin → Data display → Events, find your event once it has been received, and mark it as a key event. You can also create the key event in advance by name. Google's help centre describes the process (Google Analytics Help).

Step 5: Test with DebugView
Before trusting the data:
- Enable debug mode (for example with the Google Tag Assistant or a debug parameter).
- Open Admin → DebugView in GA4 (Google Analytics Help).
- Submit a test form and confirm the event arrives once, with the right parameters.
- Submit an invalid form and confirm no lead event fires.
- Double-click submit and confirm only one event is recorded.
Standard reports can take some time to show new data, so use DebugView and realtime reports for testing.
Step 6: Send leads to Google Ads
If you run Google Ads, create a conversion from your GA4 key event, or use a Google Ads conversion tag directly. Decide which conversions are primary (used for bidding) and which are secondary (observed only). For lead generation, bidding on raw form submissions often attracts low-quality leads, so consider:
- Using Google Ads enhanced conversions for leads to improve matching.
- Importing qualified leads or closed deals from your CRM as offline conversions, and making those the primary optimisation goal.
Our Google Ads management work almost always starts with this step, because bidding systems can only optimise toward the signals you give them. Our guide to Google Ads AI Max explains why conversion quality matters even more with AI-driven campaigns.
Step 7: Respect consent
If you have visitors in the European Economic Area or the UK, you need a consent management approach that meets local rules. Google's Consent Mode lets your tags adjust their behaviour based on users' consent choices (Google Developers). Configure consent before launch, and expect some differences between GA4 and your CRM when users decline analytics cookies; this is one more reason to import CRM data for the definitive picture.
Step 8: Build lead reports that drive decisions

Once data flows, create reports that answer business questions:
- Leads by channel and campaign: which sources produce leads?
- Leads by landing page: which pages convert visitors into enquiries?
- Lead rate by device: are mobile forms underperforming?
- Leads by service interest: what are people asking for?
Then connect GA4 to your CRM data to see which channels produce qualified opportunities and revenue, not just form fills. If you need help designing the full measurement plan, our digital growth strategy service covers analytics, tracking and reporting.
Tracking bookings, calls and chats
Contact forms are only one source of leads. Apply the same success-only principle to every channel:
- Online bookings: fire the event when the booking is confirmed by your scheduling system, not when someone opens the calendar. Include the consultation type as a parameter.
- Phone calls: a click on a phone link (
tel:) shows intent but not a completed call. For call-heavy businesses, use call tracking numbers that report connected calls and their duration, and import qualified calls as conversions. - Live chat and chatbots: send an event when a visitor submits contact details or books through chat, not when the chat window opens.
- Email clicks: track
mailto:clicks as a secondary event; they rarely belong in bidding.
Example measurement plan
A simple measurement plan keeps marketing, sales and developers aligned. Here is a template for a B2B services website:
| Business goal | Event | Parameters | Key event | Google Ads |
|---|---|---|---|---|
| New enquiries | generate_lead | form, service_interest | Yes | Secondary |
| Consultations booked | book_consultation | consultation_type | Yes | Primary |
| Qualified leads (from CRM) | Offline import | lead_stage | n/a | Primary |
| Content engagement | file_download | file_name | No | No |
| Phone intent | click_phone | page | No | Secondary |
Write this down before implementation, agree definitions with sales ("what is a qualified lead?") and review it whenever forms or offers change.
Common GA4 lead tracking mistakes
- Firing lead events on button clicks or thank-you page views that can be reloaded.
- Counting spam and duplicate submissions as leads.
- Too many key events, diluting reporting and bidding.
- Sending personal data in event parameters.
- Not testing invalid submissions and double-clicks.
- Optimising Google Ads for raw leads without importing quality signals.
Frequently Asked Questions
What is the difference between a key event and a conversion in GA4?
Key events are the GA4 term for important actions you mark in Analytics. Conversions now refer to Google Ads: a key event becomes a Google Ads conversion when you import or share it into Google Ads.
Should I use GA4 enhanced measurement for form tracking?
It is useful for understanding form interactions, but for lead generation it is more reliable to send your own event only when the server confirms a successful submission, so failed and duplicate submissions are not counted.
Which event name should I use for leads in GA4?
Google's recommended events include generate_lead, which is a good default for lead submissions. Use parameters to distinguish forms, or custom event names for distinct actions such as bookings.
Why do GA4 lead numbers differ from my CRM?
Differences come from consent choices, ad blockers, spam filtering, duplicate handling and attribution windows. Treat your CRM as the source of truth for lead counts and use GA4 for channel and page analysis.
How long does it take for key events to appear in GA4 reports?
Events appear in DebugView and realtime reports within seconds, but standard reports can take up to a day or more to process. Use DebugView for testing, then check standard reports the following day before drawing conclusions or changing campaigns.
Can I send lead emails or names to GA4?
No. Google's policies prohibit sending personally identifiable information to Google Analytics. Use non-personal parameters such as form name or service interest instead.
Key Takeaways
- GA4 calls important actions key events; Google Ads still calls them conversions.
- Fire lead events only after the server confirms success, and ignore duplicates.
- Use
generate_leadand descriptive parameters, and keep key events few. - Test valid, invalid and duplicate submissions in DebugView before going live.
- Import qualified leads and sales from your CRM so ads optimise for real outcomes.
Conclusion
Accurate lead tracking is the foundation of every good marketing decision. A careful GA4 setup, with success-only events, sensible key events, proper testing and CRM data, turns analytics from a traffic counter into a tool that shows where your customers really come from.
Want it set up properly the first time? See our digital growth strategy services or book a free consultation.
Sources
- Google Analytics Help, "Events and key events": support.google.com
- Google Analytics Help, "Mark events as key events": support.google.com
- Google Developers, "Recommended events": developers.google.com
- Google Analytics Help, "Enhanced measurement events": support.google.com
- Google Analytics Help, "Monitor events in DebugView": support.google.com
- Google Developers, "Set up consent mode": developers.google.com