Skip to main content
Google Analytics logo

Google Analytics (GA4)

Lets an agent read GA4 property summaries and run Analytics reports.

What it can do

MethodWhat it does
analytics_list_property_summariesList GA4 properties accessible to the connected account.
analytics_run_reportRun a GA4 Data API report - property_id, dates, and dimension/metric API names.

How to get credentials

Google OAuth - no token to copy.

  1. Start setup and enter the Google email that has GA access.
  2. Approve (analytics.readonly).

property_id comes from the GA4 admin panel - the numeric ID under Property Settings.

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
USER_GOOGLE_EMAILThe Google account with GA access

Troubleshooting

  • Property not in list_property_summaries - your account isn't added to that GA4 property. Ask the property admin to grant Viewer.
  • Metric/dimension not accepted - pass the API name (e.g. activeUsers), not the UI label.
We love our partners - FlyMy.AI builds with the best. Thanks, Google Analytics!