- For information about creating and modifying events in Google Analytics 4, go to [GA4] Modify and create events in Analytics.
- For information about using custom events in Google Analytics 4, go to [GA4] Custom events.
- For information about setting up Ecommerce events in Google Analytics 4, go to [GA4] Set up ecommerce events.
To see data in your Events reports, you need to add code to your site or app to collect Event data.
In this article:Tag setup with Google Tag Manager
If you use Google Tag Manager to manage your tags, read the Analytics Events tag setup guide.
Tag setup (web)
If you have not already added the basic Analytics tag, do this first.
To collect Event data from a website, you'll need to add JavaScript to your site that sends Analytics the details of each Event that is triggered. Refer to the Analytics events documentation on our help center and developer site for more information.
Tag setup (app)
To collect Event data from a mobile app, use one of the Analytics SDKs.
To collect Event data from an Internet connected device (a point-of-sale device, for example, but not a website or mobile app), refer to the the Measurement Protocol developer guide.