Starting from Google Analytics
Create a Google Analytics 4 property
To measure app data in Analytics, you need to create a corresponding project in Firebase and establish a link between that project and your property.
Learn more about creating a Google Analytics 4 property
Firebase users who have access to that project and who have the Firebase permission firebaseanalytics.resources.googleAnalyticsEdit, such as Project Owners, also effectively have Edit permission for the linked Google Analytics 4 property by default.
After you create a Google Analytics 4 property, you have the option to set the maximum Analytics permission for all Firebase users to one of the following:
- Edit (including link management) (default)
- Edit (excluding link management)
- Read and analyze
- No permission
With either Edit permission, Firebase users are able to carry out operations in Analytics for Firebase like create audiences, mark events as conversions, and link the Google Analytics 4 property to Google Ads.
Starting from Firebase
If you previously enabled Analytics for your Firebase project, then when you upgrade your project, your project is automatically linked to a Google Analytics 4 property.
If you did not initially enable Analytics for your project but choose to later, then you have the option to automatically create a new Google Analytics 4 property or you can link to an existing Google Analytics 4 property.
Create a project
When you create a project in Firebase, you have the option to integrate with Analytics. If you already have one or more Google Analytics accounts, you can associate your project with one of those. If you do not already have a Google Analytics Account, a new one will be created for you with the name Default Account for Firebase.
Firebase users who have access to that project and who have the Firebase permission firebaseanalytics.resources.googleAnalyticsEdit, such as Project Owners, also effectively have Edit permission for the linked Google Analytics 4 property by default.
Analytics users who subsequently edit the Google Analytics 4 property settings have the option to set the maximum Analytics permission for all Firebase users to one of the following:
- Edit (including link management) (default)
- Edit (excluding link management)
- Read and analyze
- No permission
With either Edit permission, Firebase users are still able to carry out operations in Analytics for Firebase like create audiences, mark events as conversions, and link Analytics for Firebase to Google Ads. You carry out administration of the property in Google Analytics Admin rather than in the Firebase console.
Link your Firebase project to Analytics
Firebase Owners can set up and manage the Analytics link under Project Settings > Integrations.
Set up a new Analytics link
- Open your Firebase project.
- Open Project settings > Integrations.
- On the Google Analytics card, click Link.
- Select an Analytics Account or create a new one.
- If you select an existing account, you have the option to select an existing Google Analytics 4 property in that account or to create a new property.
- If you create a new account, then a new Google Analytics 4 property is created for you and your project is linked to that property.
- Learn more about setup and limits
- Configure your Analytics settings.
Edit an Analytics link
- Open your Firebase project.
- Open Project settings > Integrations.
- On the Google Analytics card, click View link.
- Remove the existing Analytics link.
- Follow the instructions for setting up a new Analytics link.
Relink your Firebase project
If you had previously linked your Firebase project with your Analytics account but are no longer able to locate your Firebase project in Analytics:
- Open your Firebase project.
- Open Project settings > Integrations.
- Click the Analytics card to link Analytics to your project.
Unlink Analytics from your Firebase project
Firebase Owners can unlink Analytics under Project Settings > Integrations.