This article is about Universal Analytics, which is going away. It's critical that you migrate your Universal Analytics property settings to Google Analytics 4, or you will begin to lose data on July 1, 2023 (July 1, 2024 for Analytics 360 properties). Learn how to migrate your settings.

Set up event measurement (Universal Analytics)

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.

Related resources



Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

Clear search
Close search
Google apps
Main menu
Search Help Center