Agentic Service Discovery

Resources

G

Google Analytics

by Google

Query GA4 property data, run custom reports, retrieve real-time metrics, and analyze audience behavior via the Google Analytics Data API v1.

AnalyticsFreeOAuth 2.0analyticsreportingga4web-analyticstrafficconversionsaudience

How agents use Google Analytics

  • Agent runs a weekly GA4 report and generates a plain-language traffic summary with highlights and anomalies
  • Agent compares traffic and conversion data across two date ranges to detect week-over-week regressions
  • Agent queries real-time active users and triggers a Slack alert when traffic drops below a defined threshold
  • Agent runs a funnel report to identify the step with the highest drop-off and surfaces it in a stakeholder report
  • Agent pulls channel-level session and revenue data from GA4 to populate a performance dashboard in Google Sheets
  • Agent retrieves available metrics metadata before building a dynamic report request based on user-defined goals

Agent actions

Run ReportRun a custom GA4 report with dimensions, metrics, date ranges, and optional filters

Inputs: dateRanges, dimensions, metrics, dimensionFilter, metricFilter, orderBys, limit, offset, keepEmptyRows

Returns: rows, rowCount, dimensionHeaders, metricHeaders, metadata

Run Realtime ReportRetrieve real-time data for the GA4 property (users active in the last 30 minutes)

Inputs: dimensions, metrics, dimensionFilter, limit

Returns: rows, rowCount, activeUsers

Run Pivot ReportRun a pivot table report for cross-tabulation of GA4 data

Inputs: dateRanges, dimensions, metrics, pivots

Returns: rows, rowCount, pivotHeaders, metricHeaders

Batch Run ReportsRun up to 5 GA4 reports in a single API call to reduce quota usage

Inputs: requests

Returns: reports, count

Get Property MetadataRetrieve all available dimensions and metrics for a GA4 property, including custom definitions

Returns: dimensions, metrics, dimensionCount, metricCount

Run Funnel ReportAnalyze step-by-step funnel progression to understand where users drop off

Inputs: dateRanges, funnel, breakdownDimension, funnelVisualizationType

Returns: funnelTable, funnelVisualization

Check Dimension & Metric CompatibilityVerify whether a set of dimensions and metrics can be used together in a single report

Inputs: dimensions, metrics

Returns: dimensionCompatibilities, metricCompatibilities, compatible

Example workflows

1

Weekly traffic summary report

Run a report for the last 7 days with sessions, users, and bounce rate broken down by channel and country

2

Real-time dashboard feed

Poll active users by device and page every minute to power a live marketing dashboard

3

Conversion funnel analysis

Run a funnel report from session_start → view_item → add_to_cart → purchase to identify the highest drop-off step

About Google Analytics

Vendor
Google
Pricing Always review details with the vendor
FreeThe Google Analytics Data API is free to use. GA4 itself is free; Google Analytics 360 (enterprise) is paid but uses the same API.
Authentication
OAuth 2.0
Rate limit Always review details with the vendor
120 requests / minute
Compatible nodes
AgentResourceInput

Put Google Analytics behind your AI agent

Set up Google Analytics alongside your other tools in the planner — no code — so AI can act on it for your customers.

Open the planner

Related Analytics tools

Google Analytics AI Agent Integration | Fugentic