Sub topic 4
Deciding What Counts as a Lead and a Sale
Assume you have a GA4 property with a web data stream, Editor access, and a basic understanding of forms and checkout pages. This chapter focuses on the business definitions behind your events. Sending and reporting those events come later.
Start with a business outcome
A GA4 event records something that happened on your website or app. A key event is an event that represents an outcome important to your business. Before choosing an event name, decide what outcome you need to measure.
A useful outcome definition answers three questions:
- What action did the person complete?
- What evidence proves that the action completed?
- What should the business do with the result?
Do not mark every useful interaction as a key event. A page view, product view, or button click may help explain a journey, but it is usually not the final outcome.
| Business outcome | Completion evidence | Typical GA4 event |
|---|---|---|
| Contact request | Thank-you page or successful server response | `generate_lead` |
| Quote request | Quote request stored successfully | `generate_lead` |
| Online order | Order confirmation with an order ID | `purchase` |
| Subscription payment | Payment approved and recorded | `purchase` |
Define a lead
A lead is a person or organization that has shown enough interest for your business to follow up. The definition depends on your sales process.
For a consulting company, a completed consultation request may be a lead. For a software company, a qualified trial registration may be a lead. For an online retailer, a newsletter signup might be useful, but it may be too weak to represent a sales lead.
Set a clear completion rule. For example:
> Count a lead only when the form passes validation, the submission reaches the business system, and the user sees a confirmation message.
This rule prevents false leads from incomplete forms, validation errors, and button clicks. If different forms have different business value, include a parameter such as lead_type or form_name. Do not include names, email addresses, phone numbers, or other personally identifiable information.
Define a sale
A sale is a completed transaction that your business accepts as revenue. For ecommerce, count the sale after payment succeeds and the order is created. Use the order's unique identifier as the transaction ID.
Do not count a product-page view, add-to-cart action, checkout start, or payment-button click as a sale. Those actions are valuable supporting events, but they do not prove that money changed hands.
Decide how to handle cancellations, refunds, failed payments, and test orders. Keep test transactions out of production data where possible. If an order is later refunded, record that process separately according to your reporting design rather than sending another purchase for the same order.
Choose the event that matches the outcome
Use a recommended event when it describes the action accurately:
- Use
generate_leadfor a completed lead submission. - Use
purchasefor a completed sale. - Use a custom event only when no recommended event fits.
The event name should describe the completed outcome, not the interface element that preceded it. Write the definition down and share it with marketing, sales, engineering, and finance. Consistent definitions make GA4 data comparable with your customer relationship management and payment systems.
Exercise
A visitor clicks “Submit” on a contact form, but the form fails validation. Should this count as a lead?
Show answer
No. Count the lead only after the valid submission is accepted by the business system and the confirmation step occurs.