How do I use event parameters effectively in GA4?
Applies to: Google Analytics 4 (GA4)
Last updated: May 2025
Problem
You want to pass additional context with events—such as product name, button label, or form type—but aren’t sure how to structure or use event parameters in GA4.
Solution
GA4 allows you to send up to 25 parameters per event to capture extra information. These parameters help you understand event context, build reports, define audiences, and create custom dimensions.
Step-by-Step Guide
1. Understand Default vs. Custom Parameters
GA4 has some recommended parameters for standard events (like value, currency, items), but you can also create custom parameters for your unique needs.
Examples:
button_textform_typepage_sectioncta_position
2. Send Parameters with an Event
Using gtag.js:
gtag('event', 'form_submit', {
form_type: 'contact',
button_text: 'Send Message'
});
Using Google Tag Manager:
- Open your GA4 Event tag
- In the Event Parameters section:
- Add key-value pairs:
- Name:
form_type, Value:'contact' - Name:
button_text, Value:'Send Message'or use GTM variables
- Name:
- Add key-value pairs:
- Save and publish
3. Register Custom Parameters as Custom Dimensions (If Needed)
If you want to use a parameter in reports:
- Go to Admin > Custom Definitions > Create Custom Dimension
- Name it (e.g., “Form Type”)
- Set the scope to “Event”
- Use the exact parameter name (e.g.,
form_type) - Save
Only registered parameters will appear in Explorations or standard reports.
4. Use Parameters in Reports and Audiences
- Use them as filters or segments in Explorations
- Include them in event tables for granular analysis
- Use them to define audiences, e.g., users who submitted a form where
form_type = 'demo'
Best Practices
- Be consistent with parameter names and values (use lowercase, underscores)
- Keep parameter values short and descriptive
- Use recommended parameters when tracking standard events (for consistency)
- Don’t pass PII (e.g., names, emails) in parameters
Notes
- GA4 allows up to 25 parameters per event
- You can create up to 50 custom dimensions per property
- Custom parameters are not retroactive—data only appears after registration




