Data & Analysis ✓ Google · Official

Google Analytics Data Reporting Assistant

Enable the Analytics Data API and build customized Google Analytics reports.

50/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 21k
Last updated
12d ago
License
Apache-2.0
google-analyticsanalytics-data-apireportinggcloud-cli
+1api-authentication

What does this skill do, and when should you use it?

This skill helps users access Google Analytics reporting data through the Google Analytics Data API v1beta. It covers enabling the API with gcloud, configuring Application Default Credentials, and creating reports with official client libraries. It also addresses common metrics and dimensions and provides compatibility checks before report execution. It is suited to developers and analysts who need programmatic access to Google Analytics properties.

Checks for the Google Cloud CLI, guides API enablement for analyticsdata.googleapis.com, and verifies that the service is enabled; configures Application Default Credentials with cloud-platform and analytics.readonly scopes; builds and runs report requests with official client libraries; queries metrics such as activeUsers, sessions, and screenPageViews and dimensions such as city and date; and uses getMetadata() and checkCompatibility() to validate fields and metric-dimension combinations.

Good fit
  • A developer needs active users and sessions grouped by city and date from a Google Analytics property.
  • A user is enabling the Analytics Data API for the first time in a Google Cloud project.
  • An engineer is integrating reporting through the Python, Java, PHP, Node.js, Go, .NET, or Ruby client library.
  • An analyst receives an INVALID_ARGUMENT error and needs to check whether selected metrics and dimensions are compatible.
  • A team is building a customized dashboard or automating a reporting workflow.

How do you install this skill?

Before you use it
  • Before enabling the API or logging in with ADC, confirm the target Cloud project, account, authorization scopes, and organizational policies; `--quiet` is not a confirmation control.
  • Do not use the sample dates, property ID, or field combinations directly in production; validate property access, field compatibility, quotas, privacy requirements, and the applicable API version first.
  • In mainland-China networks or environments with unreliable Google-service access, the core workflow may be unavailable; no network or fallback procedure is documented.
  • Dependencies are not pinned; production use should adopt reviewed versions and a dependency lock file.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
Install first
  • Google Cloud CLI
  • Application Default Credentials
  • Google Analytics Data API v1beta client library

In an Agent Skills-compatible client, run npx skills add google/skills and select skills/analytics/google-analytics-data-api-basics from the repository. The README does not specify an additional client-specific directory or copy procedure. When a programming language is selected, read its corresponding setup guide under references/; the contents of those guides are not included in the supplied source material.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/google/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/analytics/google-analytics-data-api-basics" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Help me enable the Google Analytics Data API and use Python to query activeUsers and sessions grouped by city and date for a property.

Example trigger: “Help me enable the Google Analytics Data API and use Python to query activeUsers and sessions grouped by city and date for a property.” Ensure the Google Cloud CLI is installed, then run gcloud services enable analyticsdata.googleapis.com --quiet, gcloud services list --enabled --filter="analyticsdata.googleapis.com", and gcloud auth application-default login --scopes="https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/analytics.readonly". The Python example also requires pip install google-analytics-data; replace YOUR-PROPERTY-ID with the actual property ID.

What are this skill's strengths and limitations?

Pros
  • Covers the main onboarding flow from API enablement and authentication to reporting and compatibility checks.
  • Supports client libraries for Python, Java, PHP, Node.js, Go, .NET, and Ruby.
  • Includes runnable Python examples for report execution and compatibility checks.
  • Specifies the v1beta API and documents commonly used metrics and dimensions.
Limitations
  • Requires a Google Cloud project, a Google Analytics property ID, appropriate permissions, and available quota.
  • Depends on the Google Cloud CLI, Application Default Credentials, and a language-specific client library.
  • The supplied source does not include the detailed contents of the language-specific setup references.
  • The source provides no test suite or verified platform matrix.
  • Examples use v1beta, and migration instructions for other API versions are not provided.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Google Analytics Data Reporting Assistant this page ✓ Google · Official 50 · Use with care ★ 21k 12d ago Apache-2.0
