[UA] Set up event measurement (Universal Analytics) [Legacy]

You are viewing a legacy article about Universal Analytics. Learn more about Google Analytics 4 replacing Universal Analytics.
This article is about setting up event measurement in Universal Analytics. See the following resources for similar information related to Google Analytics 4:

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

google-developers-svg

gtm-logo-sm-svg

Was this helpful?

How can we improve it?
true
Choose your own learning path

Check out google.com/analytics/learn, a new resource to help you get the most out of Google Analytics 4. The new website includes videos, articles, and guided flows, and provides links to the Google Analytics Discord, Blog, YouTube channel, and GitHub repository.

Start learning today!

Search
Clear search
Close search
Google apps
Main menu
912064514742324310
true
Search Help Center
true
true
true
true
true
69256
true
false