How a GA4 key event works
Follow a visitor from submitting a form to becoming a measurable key event.
The visitor submits a form
A visitor fills out your contact or lead-generation form. After they submit it, your website sends them to a confirmation page.
GA4 receives a page_view
When the confirmation page loads, the GA4 tag records a page_view event automatically. It carries the full URL in page_location.
event_name = page_view
page_location = https://example.com/thank-you GA4 checks your conditions
Your custom event tells GA4 to look for a page_view where the page URL contains thank-you. Both conditions have to be true.
event_name equals page_view ✓
page_location contains thank-you ✓ The custom event fires
Both conditions match, so GA4 creates your generate_lead event next to the original page_view. With "copy parameters" on, it keeps the page and traffic source details.
generate_lead
page_location = https://example.com/thank-you
source / medium = newsletter / email The event becomes a key event
Because generate_lead is marked as a key event, GA4 counts it as a conversion. You can now compare leads by source, medium and campaign in your acquisition reports.
generate_lead → KEY EVENT
Reports → Acquisition → Traffic acquisition Tip: click any step, or use the ← → arrow keys.
Ready to build your own?
Test your conditions against real URLs, then follow the setup guide.
Frequently Asked Questions
What is a key event in GA4? ▾
Does the page_view disappear when the custom event fires? ▾
What if my form doesn't redirect to a thank-you page? ▾
You Might Also Like
Top 5 Lookalike Audience Tools for B2B
MarketingTurn a closed-lost company list into lookalike targets. CompanyEnrich, DiscoLike, Ocean.io, GraphIQ and Clay compared on how deep they match.
Dynamic Calendar in Google Sheets
MarketingBuild a month calendar from one SEQUENCE formula, then turn it into an SDR follow-up heatmap with COUNTIF and FILTER.
How to Reduce Email Bounce Rate in Cold Outreach
MarketingWhy standard bounce-rate advice fails at scale, the hidden factors most guides miss, and the minimum viable fix for cold outreach teams in 2026.