google-analyticsgoogle-analytics-apifirebase-analyticsgoogle-analytics-firebase

How to filter results by app Id while using Google Analytics Data API (GA4)


I'm using Google Analytics Data API (GA4) to fetch metrics from Firebase Analytics. Now I want to filter my metrics by app (website 1 or website 2 or iOS), something like what we are presented in the Project Overview section in Firebase, I can filter by the app using the visibility icon.enter image description here

What is the dimension that I need to use to achieve this?


Solution

  • I believe streamName is the dimension that can be useful in this case.