Agent Platform Model Registry Manager ✓ Google · Official 48 · Use with care ★ 21k 12d ago Apache-2.0
AlloyDB Database Manager ✓ Google · Official 48 · Use with care ★ 21k 12d ago Apache-2.0
Cloud SQL Essentials ✓ Google · Official 45 · Not recommended ★ 21k 12d ago Apache-2.0
Cross-Cloud Agentic Analytics Architect ✓ Google · Official 51 · Use with care ★ 21k 12d ago Apache-2.0

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
50/ 100 5-point scale 2.5 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust15 / 25 · 3.0/5

The skill states that Google Analytics read-only access is used and exposes the API-enablement, credential, and data-access flow; the supplied Google provenance and Apache-2.0 license improve traceability. However, `gcloud services enable --quiet` causes an external configuration change without per-action confirmation or rollback guidance, `cloud-platform` is relatively broad, and sensitive-data handling, credential isolation, transfer boundaries, and recovery are underdocumented, so points are deducted.

2Reliability8 / 20 · 2.0/5

The main path covers API enablement, ADC setup, library installation, report execution, and compatibility checks, and the examples are broadly consistent. The supplied material contains no tests, CI coverage, or reproducible execution evidence; most languages lack timeout, retry, pagination, empty-result, and structured error handling, leaving abnormal-case diagnosis largely to native errors. The score is therefore capped and reduced under static calibration.

3Adaptability8 / 15 · 2.7/5

Audience scenarios, supported languages, common fields, and compatibility-check use cases are reasonably clear. Non-fit cases, exclusion triggers, permission prerequisites, property-type constraints, and Chinese-language usage are not specified; the core function depends on Google Cloud, ADC, and network reachability, with no mainland-China fallback described, so points are deducted.

4Convention9 / 15 · 3.0/5

The structure is readable, and language-specific references provide basic progressive disclosure with prerequisites, examples, official-resource links, license context, and repository maintenance signals. Explicit version pinning, changelog, compatibility matrix, named maintenance responsibility, update policy, FAQs, and systematic troubleshooting are missing; `LATEST_LIBRARY_VERSION` is also an unresolved installation placeholder, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

The skill can directly guide API enablement, client installation, basic report execution, and dimension-metric compatibility checks, giving it clear core utility. Outputs are limited to simple console printing and do not cover filtering, pagination, quotas, sampling, empty results, authorization failures, or production report formats. The examples were not externally verified in this review, so additional engineering work remains.

6Verifiability4 / 10 · 2.0/5

The files provide auditable commands, code, package names, API methods, and official reference pointers, supporting limited primary-material verification. They contain no committed tests, CI results, revision-specific validation records, or third-party execution evidence, and no code was executed during this review, so a higher score is not justified.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 513a7a51e85f Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does this skill have a stated cost?
The source does not specify pricing. It states that enabling the API allocates project quota and permissions, so billing and quota policies must be checked separately.
What permissions are required?
You need permission to enable analyticsdata.googleapis.com in the Google Cloud project and credentials configured with the cloud-platform and analytics.readonly scopes.
How should a failed report request be investigated?
Verify API enablement and credentials first. For INVALID_ARGUMENT errors involving field combinations, use getMetadata() or checkCompatibility() to inspect metric and dimension compatibility.
Can it manage Google Analytics configuration?
That capability is not supported by evidence in the supplied SKILL.md. Its stated scope is retrieving reporting data, running reports, and checking metric-dimension compatibility.

More skills from this repository

All from google/skills

Dev & Engineering ✓ Google · Official

Google Analytics Admin API Assistant

Automate Google Analytics account, property, and data-stream configuration.

★ 21k FS 45 Not recommended 12d ago
Dev & Engineering ✓ Google · Official

Data Manager API Setup Assistant

Set up local authentication and client libraries for the Data Manager API.

