Set up events

  • Events in Google Analytics allow you to track user interactions such as page loads, clicks, and purchases to gain insights into your website or app's performance.

  • This guide explains how to set up recommended and custom events using gtag.js or Google Tag Manager, while automatically collected and enhanced measurement events are set up by default.

  • If you've already set up Google Analytics and are seeking more granular data or specific features, this guide provides the steps to implement those events.

  • You can monitor your implemented events in real-time using the Realtime and DebugView reports within Google Analytics.

  • To enhance your event tracking further, you can set up event parameters and designate key events for deeper analysis.

Events let you measure user interactions on your website or app; for example, you can measure when someone loads a page, clicks a link, and makes a purchase. Google Analytics uses data from events to create reports with information about your business. Learn more

This guide shows you how to set up recommended events and custom events on your website using the Google tag (gtag.js) or Google Tag Manager. You don't need to set up automatically collected and enhanced measurement events.

Audience

You've set up Google Analytics and are starting to see data in your reports, but you want to collect more information than what Analytics collects automatically, or you want to unlock certain features and capabilities in Analytics.


See your events in Analytics

You can see your events and their parameters using the Realtime and DebugView reports. Note that the DebugView report requires some additional configuration before you can use the report. These two reports show you the events users trigger on your website as the events are triggered.

Next steps