Switch to ADA Accessible Theme
Close Menu

Counting What the Contact Form Sends: GA4 Key Events for Law Firm Leads

Isometric illustration of a contact form, an envelope dropping into a navy box, a checklist, a padlock and a gold funnel on a white platform, with the MileMark logo

Ask a law firm how many people filled out its contact form last month and there are usually two answers. Google Analytics shows one number. The intake inbox or case management system shows another, and nobody can explain the gap. Sometimes Analytics counts newsletter sign-ups as leads. Sometimes the main case review form never registers at all.

Google Analytics 4 calls the actions that matter to a business key events. Setting them up properly for a law firm takes an afternoon, a short written plan and a habit of checking the result against the firm’s own records.

Why the Automatic Form Count Is Not a Lead Count

GA4’s enhanced measurement can record two form events without any code: form_start, the first time a visitor interacts with a form in a session, and form_submit, when a form is submitted. Both help show where people abandon a form. Neither tells a managing partner how many prospective clients reached the firm.

The automatic event treats every form on the site alike. A newsletter box in the footer, a site search field built as a form, a client portal login and the case review form can all produce form_submit. Depending on how the form plugin works, the event may also record an attempt that failed validation, or miss a form that sends its data in the background without a page reload.

Choose One Success Signal for Each Form

The dependable approach is to count only the moment a submission has actually gone through. On most law firm sites, that signal comes from one of two places.

The first is a confirmation page. If the form redirects to a thank-you page after a successful send, GA4 can build a new event from the page_view of that URL. Google’s guide to creating key events uses exactly this example and explains why the shortcut fails: page_view itself cannot be marked as a key event, because every pageview on the site would then count. The same guide warns against modifying page_view directly, since a modification overwrites the original event.

A confirmation page only works as a signal if people cannot reach it any other way. A few standards keep it clean:

  • Each lead form has its own confirmation URL, such as /thank-you-case-review/ and /thank-you-contact/, so the forms can be told apart.
  • The page is set to noindex, left out of the XML sitemap and never linked from menus or other pages.
  • The page still helps the visitor by saying when the firm will respond and giving the main phone number.

The second source is the form plugin’s own success event, for forms that show an on-page message instead of redirecting. Contact Form 7, for example, publishes DOM events that separate a successful send (wpcf7mailsent) from invalid input (wpcf7invalid) and suspected spam (wpcf7spam). A developer can send the GA4 event from the success event only, either through the Google tag or a Tag Manager trigger. A trigger tied to clicks on the submit button should be avoided, because it also fires when a form is rejected or fails to send.

Building this into the site from the start is part of good website design, where every form has a defined success path before launch.

Write the Event Plan Before Anyone Builds It

A one-page event plan keeps different people from creating overlapping events with different names over the years. For a typical firm, it can be short:

  1. generate_lead for every successful lead form. This is Google’s recommended event name for a form submission, and using it feeds the Lead acquisition report. Add a parameter such as form_type with fixed values like case_review, general_contact, spanish_contact or callback_request.
  2. A phone tap event for clicks on tel: links, named something like phone_click. Report it separately from forms, since tapping a number does not mean a call connected.
  3. A booking event for confirmed consultations from an online scheduler, if the firm uses one.
  4. No key event for newsletter sign-ups, guide downloads, video plays or scroll depth. These can stay as ordinary events.

Standard properties allow up to 30 key events. Three or four keeps reports readable and keeps ad platforms from optimizing toward actions that never produce a client. The same plan should sit with the firm’s broader marketing plan, so whoever runs ads or reporting next year inherits the definitions along with the account.

Mark the Event and Check the Counting Method

In GA4, key events are managed under Admin, then Data display, then Events. An event that has already been received can be starred. A new event can be created there and marked as a key event before data arrives. Marking takes effect from that point forward and does not change historical data, and Google allows up to 24 hours for a new key event to appear in standard reports, though Realtime shows it within minutes.

The counting method deserves a look in older properties. Google offers “Once per event,” which it recommends, and “Once per session,” which it labels legacy and which is the default for key events migrated from Universal Analytics goals. A property set up through the old migration tool may still count one lead per session, even when a visitor sends two different forms. Once per event is usually the right setting for a firm.

Keep Client Details Out of Analytics

Law firm forms collect names, phone numbers, email addresses and a description of someone’s legal problem. None of it belongs in Analytics. Google’s PII guidance states that no data Google could recognize as personally identifiable may be passed to it, and it names email addresses and personal mobile numbers as examples. It also points out that page URLs and titles are a common way PII leaks in by accident.

