Before anything is installed, a tracking plan maps each action to measure to the Google Analytics 4 event that represents it and to its trigger.
The template below starts from a content site that generates leads. Keep the rows that fit your site, add your own, then get the table approved before you open Google Tag Manager.
GA4 tracking plan template for a content site
| Action to measure | GA4 event | Trigger | Parameters to check | Type |
|---|---|---|---|---|
| Contact form submitted | generate_lead | Successful submission, confirmed by the form or the thank-you page | value, currency | Recommended event |
| Sign-up | sign_up | Account created | method | Recommended event |
| Login | login | Successful login | method | Recommended event |
| Article shared | share | Click on a share button | method, content_type, item_id | Recommended event |
| Purchase | purchase | Order confirmed | transaction_id, value, currency, items | Recommended event |
| Site search | view_search_results | Automatic, from the search parameter in the URL | search_term | Enhanced measurement |
| Click to another site | click | Automatic, link to an external domain | link_url, link_domain, outbound | Enhanced measurement |
| File download | file_download | Automatic, link to a PDF, spreadsheet, archive… | file_name, file_extension, link_url | Enhanced measurement |
| YouTube video played | video_start | Automatic, compatible embedded video | video_title, video_url | Enhanced measurement |
| Scroll to the bottom of the page | scroll | Automatic, 90% of the page visible | engagement_time_msec | Enhanced measurement |
| Affiliate link click | affiliate_click | Click on a link marked as affiliate | link_url, item_name | Custom event |
Event and parameter names taken from Google Analytics Help (recommended events and enhanced measurement). The affiliate_click event is an example of a custom event.
01 / 05
What a tracking plan contains
One row per action, with the same grid for all of them.
Each row links an action that matters to the business to a specific event. Add an owner and a status column to the grid, for example "to install", "tested" or "live".
The plan also serves as a reference after launch. When a number looks surprising in your reports, it tells you which trigger produces the event and who approved it. To pass values such as a form name or a product to those events, see our guide to the GTM data layer.
02 / 05
Start from the events Google already defines
Create a custom event only as a last resort.
Google Analytics 4 already collects page_view, session_start, user_engagement and first_visit with no setup. Enhanced measurement adds, among others, outbound clicks and file downloads.
For everything else, Google publishes a list of recommended events, such as generate_lead, sign_up or purchase. Their names and parameters are recognized by the reports. A custom event cannot reuse a reserved name such as click, scroll or form_submit.
03 / 05
Naming events and parameters
Google Analytics rules apply as soon as you design the plan.
An event name starts with a letter and contains only letters, numbers and underscores, with no spaces. It cannot start with an underscore, or with firebase_, ga_, google_ or gtag. Names are case-sensitive, so Generate_Lead and generate_lead count as two different events.
On a standard property, an event or parameter name is at most 40 characters long, and an event carries at most 25 parameters. A parameter value is limited to 100 characters, with exceptions such as page_location. A property has at most 25 user properties.
04 / 05
Test every row before launch
A row moves to "tested" when the event shows up in DebugView.
Google Tag Manager's Preview mode, or Tag Assistant, turns on debugging and shows the tags that fired. DebugView then displays, in real time, the events Google Analytics receives, with their parameters.
Exclude your team's traffic during testing so it doesn't skew the data. On a site that collects consent, also test what happens when cookies are refused, since collection changes in that case.
05 / 05
Frequently asked questions
Resources




