Skip to main content

Google Analytics (GA4)

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

What it can do

  • analytics_list_property_summaries — list properties you can access
  • analytics_run_report — run a GA4 report (property_id, dates, dimensions, metrics)

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.