Web analytics platform for tracking user behavior, conversions, and marketing performance. Type: OAuth 2.0 or Service Account Scopes: https://www.googleapis.com
The GA4 skill connects to Google Analytics 4 to track user behavior, conversions, and marketing performance across web and app platforms. It enables querying detailed reports via the Data API, managing conversion events through the Admin API, and sending custom events using client-side gtag.js or server-side Measurement Protocol. Marketers can access key dimensions like traffic source, campaign name, and device type alongside metrics such as sessions, active users, and conversion rates. This skill supports real-time data retrieval and campaign attribution analysis while respecting API rate limits.
This skill is designed for performance marketers managing multi-channel campaigns who need granular insights into traffic sources and user engagement. Growth leads focused on optimizing conversion funnels will use it to track event completions and engagement rates accurately. SEO and PPC operators benefit by correlating organic and paid traffic performance with user behavior metrics to refine targeting and budget allocation. Agencies running client reporting rely on GA4 to automate data pulls and event configuration at scale.
Practitioners typically start by authenticating with OAuth 2.0 or Service Account credentials set in the Google Cloud Console. Next, they run tailored reports requesting specific dimensions like sessionSource or landingPage combined with metrics such as conversions or averageSessionDuration to analyze campaign impact. Setting up or listing conversion events via the Admin API allows tracking critical user actions like purchases or signups. Finally, custom events are sent via gtag.js or the Measurement Protocol to capture off-platform or app interactions for a unified performance view.
How do I authenticate access for multiple GA4 properties? Use separate OAuth tokens or service accounts scoped per property to isolate data access securely. Can I track real-time user activity? Yes, the Data API supports real-time reports exposing metrics like activeUsers by dimension such as country. What limits should I watch? The Data API enforces 10 requests per second per property, so batch queries efficiently to avoid throttling.
Attach the GA4 skill to a Metaflow agent task by providing your Google Cloud credentials and specifying the target property ID. Expect to run customized API requests for reporting, event management, or real-time metrics within your workflows. This skill integrates seamlessly with campaign automation tasks, enabling continuous performance monitoring and event tracking. For further details on setup and usage, see our documentation on...
For broader context, see our roundup of claude skills marketing, and read Claude Code workflows for marketing agencies for related setup guidance.