★ 21k FS 48 Use with care 12d ago
Dev & Engineering ✓ Google · Official

Google Bigtable Basics

Design, configure, query, and troubleshoot Google Bigtable workloads.

★ 21k FS 56 Use with care 12d ago
Automation & Ops ✓ Google · Official

Google Cloud Storage Basics

Manage GCS buckets and objects while configuring access, protection, lifecycle, cost, and performance.

★ 21k FS 56 Use with care 12d ago
Automation & Ops ✓ Google · Official

Google Cloud gcloud CLI Safety Skill

Helps agents manage and troubleshoot Google Cloud resources through validated, scoped gcloud commands.

★ 21k FS 51 Use with care 12d ago
Automation & Ops ✓ Google · Official

Agent Platform Endpoint Management

Manage Agent Platform serving endpoints and troubleshoot common endpoint failures.

★ 21k FS 50 Use with care 12d ago
Data & Analysis ✓ Google · Official

Agent Platform Model Registry Manager

Manage Agent Platform models, versions, and metadata from the gcloud CLI.

★ 21k FS 48 Use with care 12d ago
Data & Analysis ✓ Google · Official

AlloyDB Database Manager

Manage AlloyDB clusters, instances, and backups with CLI, IaC, client-library, and MCP guidance.

★ 21k FS 48 Use with care 12d ago
Automation & Ops ✓ Google · Official

GKE Basics Navigator

A focused entry point for discovering GKE cluster needs and routing each task to the right specialist skill.

★ 21k FS 45 Not recommended 12d ago
Automation & Ops ✓ Google · Official

Google Cloud Global Load Balancer Configurator

Design and deploy opinionated global external Application Load Balancers on Google Cloud.

★ 21k FS 45 Not recommended 12d ago
Automation & Ops ✓ Google · Official

Agent Platform Model Deployment Assistant

Deploy, verify, and clean up Model Garden models on Google Agent Platform.

★ 21k FS 43 Not recommended 12d ago
Automation & Ops ✓ Google · Official

Google Cloud Developer Onboarding

Prepares an individual developer’s first Google Cloud project, billing setup, authentication, and initial deployment path.

★ 21k FS 42 Not recommended 12d ago
Automation & Ops ✓ Google · Official

Google Cloud Foundation Builder

Deploys a secure enterprise landing-zone foundation for a Google Cloud organization.

★ 21k FS 39 Not recommended 12d ago
Automation & Ops ✓ Google · Official

Cloud Run Deployment Guide

Deploy and manage Cloud Run services, jobs, and worker pools with gcloud.

★ 21k FS 52 Use with care 12d ago
Data & Analysis ✓ Google · Official

Cloud SQL Essentials

Guides developers through creating and connecting managed MySQL, PostgreSQL, and SQL Server resources on Google Cloud.

★ 21k FS 45 Not recommended 12d ago
Automation & Ops ✓ Google · Official

GKE Backup & Disaster Recovery

Configure Backup for GKE policies and restore workflows for stateful workloads.

★ 21k FS 35 Not recommended 12d ago
Automation & Ops ✓ Google · Official

Google Cloud Authentication Guide

Choose secure Google Cloud authentication and authorization for local, production, and cross-cloud workloads.

★ 21k FS 58 Recommended 12d ago
Dev & Engineering ✓ Google · Official

Google Data Manager API Audience Import Assistant

Guides developers through reliable, diagnosable audience-member uploads to Google Ads or DV360.

★ 21k FS 54 Use with care 12d ago
Dev & Engineering ✓ Google · Official

Data Manager API Event Ingestion Guide

Helps developers implement Google event and conversion uploads through the Data Manager API.

★ 21k FS 52 Use with care 12d ago
Data & Analysis ✓ Google · Official

Cross-Cloud Agentic Analytics Architect

Design governed, secure agentic analytics for distributed data

★ 21k FS 51 Use with care 12d ago

Related skills