Build a GA4 measurement plan before adding more tags
When next month’s budget is on the table, a dashboard full of visits cannot tell you which inquiries became booked work. We build a Google Analytics 4 (GA4) measurement plan from that business question. First define the lead, find its record, and prove that analytics counts it once.
Francisco Contreras · Founder, Machina
5 min read

Find the business record that answers the question
We believe a lead count should answer a business question before it earns a place in a budget review. If booked jobs decide the spend, we open a recent job in the sales system and trace it back to the original inquiry. Does that inquiry carry a marketing source? Where the trail stops, we name the gap. The team may be able to compare incoming inquiries by service while it still cannot connect those inquiries to jobs.
A separate break can sit between the website and GA4. In our July 2026 audit of an anonymized pest-control business, GA4 showed traffic, but the server’s generate_lead event had never reached GA4. We replayed the website request against its configured host and got a 404. Both server routes used that host. We put the delivery failure ahead of any new report or tag.
Give each lead stage its own definition
For a site that takes quote requests, we count an inquiry when the form is accepted and saved. The saved request gives us something to check against GA4. Sales records which inquiries qualify and which become booked jobs. A phone-number click helps us check the page. It does not tell us whether a call happened. When calls matter to the budget, we define their outcome from a call record the team can verify.
We keep the inquiry’s internal ID on the later sales record, so a job booked next week can be traced to the request that started it. We leave inquiries with no known source in the business total and show the gap in the source report. The office still sees every request it needs to follow up with, even when the channel comparison covers only the leads we can connect. To tag a campaign link before it goes out, use our free UTM builder.
Use event names for actions and parameters for details
In GA4, an event names what happened. Its parameters describe that action. Google recommends generate_lead for a submitted request. We use it for accepted quote requests across the site. A termite-treatment request carries service_type with the value termite-control. A rodent request uses the same event name with a different service value. One event count covers both services, and the parameter lets us separate them.
We choose one place to send the accepted-inquiry event. Where the site keeps a reliable record of each saved request, that save is our trigger. Before adding a tag, we ask the site maintainer what already fires when the form succeeds. If the browser and server both send generate_lead for the same save, the report can show two leads for one request.
We keep contact details and free-text answers in the sales record. Google’s Analytics privacy policy prohibits personally identifiable information in ordinary analytics collection, including through page URLs. We check the confirmation URL as well as event fields, then send a value from a short list of service names instead of someone’s typed answer.
Write the trigger, owner and test in the plan
We give the site maintainer and sales lead the same worksheet. The budget question sits above the table, alongside the GA4 property and website data stream. Some saved inquiries never reach GA4 when a visitor declines analytics or the browser blocks the tag. The business system still counts them, so we record when the site may send the event. On an existing site, we walk a recent inquiry through these rows before changing anything. On a new site, the rows define what the maintainer builds and what sales confirms.
| Record | When it counts | Owner and detail | Acceptance check |
|---|---|---|---|
| generate_lead in GA4 | The server saves an accepted quote request. | Site maintainer records service_type and form_source. | One eligible test saves one inquiry and reports one event with the expected values. |
| Qualified inquiry | Sales records that the request meets its qualification criteria. | Sales lead keeps the original inquiry ID and qualification date. | Find the sales decision on the same inquiry. |
| Booked job | The office books the work. | Office lead records the inquiry ID and booking date in the job record. | Open the job and trace it back to the saved request. |
Illustrative worksheet adapted from Machina’s published measurement plan. The sales and job rows describe records to keep in this example.
We give the inquiry event one owner, even when someone else manages the report. In our published measurement plan, the same parameter names carry from the event specification to the custom definitions. We add each test’s date and result to the worksheet so the next person can rerun it after a form change.
Register the custom dimensions the report needs
If the report needs inquiries by service, we check whether a built-in dimension already answers the question. For a custom detail like service_type, we register an event-scoped custom dimension. We name it “Service type,” choose Event for its scope and enter the exact parameter name service_type. That scope ties the service label to a particular request, even when one person asks about two services.
We wait 24 to 48 hours after both sending the custom data and creating the dimension before judging the new report. If Service type is still blank after that window, we check whether the event arrived with the parameter and whether its name matches the definition exactly. The received event tells us whether to investigate the site or the report.
Prove the count before using it in a budget review
We submit a test request we can recognize in the business system, using the same form a customer uses. For a visit eligible for analytics, we watch Realtime in the intended GA4 property, isolate the test traffic and confirm that one saved inquiry produces one generate_lead. We open the event and check the service and form values against the worksheet. A rejected form should save no inquiry and send no lead event. Refresh the success page and check that the count stays the same.
Once GA4 processes the data, we open the Events report. We compare the Event count for generate_lead with eligible saved inquiries over the same date range and time zone. If accepted inquiries are the outcome we report in GA4, we mark the tested event as a key event. A missing event sends us back to the delivery path. Two events for one save send us to the places that fire it. If the counts agree but jobs still have no traceable source, we use the report for inquiries and give the sales-record gap an owner.
If the event is missing, Part 2 walks through the collection audit. If you need someone to own the plan, connection tests and reconciliation across the website, GA4 and sales system, see our marketing analytics and conversion tracking work. Reach out to Machina. Tell us which count you trust least and which decision depends on it.
Keep reading
Related guides
Explore related work
Next steps
Let's talk about your project
Tell us what you're working on. We'll tell you if we can help — and exactly what we'd do.
