Try the MCP server for Google Analytics. Install from
GitHub, and see the
announcement for more details.
Google Analytics for apps
Stay organized with collections
Save and categorize content based on your preferences.
This page explains Google Analytics for apps, and what you need to do to get
started.
Google Analytics measures events to help you learn about your performance. For
example, you can use Google Analytics to measure engagement, insights about your
audience, and how they interact with your app.
Set up your account
Here's an overview of the steps to set up your Google Analytics account for data
collection:
- If you don't already have one, create a Google Analytics
account.
- After creating an account, create a new
property.
Properties are like containers that hold the data you collect.
- Once you've created a new property, add an app data stream
that sends the data from your app to the property.
Tag your app
To add Google Analytics to your app and begin logging events, use
Firebase.
Firebase is Google's integrated app-developer platform. The Firebase SDK
collects basic app-usage data for you automatically, without the need to write
any additional code. Here are some examples of what you can measure:
- How many times your app was opened.
- How often in-app purchases were made.
- How many users were active during a certain period of time.
For measurement across multiple platforms, use the Measurement
Protocol. To get started, try our
Send app events to Google Analytics
codelab.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-04 UTC.
[null,null,["Last updated 2025-08-04 UTC."],[[["\u003cp\u003eIntegrate Google Analytics into your app using Firebase for event logging.\u003c/p\u003e\n"],["\u003cp\u003eUtilize the Measurement Protocol for cross-platform data collection and analysis.\u003c/p\u003e\n"],["\u003cp\u003eExplore the "Send app events to Google Analytics" codelab for practical implementation guidance.\u003c/p\u003e\n"]]],["The core content focuses on integrating Google Analytics for app event tracking. To do this, use Firebase for adding Google Analytics and logging events. For tracking across various platforms, utilize the Measurement Protocol. A codelab is provided as a starting point, guiding users through sending app events to Google Analytics. This enables users to effectively measure and analyze app activity across multiple platforms.\n"],null,["# Google Analytics for apps\n\nThis page explains Google Analytics for apps, and what you need to do to get\nstarted.\n\nGoogle Analytics measures events to help you learn about your performance. For\nexample, you can use Google Analytics to measure engagement, insights about your\naudience, and how they interact with your app.\n\nSet up your account\n-------------------\n\nHere's an overview of the steps to set up your Google Analytics account for data\ncollection:\n\n1. If you don't already have one, [create a Google Analytics\n account](//support.google.com/analytics/answer/9304153#account).\n2. After creating an account, [create a new\n property](//support.google.com/analytics/answer/9304153#property). Properties are like containers that hold the data you collect.\n3. Once you've created a new property, [add an app data stream](//support.google.com/analytics/answer/9304153#stream&zippy=%2Cios-app-or-android-app) that sends the data from your app to the property.\n\nTag your app\n------------\n\nTo add Google Analytics to your app and begin logging events, use\n[Firebase](//firebase.google.com/docs/analytics/get-started).\n\nFirebase is Google's integrated app-developer platform. The Firebase SDK\ncollects basic app-usage data for you automatically, without the need to write\nany additional code. Here are some examples of what you can measure:\n\n- How many times your app was opened.\n- How often in-app purchases were made.\n- How many users were active during a certain period of time.\n\nMeasure additional platforms\n----------------------------\n\nFor measurement across multiple platforms, use the [Measurement\nProtocol](/analytics/devguides/collection/protocol/ga4). To get started, try our\n[Send app events to Google Analytics\ncodelab](//firebase.google.com/codelabs/firebase_mp#0)."]]