Ad

How To List Firebase Projects Which Are Linked To Google Analytics

- 1 answer

I am trying to list all google analytics properties connected to a google account.

While this works fine using the google analytics management api, it seems the connected firebase projects are missing:

image1

While in the analytics web UI the firebase property is listed. I took a look at how Google itself queries for this data and they use some kind of internal API:

https://analyticssuitefrontend-pa.clients6.google.com/v1/search/entityHeaders

Result:

enter image description here

I tried adding a firebase related scope (https://www.googleapis.com/auth/firebase.readonly) to my OAuth authorization but the property was still missing.

How can I query for the full list?

Ad

Answer

As DaImTo mentioned in a comment these systems are separate and firebase analytics data can not be queried via the google analytics API. This also holds true for listing connected firebase projects.

The confusion might arise, because google provides access to firebase analytics data under the hood of the google analytics website.

Ad
source: stackoverflow.com
Ad