Page Summary
-
Google Analytics 4 offers optional events for capturing specific user behaviors beyond automatic collection, requiring manual setup.
-
These optional events, including recommended and custom ones, provide more detailed reporting on user interactions.
-
Event configuration involves specifying required and optional parameters, with many ecommerce events utilizing an
itemsarray containing detailed Item object parameters. -
Referencing the provided documentation is necessary to correctly set up these optional events.
Google Analytics sends some event types automatically. This page describes optional, additional events you can configure to measure more behaviors and generate more useful reports for your business. These additional events take more effort to configure before you can use them, so Google Analytics can't send them automatically. For step-by-step instructions on how to configure recommended and custom events for your website or app, see Set up events.
To view details of each event you can use, select your tag management platform:
Firebase events
If you use the Google Analytics for Firebase SDK, you can configure additional events in the language you use to build your app. To learn how to add events to your app, see Log events.
To learn which events are available and how to implement them, choose the language you use from the following list:
- Android – Java
- Android – Kotlin
- iOS – Swift
- iOS – Objective-C
- JavaScript – Web version 9 (modular)
- JavaScript – Web version 8 (namespaced)
- C++
- Unity
- Cloud Functions
- Flutter - Mobile
- Flutter - Web