google-analytics

Queries Google Analytics 4 properties for historical and realtime reports via OAuth.

Updated Sep 2, 2026
One-click install
npx skills add https://github.com/Tutitoos/seo-plugin --skill google-analytics-tutitoos
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: google-analytics
Source: https://github.com/Tutitoos/seo-plugin/tree/main/plugins/seo/skills/google-analytics
Command: npx skills add https://github.com/Tutitoos/seo-plugin --skill google-analytics-tutitoos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Accessing Google Analytics 4 data normally requires manual dashboard navigation or custom API integration. This Skill connects to your GA4 account through local OAuth and retrieves accounts, properties, dimensions, metrics, and reports directly in conversation. ## Core Features & Use Cases - OAuth Connection Management: Connect, check status, or disconnect a Google account using a desktop OAuth client JSON, with support for a preferred account email. - Historical and Realtime Reports: Run read-only GA4 reports with explicit date ranges, dimensions, and metrics, including pagination via nextOffset and Realtime API-compatible queries. - Metadata Discovery: Look up valid API names for dimensions and metrics before building reports, and list available properties when the identifier is unknown. - Use Case: Ask for sessions, conversions, and acquisition channels for the last 30 days on a specific property, and receive the data with threshold, quota, or sampling caveats explained. ## Quick Start Connect to Google Analytics and show me sessions, users, and conversions for my main GA4 property over the last 30 days.

Frequently Asked Questions about google-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Google Analytics 4 data with OAuth?▼

Connect by calling manage_analytics_connection with action connect and the absolute path to a desktop OAuth client JSON file. Once authenticated, use list_analytics_properties to find your property ID, then run reports with explicit dimensions, metrics, and date ranges.

How to get realtime traffic data from GA4?▼

Use the realtime report tools with only dimensions and metrics compatible with the GA4 Realtime API. Historical dimensions are not interchangeable with realtime ones, so check get_analytics_metadata first to confirm compatibility.

Does this support Universal Analytics or Google Tag Manager?▼

No, this plugin covers Google Analytics 4 only. It does not support Universal Analytics properties or Google Tag Manager, and all data tools are strictly read-only.

Can I create events or conversions in GA4 through the API?▼

No, the tools are read-only and cannot create events, conversions, audiences, properties, or product links. They only retrieve existing account, property, metadata, and report data.

Why does my GA4 report return no rows?▼

An empty response does not indicate an error; it usually means no data matched the selected dimensions, metrics, or date range. Check the response metadata for threshold, quota, or sampling indicators that may explain the result.