Sub topic 14
Documenting Events in a Tracking Plan
Assume you already understand GA4 events, parameters, basic JavaScript objects, and Google Tag Manager tags and triggers. A tracking plan turns those concepts into a shared implementation contract. It records what your website should measure, how each event is sent, and how the data will be used.
Why a tracking plan matters
An event name alone does not explain its purpose. For example, tutorial_complete could mean that a learner finished reading, passed a quiz, or watched a video. A tracking plan defines the meaning before anyone writes code.
A useful plan helps you:
- Keep event names and parameters consistent across pages.
- Choose a recommended event when one fits.
- Prevent several teams from measuring the same action differently.
- Give developers clear triggers and payloads.
- Explain which parameters need custom dimensions or metrics.
- Record whether an event should become a key event.
Fields to document
For each event, record at least:
- Event name: The exact GA4 name, such as
sign_uportutorial_complete. - Purpose: The user action or business question the event represents.
- Event type: Automatic, enhanced measurement, recommended, or custom.
- Trigger: The condition that sends the event, such as a form success or button click.
- Parameters: The parameter name, data type, allowed values, and meaning.
- Implementation method:
gtag.js, Google Tag Manager, or the Measurement Protocol. - Destination: The GA4 property and data stream receiving the event.
- Reporting use: The reports, audiences, or explorations that need the data.
- Key event status: Whether the event represents an important outcome.
- Owner and status: The person responsible and whether the event is proposed, tested, or live.
Use lowercase snake_case consistently. Document allowed values when a parameter is categorical. For example, placement might allow only header, lesson, or footer.
| Event name | Type | Trigger | Parameters | Key event |
|---|---|---|---|---|
| `tutorial_complete` | Custom | Success message appears after the final lesson | `tutorial_id` (string), `completion_method` (string) | Yes |
| `sign_up` | Recommended | Account creation succeeds | `method` (string) | Yes |
Model the implementation path
The plan should show how a user action becomes a GA4 event. This makes gaps easier to find before release.
Review the plan before implementation
Check each proposed event against the existing GA4 vocabulary. If a recommended event describes the action, use its predefined name and parameters. Create a custom event only when no recommended event fits.
Also check ownership and privacy. Do not place email addresses, full names, or other personally identifiable information in event parameters. Define a retention or cleanup process for events that are no longer useful.
Exercise
A team wants to track a successful newsletter registration with the event name newsletter_done. What should you check before approving it?
Show answer
Check whether a recommended event such as sign_up fits, document the trigger and parameters, confirm the name follows GA4 rules, identify reporting and key event use, and record the implementation owner.