← All projects

Case study

GA4 & GTM Lead Tracking
Implementation

Implementing GA4 and Google Tag Manager for a local plumbing business to measure website behavior and key lead-generation actions, including contact-form submissions and phone-number clicks.

ClientLocal plumbing business
RoleMarketing analytics
ToolsGA4 · Google Tag Manager · Tag Assistant

01 — Overview

The challenge

The plumbing business relied on phone calls and contact-form submissions to generate leads, but lacked clear visibility into how visitors interacted with its website and which actions actually resulted in potential customers.

The goal

Build a measurement system that could answer one question: how are users generating leads, and which marketing channels are driving those leads?

02 — Measurement strategy

Both conversion actions were sent through GA4's generate_lead event, with a lead_type parameter used to distinguish how each lead was generated. This avoided needing a separate event for every lead method.

InteractionGA4 eventParameterValue
Free quote submittedgenerate_leadlead_typefree_quote_form
Phone number clickedgenerate_leadlead_typephone_call

03 — Implementation

Configured separate GTM triggers for successful form submissions and phone-link clicks. The phone trigger fires on any Click URL starting with tel:, a generic match rather than one hardcoded number, so it works regardless of which phone number appears on the page. Both triggers feed into a consistent GA4 lead measurement structure.

GA4 Generate Lead Free Quote Form tag configuration showing lead_type parameter set to free_quote_form
Form-submission tag configuration
GTM Phone Call - Link Call trigger, Click URL starts with tel:
Phone-call click trigger
Tag Assistant summary showing all three tags fired successfully
Tag Assistant validation — all tags fired

04 — Validation

GA4 DebugView confirmed the lead_type parameter successfully traveled from the website through GTM into GA4 for both lead methods. The parameter was then registered as an event-scoped custom dimension, and generate_lead was marked as a key event, connecting the technical setup to actual marketing reporting.

GA4 DebugView showing generate_lead events with lead_type values phone_call and free_quote_form
DebugView — both lead types confirmed

05 — Outcome

This project created an end-to-end lead measurement framework that captures the site's primary conversion actions and enables future analysis of lead generation by traffic source and lead type.

Related: Google Ads Search campaign for the same business →