November 22, 2026 · 8 min read · Thomas Osayi
How to track website leads with Google Analytics 4: forms, calls and UTMs
Track website leads in GA4 properly: send a lead event on successful form submits, count phone and email clicks, mark them as key events and tag campaigns with UTMs.
Plenty of small business owners have Google Analytics installed and cannot answer the question it exists for: where did last month's inquiries come from? GA4 counts visitors happily out of the box. It does not know what a lead is until you tell it.
This is the setup I use on service business sites: one reliable event for form leads, one for phone and email taps, both marked as key events, and campaign tags on every link you share outside the site. It takes an afternoon to do properly, and once it is in place, the reports start answering real questions.
What counts as a lead in GA4?
A lead in GA4 is whatever event you decide represents one, marked as a key event so Analytics reports it separately from ordinary activity.
Google's help center defines a key event as an event that measures an action that is particularly important to the success of your business. Any event can become one. If you used Universal Analytics or older GA4 guides, you will have seen these called conversions. In current GA4 the term is key events, and "conversion" is used for what you create in Google Ads, which can be imported from a GA4 key event so both tools count the same thing.
For a service business, a short list covers most leads:
- A contact, quote or booking form submitted successfully
- A tap on a phone number link
- A tap on an email link
- A booking completed in an embedded scheduler, if it can report back to the page
Resist marking everything. Page views of the contact page and scroll depth are interesting, but they are not leads, and a report full of soft key events hides the hard ones.
Does GA4 track form submissions automatically?
Partly: enhanced measurement can send form_start and form_submit events, but on many modern sites it misses submissions or counts attempts that failed.
According to Google's enhanced measurement documentation, form_start fires the first time a visitor interacts with a form in a session, and form_submit fires when they submit it, with parameters such as form_id, form_name and form_destination. Those parameters only appear in reports if you register them as custom dimensions.
The trouble is how modern forms work. A Next.js form that submits with JavaScript and shows a success message without loading a new page may not trigger the automatic event at all. Worse, a form that does trigger it may fire on the click even when validation fails or the server returns an error. Embedded forms inside iframes from third-party tools are invisible to it.
So I leave enhanced measurement on as a rough signal and do not mark form_submit as a key event. The key event comes from the site's own code, sent only when the server confirms the submission was saved.
How do I send a lead event when a form succeeds?
Send a generate_lead event from your site code after the server responds with success, not when the button is clicked.
Google's list of recommended events includes generate_lead, described as when a user submits a form online or submits information offline. Using a recommended name rather than inventing one keeps your reports consistent with Google's own documentation and integrations.
In a Next.js site using the Google tag, the flow looks like this:
- The form posts to a server action or an API route such as app/api/contact/route.ts.
- The route validates the fields, saves or emails the submission, and returns a success response.
- Only when the client receives that success does it call the gtag function with the event name generate_lead and a parameter such as form_name set to "quote_request."
- If you use Google Tag Manager, the client pushes an event to the dataLayer instead, and a GA4 event tag in Tag Manager fires on it.
The parameters should describe the form, never the person. Google's policy is explicit that no data passed to Analytics should be something Google could recognize as personally identifiable information, and that applies to URLs and page titles too. Do not send the name, email, phone number or message, and do not put them in the thank-you page URL.
How do I track phone and email clicks?
Send a custom event whenever someone taps a link that starts with tel: or mailto:, then mark those events as key events.
On mobile, a phone tap is often the most common lead a local business gets, and GA4 will not reliably separate it for you. Enhanced measurement's outbound click event is described for links to other websites, so do not count on it for phone links. There are two clean ways to add it:
- In code: a small click handler on every phone link that calls gtag with an event such as phone_click and a parameter for where the link was, for example "header" or "contact_page."
- In Google Tag Manager: a link click trigger that fires when the click URL starts with tel:, attached to a GA4 event tag named phone_click. Repeat with mailto: for email_click.
Be honest with yourself about what this measures. A tap opens the dialer; it does not prove a call connected or lasted long enough to matter. If calls are your main lead source, a call tracking service that assigns numbers per channel will tell you more, though it costs extra and needs care with your Google Business Profile number. For most small sites, tap tracking is a good, free middle ground.
How do I mark events as key events?
In GA4, go to Admin, open Events under Data display, find your event and click the star next to it.
The event has to have been received at least once before it appears in the Recent events list, so submit a test form first. If you want to set things up before any data arrives, the same screen has a Create event button where you can name the event and turn on the Mark as key event toggle. Google's help page notes that you need Editor access at the property level to mark an existing event, and at the time of writing a standard property can have up to 30 key events.
To check events in real time while testing, open DebugView under Data display in Admin, or the Realtime report. The Google Tag Assistant browser tool can put your browser in debug mode so your test events show up there. Submit a form, tap the phone link, and confirm both events appear with the parameters you expect.
How do UTM parameters connect leads to campaigns?
UTM parameters are tags you add to links you control outside your site, so GA4 can attribute the visit, and any lead that follows, to a specific source and campaign.
Google's URL builder documentation says you should always use utm_source, utm_medium and utm_campaign together. Missing ones show up as "(not set)" in reports. Values are case sensitive, so "Facebook" and "facebook" become two separate sources, which is why I write everything in lowercase.
Links worth tagging:
- The website link on your Google Business Profile, for example utm_source=google, utm_medium=organic and utm_campaign=gbp, so map visits are distinguishable from ordinary search
- Links in your email newsletter, with utm_medium=email
- The link in your Instagram or TikTok profile, with utm_medium=social
- Flyers or QR codes, with utm_medium=print and a campaign name per print run
- Paid ads, unless the ad platform already tags them automatically
Never put UTM tags on links within your own site. A tagged internal link restarts attribution, so a visitor who arrived from Google and clicked your tagged homepage banner would be credited to the banner instead.
Where do I see which channels bring leads?
Open Reports, then Acquisition, then Traffic acquisition, and look at the key events column, filtering it to your lead events.
That report breaks sessions down by channel and by session source and medium, so you can see how many generate_lead and phone_click events came from organic search, your Google Business Profile, email or paid ads. Switch the key events column to a single event if you want form leads and phone taps separately. For a monthly habit, save a simple exploration with source and medium as rows and your lead events as values.
I build sites to make this kind of question answerable. For LACEUP, a basketball apparel storefront I built, visits, product views, adds to bag and checkout attempts are recorded to the store's own database to power its dashboard, with Vercel Analytics alongside for page-level traffic. A service business rarely needs that much, but the principle is the same: decide which actions matter, record them reliably, and read them by source.
What does a complete setup look like?
Here is an illustration with a made-up business: Summit Roofing, serving the San Fernando Valley, with a quote form, a click-to-call button and a monthly email.
- generate_lead fires after the quote route saves the request, with form_name set to "quote."
- phone_click fires on every tel: link, with a location parameter for header, footer or quote page.
- email_click fires on the single mailto: link in the footer.
- All three are marked as key events.
- The Google Business Profile link, the newsletter links and the truck magnet QR code all carry lowercase UTM tags.
- No names, emails or phone numbers reach GA4.
After a month, the owner can see that most quote forms came from organic search and most phone taps came from the Business Profile, which tells him where to spend time. Setting this up on an existing site typically takes a few hours. On a new build it is part of my Business Site from $450, and the website cost calculator on this site shows how a quote form changes the estimate.
The bottom line
To track website leads in GA4, send generate_lead only when a form submission succeeds, add phone and email tap events, star those events as key events in Admin, and tag every outside link you control with lowercase utm_source, utm_medium and utm_campaign. Keep personal details out of Analytics entirely. Test in DebugView before you trust any number, then read the Traffic acquisition report monthly so your marketing decisions rest on real leads rather than visitor counts.
Questions, answered in one line
What is a key event in GA4?
A key event is any GA4 event you mark as especially important to your business, such as a lead form submission, and it is reported separately so you can see which channels drive it.
Does GA4 track form submissions automatically?
Enhanced measurement can send form_start and form_submit events, but it does not always detect modern JavaScript forms and cannot tell a successful submit from a failed one.
How do I track phone number clicks in GA4?
Send a custom event when someone taps a link that starts with tel:, either from your site code or with a Google Tag Manager link click trigger, and mark that event as a key event.
How many key events can I have in GA4?
At the time of writing, Google allows up to 30 key events on a standard GA4 property and 50 on Analytics 360.
Can Thomas Osayi set up lead tracking on a new website?
Yes, his Business Site from $450 includes analytics, and he adds lead events for forms and phone taps so the owner can see which channels bring inquiries.
Sources
- Mark events as key events Google Analytics Help
- Enhanced measurement events Google Analytics Help
- Recommended events Google Analytics Help
- URL builders: Collect campaign data with custom URLs Google Analytics Help
- Best practices to avoid sending Personally Identifiable Information (PII) Google Analytics Help
Related articles
- How much does a restaurant website cost in 2026?
- How to take restaurant orders online without third-party fees
- Toast vs Squarespace vs a custom website for restaurants
- Google Business Profile vs website: do you need both?
Custom Next.js websites for businesses
Custom Next.js websites for small businesses, clinics, restaurants and startups. Fast, SEO-ready, built from scratch with booking, ordering or quote tools. Based in Los Angeles.
See the service