Google Analytics integration
Web analytics and reporting API. Access website traffic data, user behavior, conversions, and audience insights. Query real-time data, generate reports, and manage GA4 properties. Essential for marketing analytics, performance tracking, and data-driven decisions.
Common Google Analytics use cases
- dashboard data
- report builder
- remarketing lists
- performance optimization
- field discovery
- live monitoring
- query validation
- traffic analysis
- audience extraction
- audience management
What you can do with Google Analytics
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Audienceexport, 4 operations
- POSTcreate_audience_export
Creates an audience export job for a GA4 property.
- GETget_audience_export
Retrieves configuration metadata for a specific audience export.
- GETlist_audience_exports
Lists all audience exports created for a GA4 property.
- POSTquery_audience_export
Queries and retrieves user data from a completed audience export.
Pivot, 2 operations
- POSTbatch_run_pivot_reports
Executes multiple pivot reports in a single API call.
- POSTrun_pivot_report
Creates a pivot table report with multi-dimensional data cross-tabulation.
Report, 2 operations
- POSTbatch_run_reports
Executes multiple analytics reports in a single API call.
- POSTrun_report
Generates a custom analytics report with specified dimensions, metrics, and date ranges.
Compatibility, 1 operation
- POSTcheck_compatibility
Validates that specified dimensions and metrics can be used together in a report.
Funnel, 1 operation
- POSTrun_funnel_report
Analyzes user progression through a defined conversion funnel.
Metadata, 1 operation
- GETget_metadata
Retrieves all available dimensions and metrics for a GA4 property.
Realtime, 1 operation
- POSTrun_realtime_report
Retrieves real-time analytics showing current active users and their behavior.
OAuth scopes Google Analytics requires
Each operation declares the scopes Google Analytics requires for it.
https://www.googleapis.com/auth/analytics.readonlyneeded by batch_run_pivot_reports, batch_run_reports, check_compatibility and 9 more
Google Analytics API rate limits
- 10 requests in parallel
Token-based quotas (Core, Realtime, Funnel). Each request consumes a variable number of tokens based on complexity. GA360 properties get 10x quotas (2M/day, 400K/hour, 50 concurrent). See https://developers.google.com/analytics/devguides/reporting/data/v1/quotas
These are the limits Google Analytics documents, not ones LiveContext measured. They can change and often depend on your plan, so check the Google Analytics documentation for current values.
Use Google Analytics from Claude Code, Cursor or Codex
Connect Google Analytics in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Google Analytics operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Google Analytics
Create your workspace
Sign up free. Nothing to install.
Connect Google Analytics once
Add your Google Analytics connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Google Analytics integration FAQ
- What can you do with the Google Analytics integration?
- LiveContext exposes 12 operations on Google Analytics, covering audienceexport, pivot, report and compatibility. Common uses include dashboard data, report builder and remarketing lists.
- Which OAuth scopes does Google Analytics require?
- The operations that declare a scope all need https://www.googleapis.com/auth/analytics.readonly.
- What are the Google Analytics API rate limits?
- Google Analytics documents 10 requests in parallel. Token-based quotas (Core, Realtime, Funnel). Each request consumes a variable number of tokens based on complexity. GA360 properties get 10x quotas (2M/day, 400K/hour, 50 concurrent). See https://developers.google.com/analytics/devguides/reporting/data/v1/quotas Limits are set by Google Analytics and can depend on your plan.
Popular integrations
Instagram API with Instagram Login (graph.instagram.com). Manage a Business/Creator Instagram account…
Messaging platform API for building bots and integrations. Send messages, manage chats and channels, handle…
Google email service API for sending, receiving, and managing emails. Access messages, threads, labels,…
Google's video platform API for accessing video, channel, playlist, and comment data
Social media platform API for content creators and businesses. Access user info, manage videos, get…
Social media platform API for posting, reading, and managing Twitter/X content. Post tweets, read timelines,…
Professional networking platform API for managing profiles, connections, and content. Share posts, manage…
AI API from xAI (Elon Musk's AI company) powering Grok models. Access state-of-the-art language models with…