That last point is easy to miss. Some form plugins add submitted values to the confirmation URL, producing something like /thank-you/?name=Jane&email=jane@example.com, and Analytics records the whole address. The checks are simple:

  • Submit a test form and read the confirmation page URL in the browser. It should contain no field values.
  • Send only fixed labels as event parameters, such as form_type or practice area chosen from a dropdown, never the text of a message box.
  • Turn on data redaction for the web data stream, which removes email addresses on a best-effort basis and strips URL query parameters the firm specifies.

For a profession built on confidentiality, the standard should be that Analytics knows a case review form was sent and nothing about who sent it or why.

Test Every Form Before Trusting the Numbers

Google’s Tag Assistant turns on debug mode for the tester’s own browser, and DebugView in the GA4 Admin area then shows each event as it arrives, with its parameters. A short test routine for each lead form covers the cases that break most often:

  • A complete, valid submission should produce exactly one generate_lead with the correct form_type.
  • A submission with a required field left blank should produce no generate_lead.
  • A phone-sized browser should behave the same as a desktop one.
  • The Spanish-language version of the form, if there is one, should send its own form_type value.

DebugView shows nothing when a consent banner is active and the tester has declined analytics cookies, so accept them during testing. Repeat the tests after any plugin update, theme change or redesign.

Reconcile Against the Intake Log Each Month

The most useful check takes ten minutes. Once a month, compare the generate_lead count in GA4 with the number of web form inquiries in the intake log or case management system for the same dates, form by form.

The two numbers will rarely match exactly. Visitors who decline analytics cookies or use blockers will not appear in GA4, and spam that slips past the filter will appear in the inbox. What matters is that the gap stays roughly stable. A sudden drop in GA4 with steady inquiries points to broken tracking. A rise in GA4 with no new inquiries points to a confirmation page being reached by some other route. A lead count nobody checks is a guess with a chart attached.

Firms that tag calls by source can add phone leads to the same monthly table, next to the SEO results that produced them.

Common Questions

Should every form on the site be a key event?

No. Only forms that start a conversation about a potential matter should count. Newsletter sign-ups, event registrations and client portal logins can be tracked as ordinary events for context, but counting them as key events inflates the lead count.

Why does GA4 report fewer leads than the firm received?

Some gap is normal, because consent choices, browser privacy settings and ad blockers prevent a share of visits from being measured. A large or growing gap usually means a form that submits without a page reload is not being tracked, or a recent site update removed the tag from the confirmation page.

Can the firm track which leads became signed cases?

GA4 has recommended events for later stages, such as qualify_lead and close_convert_lead, but sending them requires the case management system to report back. For most firms, the monthly comparison against an intake log tagged by source answers the question without that integration.

MileMark is a digital marketing agency for law firms that builds websites designed to get found in Google and AI search. If you are not sure your contact forms are being counted correctly, our free website audit can include a review of your form tracking and what to fix first.

Contact Our Award Winning Legal Marketing Agency Today

We aren’t the type of company to over-promise and under-deliver when it comes to building your law firm brand. We have built thousands of custom, responsive law firm websites up to Google’s latest mobile and accessibility standards. We have 60+ years of combined legal marketing expertise at MileMark, we exclusively build and optimize attorney websites, including AI search marketing. We utilize only the best strategies from dozens of studies and experiences on optimizing sites, conversions, trends and outcomes. Boost your presence online, contact our law firm marketing experts for a free website consultation today.

Tampa, FL
813-200-5844

5100 W Kennedy Blvd
Suite 152
Tampa, FL 33609

Fort Lauderdale, FL
954-446-9016

500 E Broward Blvd
Suite 1710
Fort Lauderdale, FL 33394

Boca Raton, FL
561-570-1987

20283 State Road 7
Suite 24
Boca Raton, FL 33428

Miami, FL
305-728-5184

701 Brickell Ave
Suite 1550
Miami, FL 33131

Orlando, FL
407-530-0110

121 S Orange Ave
Suite 1500
Orlando, FL 32801

Baltimore, MD
410-609-6168

100 International Dr
23rd Floor
Baltimore, MD 21202

Neptune, NJ
732-515-4141

3600 Route 66
Suite 150
Neptune, NJ 07753

Scranton, PA
570-218-5645

SNB Plaza
108 N Washington Ave
Scranton, PA 18503

Hermosa Beach, CA
310-928-2970

2447 Pacific Coast Hwy
2nd Floor
Hermosa Beach, CA 90254

  • facebook
  • X
  • linkedin
  • instagram
  • youtube
  • tiktok

© MileMark Media, LLC. All rights reserved.