Tools
| Name | Description |
|---|---|
run_reportRun a bounded Google Analytics 4 Data API report. | Run a bounded Google Analytics 4 Data API report. |
run_realtime_reportRun a GA4 realtime report for activity from the last 30 minutes, or up to 60 minutes for GA360 properties. | Run a GA4 realtime report for activity from the last 30 minutes, or up to 60 minutes for GA360 properties. |
get_metadataGet dimensions and metrics available for a GA4 property. | Get dimensions and metrics available for a GA4 property. |
check_compatibilityCheck whether requested dimensions and metrics can be used together in a GA4 report. | Check whether requested dimensions and metrics can be used together in a GA4 report. |
list_account_summariesList accessible Google Analytics accounts and property summaries. | List accessible Google Analytics accounts and property summaries. |
list_propertiesList GA4 properties under one Google Analytics account. | List GA4 properties under one Google Analytics account. |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('google-analytics', 'run_report', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'google-analytics',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect Google Analytics to my app?
Use Weavz Hosted Connect for OAuth2 authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.
What tools does Google Analytics support?
Google Analytics supports 6 tools including Run Report, Run Realtime Report, Get Metadata, Check Compatibility, List Account Summaries, and more.
Can I use Google Analytics with AI agents?
Yes. Add Google Analytics to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.
How do I connect Google Analytics to ChatGPT or Claude?
Open the Weavz connector setup, sign in, choose a workspace, and add Google Analytics as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped Google Analytics tools exposed by that workspace.
Does Google Analytics work with Claude Code, Cursor, Codex, and local agents?
Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved Google Analytics work, and execute Code Mode workflows from a terminal.
What can I ask an AI agent to do with Google Analytics?
Google Analytics exposes 6 tools, including Run Report, Run Realtime Report, Get Metadata, Check Compatibility, List Account Summaries, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.
Can Google Analytics be used in stateful agent workflows?
Yes. Agents can combine Google Analytics tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.
What authentication does Google Analytics use?
Google Analytics uses OAuth2. Weavz stores OAuth credentials securely and refreshes tokens when supported by the provider.
How much does the Google Analytics integration cost?
The Google Analytics integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.
Connect Google Analytics in minutes
Get 20,000 free action executions every month. No credit card required.