Skip to main content
Google Analytics gives your agent access to your connected GA4 properties. The agent can check dimension/metric compatibility and look up property and account metadata while it responds to chat messages or completes tasks.

What it does

When Google Analytics is enabled on an agent, the agent can automatically query analytics data as part of its reasoning process. You ask a question or give it a task — the agent decides when and how to use your analytics account on your behalf.

Prerequisites

You must have an active Google Analytics connection in your workspace before enabling this tool. If no active connection exists, the toggle is disabled.
  1. Go to Integrations for your workspace.
  2. Find Google Analytics in the integrations grid.
  3. Click Connect and complete the OAuth flow.
  4. Return to your agent and enable the tool.

Adding the tool to an agent

  1. Open an agent in the editor.
  2. Click the button with the tooltip Add MCP Tool or Sub Agent.
  3. In MCP Tools, click Google Analytics. The Google Analytics node appears on the canvas.
  4. Click the node to open the Settings panel on the right.
  5. In the Authentication field, select the connected Google Analytics account the agent should use.
  6. If no active connection is found, the settings panel shows a warning with a link to Integrations to connect first.

Available actions

Agents can use all enabled Google Analytics actions, including:
  • Get Metadata
  • Check Compatibility
  • List Account Summaries
  • List Property
  • Get Property
  • Run Report
  • Run Realtime Report
  • Batch Run Reports
Workflows intentionally expose only the curated metadata/discovery subset. Report actions are available to agents but not workflow steps.

Use cases

  • Pull traffic, acquisition, and engagement reports for the last 30 days.
  • Discover valid dimensions and metrics before building a custom report.
  • List GA4 accounts and properties to confirm the agent is targeting the right resource.
  • Retrieve property details for validation or setup workflows.

Notes

  • The agent uses your connected Google Analytics account to perform actions. Make sure the OAuth connection has access to the properties your workflows need.
  • This tool counts as 1 credit per action the agent performs.
  • OAuth may show third-party authorization branding during the connect flow.
See also: Integrations, Creating and Configuring