google-analytics-data-api-basics
Manages Google Analytics reporting data, enables the Analytics Data API via the Cloud CLI, and creates reports using the Google Analytics Data API (v1beta).
Skill by hermesonehq
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hermesonehq-google-analytics-data-api-basics
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/google-analytics-data-api-basics
What's inside
- Skill name
google-analytics-data-api-basics- Description
- Manages Google Analytics reporting data, enables the Analytics Data API via the Cloud CLI, and creates reports using the Google Analytics Data API (v1beta). Use when you need to interact with Google Analytics properties, run customized analytics reports, query metrics (like activeUsers, screenPageViews) and dimensions (like city, date), check metrics and dimensions compatibility, or verify API enablement.
- License
- Apache-2.0
- Instructions
- 253 lines in SKILL.md · view on GitHub
Files (8)
- SKILL.md
- dotnet.md · references/
- go.md · references/
- java.md · references/
- nodejs.md · references/
- php.md · references/
- python.md · references/
- ruby.md · references/
SKILL.md (first lines)
# Getting Started with Google Analytics Data API
The Google Analytics Data API v1beta provides programmatic access to Google
Analytics report data. It allows you to build customized dashboards,
automate reporting workflows, and integrate Google Analytics data into your enterprise
applications.
## Enabling the API via Cloud CLI
Before making API calls, ensure the Google Analytics Data API is enabled in your
Google Cloud project.
If `gcloud` is not found, prompt the user to install the Google Cloud CLI before
running these commands.
1. **Enable the API:** Use the Cloud CLI (`gcloud`) to enable
`analyticsdata.googleapis.com`.
```bash
gcloud services enable analyticsdata.googleapis.com --quiet
```
*Why: Enabling the API ensures your Cloud project has the necessary quota
and permissions allocated for running Google Analytics reports.*
2. **Verify API Enablement:**
```bash
gcloud services list --enabled --filter="analyticsdata.googleapis.com"
```
## Authentication
To authenticate your API requests, you must generate Application Default
Credentials (ADC) and give your account the necessary scopes. Run the following
command in your terminal:
```bash
gcloud auth application-default login --scopes="https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/analytics.readonly"
```
*Why: This configures ADC in your local environment with the required Cloud
Platform and Google Analytics read-only scopes, allowing the client library to
automatically authenticate your requests.*
## Creating a Data API Report (v1beta)
To create a report, use the official Google Analytics Data client library.
Always prefer the `v1beta` version of the API for stability and access to
current Google Analytics reporting capabilities.
> [!IMPORTANT] **Mandatory Agent Directive:** When the user selects or requires
> a specific programming language, read the corresponding client library setup
> reference guide in `references/` listed below.
### Supported Client Libraries
#### Python
If you need to install or set up the Google Analytics Data API client library
for Python, read the setup guide:
* [Python Installation Reference](references/python.md) *(Package:
`google-analytics-data`)*
#### Java
If you need to install or set up the Google Analytics Data API client library
for Java, read the setup guide:
* [Java Installation Reference](references/java.md) *(Artifact:
`com.google.cloud:google-cloud-analytics-data`)*
#### PHP
If you need to install or set up the Google Analytics Data API client library
for PHP, read the setup guide:
* [PHP Installation Reference](references/php.md) *(Package:
`google/analytics-data`)*
#### Node.js
If you need to install or set up the Google Analytics Data API client library
for Node.js, read the setup guide:
* [Node.js Installation Reference](references/nodejs.md) *(Package:
`@google-analytics/data`)*
#### Go
If you need to install or set up the Google Analytics Data API client library
for Go, read the setup guide:
* [Go Installation Reference](references/go.md) *(Package:
`cloud.google.com/go/analytics/data/apiv1beta`)*
#### .NET
If you need to install or set up the Google Analytics Data API client library
for .NET / C#, read the setup guide:
* [.NET Installation Reference](references/dotnet.md) *(Package:
`Google.Analytics.Data.V1Beta`)*
#### Ruby
If you need to install or set up the Google Analytics Data API client library
for Ruby, read the setup guide:
* [Ruby Installation Reference](references/ruby.md) *(Gem:
`google-analytics-data-v1beta`)*
> [!NOTE] **Additional Resources**: For further examples of calling the Data API
> with Java, PHP, Node.js, .NET, Python and REST, as well as hints on
> authentication with a service account, refer to the official
> [Data API Quickstart](https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart).
### Python Quick StartFrom hermesonehq/hermes-registry, Apache-2.0.
More from hermesonehq/hermes-registry
- 0.588score
pretext
hermesonehq
Use when building creative browser demos with @chenglou/pretext — DOM-free text layout for ASCII art, typographic flow around obstacles, text-as-geometry…
SkillCFreshness: C★ 92Claude Code +9 - 0.588score
bigquery-ai-ml
hermesonehq
Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics.
SkillCFreshness: C★ 92Claude Code +9 - 0.585score
alloydb-basics
hermesonehq
Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB model context protocol (MCP) tools for automated database…
SkillCFreshness: C★ 92Claude Code +9 - 0.583score
oh-my-hermes
hermesonehq
Use when orchestrating multi-agent workflows: deep research, planning with consensus, verified execution, triage, or autopilot.
SkillCFreshness: C★ 92Claude Code +9 - 0.583score
chainlink-agent-skills
hermesonehq
Use when working with Chainlink oracle networks, CCIP cross-chain messaging, or smart contract data feeds.
SkillCFreshness: C★ 92Claude Code +9 - 0.583score
hermes-skill-factory
hermesonehq
Use when you want to auto-generate reusable skills from repeated workflows.
SkillCFreshness: C★ 92Claude Code +9 - 0.579score
baoyu-comic
hermesonehq
Knowledge comics (知识漫画): educational, biography, tutorial.
SkillCFreshness: C★ 92Claude Code +9 - 0.579score
kanban-codex-lane
hermesonehq
Use when a Hermes Kanban worker wants to run Codex CLI as an isolated implementation lane while Hermes keeps ownership of task lifecycle, reconciliation…
SkillCFreshness: C★ 92Claude Code +9 - 0.579score
baoyu-article-illustrator
hermesonehq
Article illustrations: type × style × palette consistency.
SkillCFreshness: C★ 92Claude Code +9 - 0.579score
excalidraw
hermesonehq
Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
SkillCFreshness: C★ 92Claude Code +9 - 0.579score
baoyu-infographic
hermesonehq
Infographics: 21 layouts x 21 styles (信息图, 可视化).
SkillCFreshness: C★ 92Claude Code +9 - 0.577score
popular-web-designs
hermesonehq
54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.
SkillCFreshness: C★ 92Claude Code +9
Signals
- Stars
- 92
- Forks
- 19
- Open issues
- 1
- Last commit (this folder)
- Jun 28, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/hermesonehq/hermes-registry
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from hermesonehq
- 0.588score
pretext
hermesonehq
Use when building creative browser demos with @chenglou/pretext — DOM-free text layout for ASCII art, typographic flow around obstacles, text-as-geometry…
SkillCFreshness: C★ 92Claude Code +9 - 0.588score
bigquery-ai-ml
hermesonehq
Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics.
SkillCFreshness: C★ 92Claude Code +9 - 0.585score
alloydb-basics
hermesonehq
Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB model context protocol (MCP) tools for automated database…
SkillCFreshness: C★ 92Claude Code +9 - 0.583score
oh-my-hermes
hermesonehq
Use when orchestrating multi-agent workflows: deep research, planning with consensus, verified execution, triage, or autopilot.
SkillCFreshness: C★ 92Claude Code +9 - 0.583score
hermes-skill-factory
hermesonehq
Use when you want to auto-generate reusable skills from repeated workflows.
SkillCFreshness: C★ 92Claude Code +9 - 0.583score
chainlink-agent-skills
hermesonehq
Use when working with Chainlink oracle networks, CCIP cross-chain messaging, or smart contract data feeds.
SkillCFreshness: C★ 92Claude Code +9
Cite this page
google-analytics-data-api-basics skill. Agent Mart. https://agentmart.dev/skills/hermesonehq-google-analytics-data-api-basics (last updated 2026-10-24)