GA4 Event Parameters: What They Are and How to Set Them Up
Published 4 November 2026 · N7 Data

GA4 Event Parameters: What They Are and How to Set Them Up
GA4 event parameters are key-value pairs sent along with an event name to describe what happened: which button, which product, how much it cost, which page. The event name says what occurred, and the parameters say the details. To use them well, send them with a consistent naming scheme, stay inside Google’s collection limits, verify them in DebugView, and register the ones you want to report on as custom dimensions or metrics.
This guide covers each step in that order, with the limits, the ecommerce parameters that matter, and the mistakes that leave reports showing “(not set)”.
N7 Data turns GA4 behavior data into faster pages.
Foresight uses GA4 navigation data to predict and preload likely next pages, helping reduce waiting time without changes to your codebase.
Explore Foresight
TL;DR
- An event parameter is extra context attached to an event, sent as a key-value pair. Google defines it as additional data about a user interaction.
- You can send up to 25 parameters per event, and names and values have length limits you need to plan around.
- Parameters are visible in Realtime and DebugView right away. They only appear in standard reports and Explorations after you register them as custom dimensions or metrics, which can take up to 48 hours.
- In Google Tag Manager, an Event Settings variable lets you reuse the same parameters across tags and keeps naming consistent.
- Clean, consistent event data makes every downstream analysis better, including the behavioral models we build at Foresight.
Table of Contents
- What GA4 event parameters are
- Parameters GA4 collects for you
- Ecommerce parameters worth sending
- Limits and naming rules
- How to set up event parameters
- Register parameters so they show up in reports
- Verify before you trust the data
- Why parameters go missing or show “(not set)”
- A tracking plan that scales
- Why clean parameters matter for page speed
- Put your GA4 data to work with Foresight
- FAQ
- Sources
What GA4 event parameters are
Every GA4 hit is an event. Each event has a name, such as add_to_cart or file_download, and optionally a set of parameters. Google’s developer documentation describes events as being sent with an event name plus parameters expressed as key-value pairs in the payload.
A simple example: a generate_lead event on a lead-generation site might carry these parameters:
form_id:contact_footervalue:50currency:USD
Without parameters, you would only know that a lead was generated. With them, you know which form produced it and what it was worth.
Event parameters vs. event names vs. user properties
These three get confused constantly, and the confusion causes most reporting problems later.
| Concept | What it describes | Example | Scope |
|---|---|---|---|
| Event name | The action that happened | purchase |
Event |
| Event parameter | Details about that one action | coupon, shipping_tier |
Event |
| User property | An attribute of the person, persisting across events | customer_tier |
User |
The practical rule: if the value describes the action, it is a parameter. If it describes the person and stays true across many actions, it is a user property. The scope you choose here has to match the scope of the custom dimension you register later, or the report will not populate.
Parameters GA4 collects for you
You do not start from zero. Automatically collected events and enhanced measurement events include parameters by default, and Google also defines required and optional parameters for each recommended event. You add your own only when the defaults do not capture what you need.
Before creating a custom parameter, check whether a recommended one already fits. Using Google’s names keeps your data compatible with standard reports and avoids duplicate definitions of the same idea.
Ecommerce parameters worth sending
For online stores, parameters carry the commercial meaning of each step. Google lists recommended ecommerce events including view_item, select_item, add_to_cart, view_cart, begin_checkout, add_payment_info, purchase and refund, among others.
The parameters that matter most:
currency: a three-letter ISO 4217 code such asUSD. Google’s reference says that if you setvalue,currencyis required for revenue metrics to compute accurately.value: the monetary value of the event.items: an array describing each product. Beyond the prescribed item fields, you can add up to 27 custom parameters to the items array.transaction_id,coupon,shipping,tax: the purchase-level details.
Google’s ecommerce guide also advises setting each ecommerce parameter you have data for and sending currency at the event level when you send revenue values. Partial payloads mean partial reports.
Useful custom parameters beyond the standard set
Once the recommended ones are in place, custom parameters fill the gaps specific to your business. Some that tend to earn their place:
content_typeorpage_templateon page views, to compare product pages with category pages.search_termon internal site searches.cta_locationon button clicks (header, hero, footer).form_idon form events, so you can tell a newsletter signup from a quote request.payment_methodon checkout events.
Each should answer a question you will genuinely ask in a report. If you cannot name the report, do not send the parameter.
Limits and naming rules
GA4 does not log parameters that break its collection limits, and this is a silent failure: the event arrives, the parameter does not. Google’s collection limits page sets these numbers:
| Item | Limit |
|---|---|
| Parameters per event | 25 |
| Event name length | 40 characters |
| Parameter name length | 40 characters |
| Parameter value length | 100 characters |
page_title value |
300 characters |
page_referrer value |
420 characters |
page_location value |
1,000 characters |
Some habits that keep you inside these limits:
- Use lowercase snake_case for every name (
form_id, notForm ID). Names are case-sensitive, soForm_IDandform_idbecome two separate parameters. - Keep names short and descriptive. A name over 40 characters will not be logged.
- Trim or normalize long values, such as full product descriptions or long URLs, before sending them.
- Reuse one parameter across many events instead of inventing near-duplicates. Ten events each with a slightly different name for the same idea is how teams hit the 25 cap and end up with unreadable reports.
How to set up event parameters
There are three routes: Google Tag Manager, direct code with gtag.js, and editing events inside the GA4 interface. For most marketing and analytics teams, GTM is the practical choice because it does not require a development release.
In Google Tag Manager
- Create a tag of the Google Analytics: GA4 Event type. Per Google’s Tag Manager guide, you enter your GA4 Measurement ID and an event name.
- Under the event parameters section of the tag, add each parameter name and its value. Values are usually Tag Manager variables, such as a Data Layer Variable or a Click Text variable.
- Add a trigger that decides when the tag fires, for example a click trigger based on button label text.
- Preview in GTM’s debug mode, publish, then confirm in GA4 (see the verification section below).
Reuse parameters with an Event Settings variable
If several tags share the same parameters, create a Google Tag: Event Settings variable. Google explains that it reuses parameter key-value pairs across GA4 event tags, and you can include user properties there as well. The benefit is consistency: you change a parameter in one place instead of hunting through twenty tags, which cuts the typing errors that produce “(not set)” later.
In website code
With gtag.js, parameters go in the third argument of the event call, as in gtag('event', 'screen_view', { app_name: 'myAppName', screen_name: 'Home' }), the pattern Google documents. You can also use gtag('set', ...) to apply parameters to all subsequent events.
Directly in GA4
GA4 also lets you modify or create events from existing ones in the admin interface, which suits small adjustments when you have no tag access. For anything you plan to maintain, GTM or code gives you more control and a clearer audit trail.
Register parameters so they show up in reports
Sending a parameter is only half the job. To use a custom parameter in standard reports and Explorations, you register it as a custom dimension (for text values) or custom metric (for numbers). Google notes it can take up to 48 hours for data to appear after registration.
To register:
- In GA4, go to Admin, then Custom definitions.
- Create a custom dimension.
- Choose the scope: Event for an event parameter, User for a user property.
- Enter the parameter name exactly as it is sent.
Two points trip people up. First, if a parameter shows in DebugView and Realtime but not in Explorations, that is expected until it is registered. Second, registration is not retroactive: data collected before you created the dimension is not backfilled. Register parameters as soon as you add them to your tracking plan, not when someone asks for the report.
Verify before you trust the data
Google’s guidance is to use the Realtime and DebugView reports to confirm events and parameters are arriving, since they show data as it comes in. In DebugView, open the event and inspect its Parameters tab. If you use gtag('set') for global parameters, make sure it runs before the event fires, or the merged list will not look the way you expect.
A quick checklist for every new parameter:
- The event appears in DebugView with the expected name.
- Every parameter is present with a real value, not blank or
undefined. - Value formats are correct: numbers as numbers, currency as a three-letter code.
- After registration and a wait of up to 48 hours, the custom dimension returns values in an Exploration.
Why parameters go missing or show “(not set)”
When a value is absent from a report, work from collection to reporting.
- Check DebugView first. If the parameter is there, collection works and the problem is in reporting.
- Compare names character by character. A mismatch in spelling or case between the tag and the custom dimension means the dimension never fills.
- Check the scope. An event parameter registered as a user-scoped dimension, or the reverse, will not populate.
- Check the timing. Data sent before the dimension existed stays “(not set)” for those dates.
- Check the limits. A parameter over the length limits, or the 26th parameter on an event, is dropped without warning.
- Check variable values in GTM. A variable that resolves to nothing on a given page can leave the parameter out of the hit.
Most “tracking is broken” reports turn out to be a definition or timing issue rather than an outage, which is why DebugView is the first stop.
A tracking plan that scales
Teams that keep clean GA4 data usually share one habit: a written tracking plan. A spreadsheet is enough. For each event, list the name, trigger, parameters, example values, the owner, and whether the parameter is registered as a custom dimension.
Guidelines for the plan:
- Prefer a few generic event names with informative parameters over dozens of specific event names. A single
cta_clickwith acta_locationparameter beatsheader_cta_click,hero_cta_clickandfooter_cta_click. - Reserve parameter slots. With a 25-parameter ceiling per event, decide which ones are core and which are optional.
- Review quarterly. Delete parameters nobody reports on.
Why clean parameters matter for page speed
Event parameters are the raw material of behavioral analysis. The more consistently your site records navigation and interaction data in GA4, the more reliably you can see how visitors move from one page to the next.
That is where we come in. Foresight uses machine learning trained on your own GA4 navigation data to predict the next page a visitor is likely to open and preload it. Our goal is faster perceived loading and better conversion, and the quality of the analytics foundation behind it matters.
Perspective
We spend our days with GA4 navigation data, and we see the same pattern: sites that treat their event schema as a product, with consistent names, scoped parameters and a documented plan, get more out of every tool they connect to it.
Our view is that analytics data should work for you in real time, not only in monthly reports. A parameter such as
page_templateorcontent_typetells you how visitors move through your site. A model trained on that behavior can use it to decide which page deserves to be ready before the click happens.That is why we built Foresight around your own GA4 data rather than generic rules. It deploys through Google Tag Manager, so the same team that manages your event tags can run it without touching site code. Our models are trained on how your visitors actually navigate, and our aim is to cut Largest Contentful Paint to under 1.5 seconds and support conversion gains of up to 29%.
Good parameters make good analysis. Good analysis, applied to the next click, makes a faster site.
Julien
Put your GA4 data to work with Foresight
If your GA4 setup is in good shape and you want it to speed up your site, Foresight is built for that. It is a predictive preloading service for e-commerce and lead-generation sites: it trains machine learning models on your own navigation data, predicts the most likely next page, and preloads it. Delivery is through Google Tag Manager with no code changes, and it includes setup, onboarding, model training, Looker Studio reporting and ongoing model upkeep.
Pricing is published per domain: €150 per month or €1,500 per year, with custom pricing for high-traffic or multi-domain sites. Standard plans need no demo or sales call.
FAQ
How many event parameters can I send with one GA4 event?
You can send up to 25 parameters per event. GA4 does not log parameters that exceed its collection limits, so the extra ones are dropped without an error. For ecommerce, the items array allows up to 27 additional custom parameters beyond the prescribed item fields.
Do I need to register every event parameter as a custom dimension?
No. Parameters are collected and visible in Realtime and DebugView without registration. You only register the ones you want in standard reports and Explorations. Register as soon as you add the parameter, because historical data is not backfilled.
Why does my parameter show in DebugView but not in my reports?
That is expected until you create a matching custom dimension or metric. Once you register it, allow up to 48 hours for values to appear. If it still shows “(not set)”, check that the name and scope match exactly what the tag sends.
What is the difference between an event parameter and a user property?
An event parameter describes a single action, such as the coupon used on one purchase. A user property describes the person across many events, such as a customer tier. Register event parameters with event scope and user properties with user scope.
Can I set up event parameters without a developer?
Yes. In Google Tag Manager you create a GA4 Event tag, add parameters on the tag, and attach a trigger. An Event Settings variable lets you reuse the same parameters across tags. Developers are mainly needed when the values must come from the page’s data layer.
Sources
- Event parameters - Analytics Help
- Set up event parameters - Google for Developers
- Set up event parameters (DebugView guidance) - Google for Developers
- Measure ecommerce - Google for Developers
- Recommended events - Analytics Help
- Recommended events reference - Google for Developers
- Event collection limits - Analytics Help
- Set up Google Analytics events in Tag Manager
- Reuse event settings in Google Tag Manager - Analytics Help