Google Analytics
Turn raw traffic data into actionable insights
Access Google Analytics 4 (GA4) data via the Data API and Admin API. Run reports, get realtime data, and manage properties.
Look up data, search, list, and analyze
Get Account Summaries
readList all Google Analytics accounts and properties the user has access to. Run this first to discover available property IDs.
Get Property Details
readGet detailed information about a specific GA4 property including timezone, currency, and industry category.
Run Report
readRun a Google Analytics Data API report with custom dimensions, metrics, date ranges, and filters. This is the main tool for querying historical data.
Run Realtime Report
readRun a realtime report to see current active users and their behavior. Uses realtime-specific dimensions and metrics.
Get Metadata
readGet available dimensions and metrics for a property, including custom definitions.
List Google Ads Links
readList Google Ads accounts linked to a GA4 property.
Batch Run Reports
readRun up to 5 reports in a single request for efficiency. Use when you need multiple different views of the data at once (e.g., traffic by country AND traffic by device AND traffic by source). Each report can have its own dimensions, metrics, date range, and filters.
Run Pivot Report
readRun a pivot table (cross-tabulation) report. Use for questions like 'show revenue by country broken down by device type' or 'sessions by source grouped by medium'. Creates a matrix-style view of the data.
Run Funnel Report
readRun a funnel analysis to see how users progress through a series of steps. Essential for conversion optimization — shows drop-off rates at each stage. Example: 'page_view → add_to_cart → begin_checkout → purchase'. Uses the v1alpha API.
Check Compatibility
readCheck if specific dimensions and metrics can be used together in a report. Run this before run_report to avoid errors when combining dimensions and metrics that are incompatible. Returns compatibility status for each field.
List Key Events
readList all key events (conversions) configured for a property. Key events are the most important actions tracked in GA4 — purchases, sign-ups, form submissions, etc. Understanding these is critical for meaningful analysis.
List Audiences
readList all audience definitions for a property. Audiences are user segments defined by behavior, demographics, or custom criteria. Shows what segments are being tracked and their configuration.
List Data Streams
readList all data streams (web, iOS, Android) feeding data into a property. Shows measurement IDs, site URLs, app package names, and stream configuration. Essential for understanding what data sources exist.
List Custom Dimensions
readList all custom dimensions defined for a property. Custom dimensions track business-specific data beyond standard GA4 fields (e.g., 'membership_tier', 'content_category'). Shows parameter name, display name, scope, and description.
List Custom Metrics
readList all custom metrics defined for a property. Custom metrics track business-specific numeric data (e.g., 'order_value', 'video_watch_time'). Shows parameter name, display name, scope, and measurement unit.
Connection details
Ready to connect Google Analytics?
Sign up free and let your AI work with this service today.
Get Started