GA4 Tracking Plan Generator
Pick your business type and measurement goals to get a table of recommended GA4 events, their parameters, key event suggestions and sample dataLayer.push snippets. Everything runs in your browser.
1. Business type & goals
Choose a business type to preload goal groups, then toggle them as you like.
2. Sample dataLayer.push
Pick one event or view them all. Values are examples; replace them with your site's real data.
Events by type
3. Tracking plan table
| Event | Type | Parameters | Key event | Purpose |
|---|
How to use
Choose a business type, adjust the goal groups, then read the table to see what to measure. Send the dataLayer.push snippet to your developer or use it as the basis for GA4 Event tags in Google Tag Manager (Custom Event trigger matching the event name). Export the CSV to document your tracking plan.
Method
Type: Recommended = event name defined by Google · Automatic = Enhanced measurement · Custom = a name you define
Recommended event and parameter names follow GA4 documentation (for example purchase, add_to_cart, begin_checkout, generate_lead, sign_up). For e-commerce, clear the previous ecommerce object with { ecommerce: null } before each push. Custom events use lowercase letters and underscores, up to 40 characters.
Limits
This is a starting list, not a replacement for reviewing the current GA4 documentation and your own site's specifics; Google may change events or parameters. Automatic events only work when Enhanced measurement is on and depend on your page structure. The tool sends nothing to GA4, so you still need to implement and verify with DebugView.
Short FAQ
What is a key event? An event you mark as important to your business goals in GA4 (formerly called a conversion). The suggestion column is only a guide.
Should I use custom event names? Only when GA4 has no fitting recommended event; prefer standard names so built-in reports work correctly.