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? ▾
Related tools and guides
LinkedIn to Email in 3 Steps: A Google Sheets Walkthrough
MarketingA complete walkthrough of the LinkedIn Enricher Google Sheets add-on — from installation to your first batch of enriched contacts, screenshots included.
Finding Decision-Makers with Google Maps + AI Agents
MarketingScraping Google Maps gives you names and phone numbers. Add an AI website crawl to get decision-maker names, emails and outreach copy from Sheets.
Email Verification vs Validation: What Actually Matters
MarketingThe clear answer to what email validation and verification actually do, which one you need, and a decision tree to pick the right approach by volume.