Set up event measurement

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