Agent skill · data analytics · google

google-analytics-admin-api-basics

Manages Google Analytics account and property settings, enables the Analytics Admin API via the Cloud CLI, lists accounts and properties, and manages data streams, custom dimensions, conversion events, and integrations. Use when you need to programmatically configure Google Analytics accounts, provision properties, manage data retention, configure Measurement Protocol secrets, or manage Firebase and Google Ads links.

Why this skill is useful

Provides specific commands and configurations for managing Google Analytics accounts that the AI wouldn't reliably generate on its own.

What it needs

Requires google-cloud-cli installed locally. Requires google-cloud account access. About 4k tokens when loaded. Last updated 2026-08-06. 15,831 stars on the source repository.

What this skill does

Getting Started with Google Analytics Admin API The Google Analytics Admin API provides programmatic access to Google Analytics account and property configuration. It lets you automate account management, manage data streams, configure custom dimensions, and handle product integrations. Enabling the API via Cloud CLI Before making API calls, ensure the Google Analytics Admin 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 analyticsadmin.googleapis.com. Why: Enabling the API ensures your Cloud project has the necessary quota and permissions allocated for managing Google Analytics configurations. 2. Verify API Enablement: 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: 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. [!NOTE] Configuration Changes: Methods changing the Google Analytics account/property configuration will need the https://www.googleapis.com/auth/analytics.edit scope. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills google/google-analytics-admin-api-basics

View the source on GitHub

Browse the @skills marketplace