ga4-analytics

Analyze GA4, Search Console, and Indexing API data into Markdown summaries.

2|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/mmcmedia/openclaw-agents --skill ga4-analytics-mmcmedia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ga4-analytics
Source: https://github.com/mmcmedia/openclaw-agents/tree/main/skills/ga4-analytics
Command: npx skills add https://github.com/mmcmedia/openclaw-agents --skill ga4-analytics-mmcmedia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @google-analytics/data, @googleapis/indexing, @googleapis/searchconsole, dotenv, googleapis, tsx, typescript, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Google Analytics 4, Search Console, and Indexing API data are brought together into a single toolkit, enabling comprehensive website analytics, SEO insights, and indexing status without juggling multiple dashboards.

Core Features & Use Cases

  • GA4 analytics including site overview, traffic sources, content performance, and user demographics across GA4, Search Console, and real‑time data.
  • SEO and indexing workflows via Search Console and Indexing API: reindex URLs, inspect index status, and monitor coverage.
  • End-to-end workflows that auto-save results and generate Markdown summaries for quick reporting.

Quick Start

Run the siteOverview('30d') to generate a combined GA4, Search Console, and Indexing API report and save the results.

Frequently Asked Questions about ga4-analytics

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

FAQPage Schema
How do I combine GA4 and Search Console data for a website overview?

Combining GA4 and Search Console data requires a toolkit that queries both APIs simultaneously to generate a unified report of traffic sources, content performance, and indexing status. This Skill automates that process and saves results locally with markdown summaries.

Can I use the Google Indexing API to check URL inspection status?

Yes, you can use the Google Indexing API alongside Search Console to inspect index status and submit URLs for reindexing. The toolkit handles these workflows and reports back the coverage and indexing state of your pages.

What credentials do I need to access GA4 analytics and Search Console?

Accessing GA4 analytics and Search Console requires either a Google service account or OAuth credentials, along with a specific GA4 property ID. You must also configure a local results directory to save the generated markdown summaries and data outputs.

How do I analyze website traffic sources across multiple date ranges?

To analyze website traffic sources across multiple date ranges, you can use the traffic_analysis workflow. It queries GA4 and Search Console data for your specified periods and outputs structured markdown summaries detailing user demographics and content performance.

Does this approach support generating automated markdown summaries for SEO reporting?

Yes, this approach supports generating automated markdown summaries for SEO reporting. The end-to-end workflows query GA4, Search Console, and Indexing API data, then automatically save the combined insights as structured markdown files for quick reporting.