GA4 Custom Events: Naming Rules, Parameters and Examples

GA4 Custom Events: Naming Rules, Parameters and Examples: GA4 & analytics article cover from AnalyticsLiv

In short

GA4 custom events track the actions that matter to your business beyond the default events, such as form submissions, calls or video views. Name them in lowercase with underscores, remember names are case-sensitive, avoid reserved names, and add custom parameters for context. This guide includes example events for lead-generation and publishing sites.

Contents7 sections

Talk to a specialist

Google Analytics 4 (GA4) records some events automatically, but the actions that matter most to your business usually need custom events. This guide covers how to name them, how to add custom parameters and which events suit lead-generation and publishing sites.

What are custom events in GA4?

Custom events track user interactions beyond GA4's default and enhanced measurement events. Examples include user logins, form submissions and specific button clicks. Start by listing the actions that matter most to your goals; a GA4 measurement plan is the best place to write them down before you build anything.

How should you name GA4 custom events?

Keep names consistent and readable. Use lowercase letters and underscores instead of spaces, for example lead_form_submit. GA4's rules are:

  • Names must start with a letter.
  • Use only letters, numbers and underscores. Don't use spaces.
  • Don't use reserved event names or prefixes. GA4 shows an error if you try.

Uppercase letters and numbers are allowed, but use them sparingly so names stay predictable.

Are GA4 event names case-sensitive?

Yes. my_event and My_Event are recorded as two different events, so mixed capitalisation splits your data. Google also reserves some event names (such as page_view and session_start) and some prefixes. Check the reserved list before you name a new event so it doesn't clash with what GA4 collects itself.

How do custom event parameters add context?

Parameters add detail to each event, so you can see not only that something happened but what, where and how much. You can also send custom parameters with ecommerce events.

For example, a watch_video event tracks when a user watches a video embedded on the website. You could send these parameters with it:

ParameterWhat it holds
video_idThe unique identifier for the video
video_titleThe title of the video being watched
watch_timeTime spent watching the video, in seconds
completion_percentageThe percentage of the video the user watched

Which custom events should a lead-generation site track?

Track the actions that show someone becoming a lead: form submissions, click-to-call and email clicks, and contact submissions. Together they show how well your lead-generation pages work.

EventWhen it firesUseful parameters
lead_form_submitA user submits a lead formlead_type (contact inquiry, demo request, quote request)
click_to_callA user taps a click-to-call button
email_link_clickA user clicks an email link

Form funnel tracking: once the events and parameters are live, build a funnel exploration in GA4 from the steps of your form. Define the sequence of events that make up a completed form, then watch where users drop off. Completion and abandonment rates show which step to fix first.

Which custom events should a publishing site track?

Publishers need to know which content keeps readers engaged. Useful events include "read more" or "view more" clicks, video plays and social shares.

  • article_read tracks when a user reads an article. Send article_title, author_name and mins_read (time spent reading, in minutes) to see which articles and topics draw the most interest.
  • watch_video shows how video content performs, so you can plan more of what people watch.
  • Social share events show which content gets passed on and how far it reaches.

Summary

Good GA4 event tracking starts with a short list of the actions that matter, consistent names that follow Google's rules, and parameters that add context. Tailor the events to your type of site and they will answer real business questions instead of filling reports with noise. If you want help planning or auditing your events, see our GA4 and analytics setup service.

Frequently asked questions.

Ask us your own question

Yes. GA4 treats my_event and My_Event as two different events, so a change in capitalisation splits your data. Use one convention, such as lowercase with underscores, everywhere.

Use lowercase letters and underscores instead of spaces, for example lead_form_submit. Names must start with a letter and use only letters, numbers and underscores. Avoid names and prefixes Google reserves.

A parameter adds context to an event. For a watch_video event you might send video_id, video_title, watch_time and completion_percentage so you can see which videos people watch and how far they get.

Need help with GA4?

Talk to the team that sets up, audits and fixes GA4 and Tag Manager for clients.