Create an account
Go to firebase.google.com to create a Firebase account and download the Google Analytics for Firebase SDK. To learn how to use the SDK in your app, refer to the Firebase documentation on Google Developers.
Start collecting data
After you integrate the Google Analytics for Firebase SDK with your app, basic app-usage data is collected automatically and is available in Google Analytics and Google Analytics for Firebase. You don't need to add any code to enable automatically collected events, such as how many first opens, session starts, or in-app purchases you’ve had. This lets you see how much time users spent with your app, how many users were active during a certain period of time, and how often in-app purchases were made. User properties are also collected.
See your reports
After you create a Firebase account and integrate the Google Analytics for Firebase SDK with your app, sign in to either Google Analytics or Firebase to see your reports.
Google Analytics
To see reports in Google Analytics:
- Sign in to Google Analytics..
- Navigate to your app property. The report navigation will update to reflect the mobile app reports.
If you don't see your app listed in the Property selection menu, you need to add it.- Select Create new property from the Property menu.
- Click Mobile app.
- Select your Firebase app. If you don't see the app you're looking for, make sure you are an admin user for the app in Firebase.
- Click Connect app. The report navigation updates to reflect the mobile-app reports.
- Select the report you want from the report navigation (e.g., Dashboard, Events, Audiences).
Firebase
To see reports in Firebase:
- Sign in to your Firebase account at firebase.google.com.
- On the Welcome page, select your app.
- In the left navigation, click Analytics.
- Click the tab for the report you want (e.g., Dashboard, Events, Audiences).
Events, conversions, user properties, and audiences
There are four building blocks to app analytics: events, conversions, user properties, and audiences.
- Events are triggered when users take actions in your app. Several events are captured automatically by the Google Analytics for Firebase SDK. However, you need to add code to log the events for your app type. Logging these events along with their prescribed parameters ensures maximum available detail in reports and lets you benefit from the latest features and integrations as they become available.
- Conversions are the events that matter the most to your business. Think of them as your key performance indicators (KPIs). Marking an event as a conversion lets you send these conversions to the ad networks you already work with, including Google and external networks.
- User properties are characteristics of your users. Firebase captures several default user properties. You can also create your own. For example, if you want to track your users' favorite sports teams, create a team preference user property, and filter reports by team preference.
- Audiences are segmented groups of users defined by a combination of events and user properties. For example, you might want to see metrics for just your users from a specific country.
Next steps
- Implement the general events that apply to your app and the events for your app type .
- Look at your reports.