Events are triggered as users interact with your site or app
If you're migrating from Universal Analytics, read this migration guide instead.
The data you see in your reports comes from events that trigger as users interact with your website and/or app. For example, a page_view
event triggers when a user views a page on your site.
The following kinds of events are collected once you set up basic data collection.
- Automatically collected events
Automatically collected events are collected automatically when you set up data collection.
- Enhanced measurement events
Enhanced measurement events are collected automatically when you enable enhanced measurement. You can enable or disable the collection of individual enhanced measurement events in Admin.
For more advanced data collection, you can add the following events to your code (or define new events via the user interface):
- Recommended events
Recommended events are events that you implement, but that have predefined names and parameters. Recommended events unlock existing and future reporting capabilities.
- Custom events
Custom events are events that you name. Only create a custom event if no event in the other 3 categories will work for your use case. Custom events don't show up in most standard reports. You need to set up custom reports for meaningful analysis. To create custom events in the web interface, see Modify and create events via the user interface. To create events for a mobile app, see Log events.
Event names are case-sensitive; two events whose names differ only in case will result in two distinct events.