google_analytics

Query GA4 Data API for traffic, conversions, funnels, and realtime users.

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/antonyfmunoz/OS --skill google-analytics-antonyfmunoz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google_analytics
Source: https://github.com/antonyfmunoz/OS/tree/main/skills/tools/google_analytics
Command: npx skills add https://github.com/antonyfmunoz/OS --skill google-analytics-antonyfmunoz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you retrieve and act on GA4 performance data without manual dashboard drilling, so you can understand traffic, conversions, and realtime changes for EOS-tracked sites.

Core Features & Use Cases

  • Funnel and conversion reporting (Data API): Query GA4 aggregated metrics for sessions, conversions, and revenue across dimensions like source/medium and page paths, including realtime active users checks.
  • Server-side event sending (Measurement Protocol): Record events from your backend using measurement_id + api_secret when browser tagging is insufficient or you need server reliability.
  • Property discovery and quota-aware querying (Admin API): List properties/data streams and enforce EOS quota budgeting using property quota introspection to prevent sudden throttling.

Use Case: During an Initiate Arena launch, pull a 1–7 day funnel to pinpoint where drop-off is happening and poll realtime active users every minute to detect spikes or drops while they’re actionable, then send server-side events for checkout/lead milestones.

Quick Start

Ask for GA4 yesterday-to-7-days funnels and realtime active users for your Initiate Arena property and event names, and send the resulting key deltas as a launch brief-ready summary.

Frequently Asked Questions about google_analytics

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

FAQPage Schema
How do I retrieve GA4 realtime active users and conversion funnels programmatically?

Retrieve GA4 realtime active users and conversion funnels by querying the GA4 Data API for aggregated sessions, conversions, and revenue metrics across dimensions like source/medium and page paths. You can poll realtime active users every minute to detect traffic spikes or drops while they are still actionable.

Can I send server-side events to GA4 when browser tagging is insufficient?

Send server-side events to GA4 using the Measurement Protocol with your measurement_id and api_secret. This records backend events like checkout or lead milestones directly, providing server reliability when client-side browser tagging fails or is insufficient for tracking requirements.

Do I need a service account to access the GA4 Data API and Admin API?

You need service-account authentication to access the GA4 Data API and Admin API. Correct GA4 property scoping is required to query aggregated metrics, discover properties and data streams via the Admin API, and enforce quota budgeting using property quota introspection to prevent sudden throttling.

How do I list GA4 properties and data streams while avoiding API throttling?

List GA4 properties and data streams via the GA4 Admin API while applying EOS-style quota introspection using return_property_quota. Enforcing EOS quota budgeting prevents sudden API throttling and ensures consistent query availability across your reporting and funnel analysis workflows.

What is the best way to monitor landing-page funnel drop-off during a launch?

Monitor landing-page funnel drop-off by pulling a 1-to-7 day GA4 funnel report to pinpoint where users leave, then polling realtime active users every minute. Sending server-side events for checkout milestones completes this launch-day monitoring workflow for immediate action.