google-analytics
Google Analytics
Independent, unofficial connector for Google Analytics. Not affiliated with, endorsed by, or sponsored by Google Analytics. "Google Analytics" is a trademark of its owner, used only to identify the service this connector works with.
Google Analytics 4 (GA4) exposes two OAuth-authenticated APIs — the Data API for reporting and the Admin API for configuration — plus the Measurement Protocol for sending events. This connector wraps all three: run and explore analytics reports, discover the dimensions and metrics a property supports, walk the account → property tree, manage key events (conversions) and custom dimensions/metrics, and send server-side events. It is reporting-first — runReport is the core tool, with getMetadata and checkCompatibility underneath so you can compose a valid report without guessing field names.
Every property-scoped tool takes propertyId — the numeric GA4 property id (e.g. 123456), not the G-XXXXXXX measurement id. Resolve it once with listAccountSummaries.
When to use this
- Reporting — run historical (
runReport) or realtime (runRealtimeReport) reports, discover valid dimension/metric names (getMetadata), and check whether a field combination is valid (checkCompatibility). - Navigation — find which property to operate on and read its configuration (
listAccountSummaries,getProperty,listDataStreams). - Key events (conversions) — list, get, create, and delete the events GA4 counts as conversions.
- Custom definitions — list, create, and archive custom dimensions and custom metrics.
- Measurement Protocol — manage a data stream's send secrets and send server-side events (
listMeasurementProtocolSecrets,createMeasurementProtocolSecret,sendEvent).
Setup
This is an agentskills.io skill.