# Google analytics data API basics

> Google analytics data API basics is an open-source agent skill for analytics and data. Manages Google Analytics reporting data, enables the Analytics Data API via the Cloud CLI, and creates reports using the Google Analytics Da. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/google/skills/tree/main/skills/analytics/google-analytics-data-api-basics
- **Repository:** https://github.com/google/skills
- **GitHub stars:** 24,379
- **License:** Apache-2.0
- **Skill name:** google-analytics-data-api-basics
- **Collection:** https://github.com/google/skills
- **Categories:** analytics and data
- **Listing updated:** 2026-11-17

## About

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. Don't use for Google Analytics Admin API operations (e.g., creating properties, managing users) or for front-end tracking installation.

## When your agent uses it

> 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. Don't use for Google Analytics Admin API operations (e.g., creating properties, managing users) or for front-end tracking installation.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/google/skills/tree/HEAD/skills/analytics/google-analytics-data-api-basics)
- [License: Apache-2.0](https://github.com/google/skills/tree/HEAD/skills/analytics/google-analytics-data-api-basics)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/google-analytics-data-api-basics` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/google-analytics-data-api-basics &&
cp -R "$tmp/skills/analytics/google-analytics-data-api-basics" ~/.claude/skills/google-analytics-data-api-basics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/google-analytics-data-api-basics` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/google-analytics-data-api-basics` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/google-analytics-data-api-basics &&
cp -R "$tmp/skills/analytics/google-analytics-data-api-basics" ~/.agents/skills/google-analytics-data-api-basics &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/google-analytics-data-api-basics` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/google-analytics-data-api-basics` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/google-analytics-data-api-basics &&
cp -R "$tmp/skills/analytics/google-analytics-data-api-basics" ~/.cursor/skills/google-analytics-data-api-basics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/google-analytics-data-api-basics` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/google/skills.git --path skills/analytics/google-analytics-data-api-basics
```

Or copy the folder to `~/.gemini/skills/google-analytics-data-api-basics` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/google-analytics-data-api-basics`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/google-analytics-data-api-basics &&
cp -R "$tmp/skills/analytics/google-analytics-data-api-basics" ~/.copilot/skills/google-analytics-data-api-basics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/google-analytics-data-api-basics` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/google/skills.git
```

Then copy `skills/skills/analytics/google-analytics-data-api-basics` into your agent's skills folder as `google-analytics-data-api-basics`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Google analytics data API basics in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/google-analytics-data-api-basics to use it in all your projects, or to .claude/skills/google-analytics-data-api-basics in one project.

### Does Google analytics data API basics run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Google analytics data API basics?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Google analytics data API basics?

The closest alternatives to Google analytics data API basics are Power bi report design consultation, PR dashboard, Power bi model design review, Power bi dax optimization and Power bi performance troubleshooting.

## Alternatives

- [Power bi report design consultation](https://ai-powered.com/skills/power-bi-report-design-consultation): Power bi report design consultation is an open-source agent skill for analytics and data.
- [PR dashboard](https://ai-powered.com/skills/pr-dashboard): PR dashboard is an open-source agent skill for analytics and data.
- [Power bi model design review](https://ai-powered.com/skills/power-bi-model-design-review): Power bi model design review is an open-source agent skill for analytics and data.
- [Power bi dax optimization](https://ai-powered.com/skills/power-bi-dax-optimization): Power bi dax optimization is an open-source agent skill for analytics and data.
- [Power bi performance troubleshooting](https://ai-powered.com/skills/power-bi-performance-troubleshooting): Power bi performance troubleshooting is an open-source agent skill for analytics and data.
- [Jupyter notebook](https://ai-powered.com/skills/jupyter-notebook): Jupyter notebook is an agent skill for analytics and data.
- [Azure storage file datalake py](https://ai-powered.com/skills/azure-storage-file-datalake-py): Azure storage file datalake py is an open-source agent skill for cloud and infrastructure.
- [Data analysis](https://ai-powered.com/skills/data-analysis): Data analysis is an open-source agent skill for analytics and data.

---
Source: https://ai-powered.com/skills/google-analytics-data-api-basics
