How to Create Custom Events in GA4
Create custom events three ways: In GA4 Admin > Events > Create Event (modify existing events based on conditions), through Google Tag Manager (create a GA4 Event tag with custom event name and parameters), or via gtag.js code (gtag('event', 'your_event_name', {parameter: value})). Use recommended e
Quick Summary
Create custom events three ways: In GA4 Admin > Events > Create Event (modify existing events based on conditions), through Google Tag Manager (create a GA4 Event tag with custom event name and parameters), or via gtag.js code (gtag('event', 'your_event_name', {parameter: value})). Use recommended event names when possible (purchase, sign_up, generate_lead) for better reporting. Custom event names should be snake_case, descriptive, and consistent across your implementation.
Overview
Create custom events three ways: In GA4 Admin > Events > Create Event (modify existing events based on conditions), through Google Tag Manager (create a GA4 Event tag with custom event name and parameters), or via gtag.js code (gtag('event', 'your_event_name', {parameter: value})). Use recommended event names when possible (purchase, sign_up, generate_lead) for better reporting. Custom event names should be snake_case, descriptive, and consistent across your implementation.
Related Guides
See our complete guide library for detailed coverage of setup, tracking, analysis, and optimisation across all platforms.
Process Flow
Interactive diagram — drag to pan, scroll to zoom
Step-by-Step Guide
Follow these 3 steps to complete this guide
Step-by-Step Setup
Best Practices
Common Issues and Solutions
Frequently Asked Questions
Common questions about this topic
Was this guide helpful?
Your feedback helps us improve our guides