This article is about Universal Analytics properties, which will stop processing data on July 1, 2023 (October 1, 2023 for Analytics 360 properties). If you haven't already, start using a Google Analytics 4 property.

Google Analytics Events with gtag.js

To get started with measurement of Google Analytics Events, add basic page measurement to your page configuration if you have not already done so.

Next, add JavaScript to your site that sends Analytics the details of each Google Analytics Event. Refer to the gtag.js developer documentation.

Finally, learn more about Google Analytics Events (i.e. Category, Action, Label, Value).

Was this helpful?
How can we improve it?
Clear search
Close search
Google apps
Main menu
Search Help Center