Working with web apps

Add your web app to a Firebase project, and then add the web SDK to your app. When you add the web SDK, your app is equipped to send data to Analytics.

Learn more about adding web apps to Firebase and about adding the web SDK to your app.

New Firebase users

If you are new to Firebase and are setting up your first project:

  1. Link Firebase and Analytics when you create your project.
  2. Add your web app to the project.
  3. Add the Firebase web SDK to your app, which enables Analytics data collection and reporting.

Existing Firebase users

If you are already a Firebase user:

Make sure you've linked Firebase and Analytics.

  1. Open your Firebase project.
  2. Open Project settings > Integrations.
  3. On the Google Analytics card, click Link.
  4. Select an Analytics Account or create a new one.
  5. Configure your Analytics settings.

If you already have a web app in your Firebase project:

  1. Add the Firebase web SDK to your app.
  2. Create a web property and web data stream in Analytics for data from your app.

If you do not have a web app in your Firebase project:

  1. Add your web app to a Firebase project.
  2. Add the Firebase web SDK to your app.
  3. Create a web property and web data stream in Analytics for data from your app.

Analytics users

If you already have an Analytics account and you have fully provisioned your web app (added the app to a Firebase project and added the web SDK to the app), then you can use Analytics to create a new web property and web data stream.

Exporting web data to BigQuery

When you add a web app to a Firebase project, that web data is automatically included in BigQuery Export.

When you export data, you can choose among web apps the same way you choose among mobile apps.

Building conditions with web data

Anywhere in Firebase where you can build a condition (e.g., Audiences, Remote Config), your web-app data is available in the same way as your mobile-app data.

Was this helpful?
How can we improve it?