Skip to content
Kitbay
Submit

google-analytics-data-api-basics

Apache-2.0Updated on Nov 11, 202623,842GitHub stars

A Google-published agent skill for the Google Analytics Data API v1beta, the reporting side of GA4.

What the skill teaches

A Google-published agent skill for the Google Analytics Data API v1beta, the reporting side of GA4. It has the agent enable the API with gcloud, set up Application Default Credentials with the Analytics read-only scope, and build reports with Google's client library, preferring v1beta. The agent is told to read a language-specific setup reference when the user picks a language, with references for Python, Java, PHP, Node.js, Go, .NET and Ruby, and it covers common dimensions and metrics and checking whether they can be combined. Admin API work and front-end tracking are out of scope. It has no scripts and ships in Google's skills repository.

Capabilities

  • Enable the Analytics Data API with gcloud
  • Set up Application Default Credentials for reporting
  • Write report code with the official client libraries
  • Check dimension and metric compatibility