Choose a language

GA4 tracking plan : a template to frame your measurement

Measurement resource

GA4 tracking plan : a template to frame your measurement

One row per action to measure, with its GA4 event, trigger and parameters.

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 measureGA4 eventTriggerParameters to checkType
Contact form submittedgenerate_leadSuccessful submission, confirmed by the form or the thank-you pagevalue, currencyRecommended event
Sign-upsign_upAccount createdmethodRecommended event
LoginloginSuccessful loginmethodRecommended event
Article sharedshareClick on a share buttonmethod, content_type, item_idRecommended event
PurchasepurchaseOrder confirmedtransaction_id, value, currency, itemsRecommended event
Site searchview_search_resultsAutomatic, from the search parameter in the URLsearch_termEnhanced measurement
Click to another siteclickAutomatic, link to an external domainlink_url, link_domain, outboundEnhanced measurement
File downloadfile_downloadAutomatic, link to a PDF, spreadsheet, archive…file_name, file_extension, link_urlEnhanced measurement
YouTube video playedvideo_startAutomatic, compatible embedded videovideo_title, video_urlEnhanced measurement
Scroll to the bottom of the pagescrollAutomatic, 90% of the page visibleengagement_time_msecEnhanced measurement
Affiliate link clickaffiliate_clickClick on a link marked as affiliatelink_url, item_nameCustom 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

Frequently asked questions

Your feedback

Was this page helpful?

Share

Could this page help someone?

Explore the topicData & Analytics

Audience measurement, Google Analytics 4 and Google Tag Manager: set them up, check them and keep your data reliable.

Explore the topicWebsites & Platforms

WordPress, Shopify, PrestaShop and WooCommerce: run, integrate and maintain a site without making it fragile.

Explore the topicGuides & How-Tos

Methods, training and practical benchmarks to scope a web project, test a site and make better decisions.

Explore the topicSecurity & Compliance

Backups, updates, GDPR, cookies and audience measurement: keep a site safe and compliant.