Official agent skill

Google Analytics

by zapier in zapier/connectors

Agent-callable Google Analytics 4 (GA4) tools — run analytics reports, discover the dimensions and metrics a property supports, navigate accounts and properties, manage key events and custom…

OfficialElastic-2.0Auto-check passedData & Analytics

Install Google Analytics

skills CLI
$ npx skills add zapier/connectors --skill google-analytics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zapier/connectors google-analytics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zapier/connectors.git skills-src && mkdir -p .claude/skills && cp -r skills-src/apps/google-analytics .claude/skills/google-analytics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
google-analytics
GitHub stars
176
Token cost
~4.5k tokens
SKILL.md length
1,425 words
Files
65 (incl. scripts, references)
Skills in repo
30
Repo updated
First seen
Licence
Elastic-2.0

At a glance

Agent-callable Google Analytics 4 (GA4) tools — run analytics reports, discover the dimensions and metrics a property supports, navigate accounts and properties, manage key events and custom…

  • The user mentions Google Analytics
  • SKILL.md covers When to use this, Setup, Scripts and Disambiguation & refusals, plus 3 more sections
  • Runs TypeScript and JavaScript scripts from its folder; calls npm, npx and git
  • Wants website/app traffic

What it does

Google Analytics is an agent skill from zapier/connectors, published by the product's own GitHub organization. Agent-callable Google Analytics 4 (GA4) tools — run analytics reports, discover the dimensions and metrics a property supports, navigate accounts and properties, manage key events and custom dimensions/metrics, and send Measurement Protocol events. Use when the user mentions Google Analytics or GA4, or wants website/app traffic, conversion, or reporting data — including requests that don't name GA4 explicitly, e.g. how many users visited last week, top pages by country.

Its SKILL.md is about 4.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 68 other files, including scripts and reference files (for example `.claude-plugin/plugin.json`, `.mcp.json` and `CHANGELOG.md`). Compatibility notes: Run npm install --omit=dev in this directory, then node cli.js. The TypeScript source needs Node.js 22.18+; on older Node, run cli.js for build-it-yourself /…

It sits in Data & Analytics, covering Data analysis. It works with Google Analytics and Zapier. The repository describes itself as: Connect your agent to the apps you already use - with or without Zapier.

When your agent uses it

  • The user mentions Google Analytics
  • Wants website/app traffic
  • Reporting data — including requests that dont name GA4 explicitly

Example prompts

  • “/google-analytics”

Requirements

  • Node.js
  • Compatibility (from SKILL.md): Run `npm install --omit=dev` in this directory, then `node cli.js`. The TypeScript source needs Node.js 22.18+; on older Node, run `cli.js` for build-it-yourself / prebuilt / alternative-runtime options.

What it can do on your machine

Read from SKILL.md and the folder at commit e48d26f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (TypeScript and JavaScript, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • npm
    • npx
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • agentskills.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Run `npm install --omit=dev` in this directory, then `node cli.js`. The TypeScript source needs Node.js 22.18+; on older Node, run `cli.js` for build-it-yourself / prebuilt / alternative-runtime options.

    From compatibility in the SKILL.md frontmatter.

Context cost

Google Analytics loads about 4.5k tokens when it runs, and up to ~17k if it reads all its reference files. Until then it costs about 123 tokens; SKILL.md has 1,425 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~123
When it runs · the whole SKILL.md, loaded when a task matches
~4.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~17k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Elastic-2.0) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,425 words (~4,515 tokens).

“Google Analytics 4 (GA4) exposes two OAuth-authenticated APIs — the Data API for reporting and the Admin API for configuration — plus the Measurement Protocol for sending events. This connector wraps all three: run and explore analytics reports, discover the…”

— opening of SKILL.md by zapier, Elastic-2.0
name
google-analytics
compatibility
Run `npm install --omit=dev` in this directory, then `node cli.js`. The TypeScript source needs Node.js 22.18+; on older Node, run `cli.js` for build-it-yourself / prebuilt / alternative-runtime options.
license
Elastic-2.0
metadata.source
https://github.com/zapier/connectors/blob/main/apps/google-analytics/SKILL.md
metadata.title
Google Analytics
metadata.api-docs
https://developers.google.com/analytics/devguides/reporting/data/v1
metadata.zapier-app-key
GoogleAnalytics4CLIAPI

Read the full SKILL.md on GitHub

Files

SKILL.md and 64 other files (scripts, references) in apps/google-analytics of zapier/connectors.

  • SKILL.md
  • .claude-plugin/plugin.json
  • .mcp.json
  • CHANGELOG.md
  • LICENSE
  • NOTICE
  • README.md
  • cli.js
  • cli.ts
  • connections.ts
  • evals/evals.json
  • evals/results.md
  • index.ts
  • lib/googleAnalytics.ts
  • package.json
  • references/google-analytics-api-gotchas.md
  • references/use-as-cli.md
  • … and 48 more

Open the folder on GitHubat commit e48d26f

Compare with similar skills

Google Analytics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Google Analytics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Google Analytics this skillzapier/connectors176—~4.5kAutomated safety check: PassElastic-2.0
13 Data Analysis Globalminhnv0807/ai-business-skills608—~4kAutomated safety check: PassMIT
Yichen Wecom Local Vaultmcncarl/yichen-skills4.3k—~1.3kAutomated safety check: PassCustom licence
Google Analytics 4 AnalysisLichAmnesia/lich-skills234—~2kAutomated safety check: NotesMIT
Share Analyticscoyvalyss1/model-matchmaker168—~1.8kAutomated safety check: PassMIT
Google Analytics Data API Basicsgoogle/skills21k—~2.4kAutomated safety check: PassApache-2.0

Similar skills

  • 13 Data Analysis Global

    minhnv0807/ai-business-skills

    A skill your agent uses when raw data exists — Meta, Google, TikTok, GA4, Shopify, a CRM export, or a spreadsheet — and has to become insight and decisions: descriptive, diagnostic, predictive, and…

    608 GitHub stars~4k tokensUpdated 25 days ago
    Data & AnalyticsAuto-check passed
  • Yichen Wecom Local Vault

    mcncarl/yichen-skills

    Read, decrypt, query, search, and export local WeCom/企业微信 5.x desktop databases on macOS into a private read-only vault.

    4.3k GitHub stars~1.3k tokensUpdated 3 days ago
    Data & AnalyticsAuto-check passed
  • Google Analytics 4 Analysis

    LichAmnesia/lich-skills

    Pulls Google Analytics 4 data through the Data API with TypeScript scripts and turns it into a daily SEO report or prioritized traffic and bounce-rate recommendations.

    234 GitHub stars~2k tokensUpdated 3 mo ago
    Marketing & SEOAuto-check: notes
  • Share Analytics

    coyvalyss1/model-matchmaker

    Build a sanitized analytics report from your Model Matchmaker usage for community contribution.

    168 GitHub stars~1.8k tokensUpdated 14 days ago
    Data & AnalyticsAuto-check passed
  • Official

    Manages Google Analytics reporting data, enables the Analytics Data API via the Cloud CLI, and creates reports using the Google Analytics Data API (v1beta).

    21k GitHub stars~2.4k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Exploratory Data Analysis

    spacering-net/codeg

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    3.8k GitHub starsUsed in 15 repos~3.6k tokens
    Data & AnalyticsAuto-check passed

More from zapier/connectors

All 30 skills in this repo
  • Google Ads

    zapier/connectors

    Official

    Agent-callable Google Ads tools — search campaigns, ad groups, and ads via GAQL, build performance reports, manage campaign status and budgets, and set up conversion tracking.

    176 GitHub starsUsed in 1 repo~3.7k tokens
    Auto-check passed
  • Linear

    zapier/connectors

    Official

    Agent-callable Linear tools — create, update, find, and comment on issues; manage projects; and resolve teams, states, labels, users, and cycles.

    176 GitHub starsUsed in 1 repo~5.1k tokens
    Auto-check passed
  • Alpaca

    zapier/connectors

    Official

    Agent-callable Alpaca trading tools — place and manage stock, crypto, and options orders, read account balances, positions, and portfolio history, look up assets and market hours, and read watchlists.

    176 GitHub stars~4.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Clay

    zapier/connectors

    Official

    Agent-callable Clay tools — create, update, and find rows in Clay tables, and navigate workspaces, tables, views, and users.

    176 GitHub stars~3.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Discord

    zapier/connectors

    Official

    Agent-callable Discord tools — send and manage messages, start threads and forum posts, manage channels, members, and roles, and post via webhooks.

    176 GitHub stars~4.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Dropbox

    zapier/connectors

    Official

    Agent-callable Dropbox tools — upload, organize, find, and share files and folders.

    176 GitHub stars~4.4k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Google Analytics

What does Google Analytics do?

Agent-callable Google Analytics 4 (GA4) tools — run analytics reports, discover the dimensions and metrics a property supports, navigate accounts and properties, manage key events and custom…. Google Analytics is an agent skill from zapier/connectors, published by the product's own GitHub organization. Agent-callable Google Analytics 4 (GA4) tools — run analytics reports, discover the dimensions and metrics a property supports, navigate accounts and properties, manage key events and custom dimensions/metrics, and send Measurement Protocol events.

When should I use Google Analytics?

Google Analytics fits situations like: the user mentions Google Analytics; wants website/app traffic; reporting data — including requests that dont name GA4 explicitly.

How do I install Google Analytics in Claude Code?

Run `npx skills add zapier/connectors --skill google-analytics -a claude-code`. Or copy the skill folder (apps/google-analytics in zapier/connectors) into .claude/skills/google-analytics in your project. Claude Code loads it when a task matches its description.

How do I install Google Analytics in Codex?

Run `npx skills add zapier/connectors --skill google-analytics -a codex`. Or copy the skill folder (apps/google-analytics in zapier/connectors) into .agents/skills/google-analytics in your project. Codex loads it when a task matches its description.

Can I use Google Analytics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zapier/connectors --skill google-analytics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/google-analytics, .gemini/skills/google-analytics, .github/skills/google-analytics and .opencode/skills/google-analytics in your project.

What does Google Analytics need to run?

Going by SKILL.md and its folder, Google Analytics needs TypeScript and JavaScript for the scripts in its folder and the command-line tools its instructions call (npm, npx and git). Our summary lists: Node.js. Compatibility (from SKILL.md): Run `npm install --omit=dev` in this directory, then `node cli.js`. The TypeScript source needs Node.js 22.18+; on older Node, run `cli.js` for build-it-yourself / prebuilt / alternative-runtime options..

Does Google Analytics access the network?

SKILL.md names 1 domain. As links in the text: agentskills.io. This is read from the text; nothing was executed.

Is Google Analytics safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Google Analytics use?

Google Analytics is published under the Elastic-2.0 licence (declared in SKILL.md).

How many tokens does Google Analytics use?

About 4.5k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 12k tokens, read only when the agent opens those files.

What are the alternatives to Google Analytics?

Skills that share tags, products or a category with Google Analytics: 13 Data Analysis Global (minhnv0807/ai-business-skills, 608 stars), Yichen Wecom Local Vault (mcncarl/yichen-skills, 4.3k stars), Google Analytics 4 Analysis (LichAmnesia/lich-skills, 234 stars) and Share Analytics (coyvalyss1/model-matchmaker, 168 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Google Analytics?

zapier (a GitHub organization, an official publisher) maintains it in zapier/connectors, which has 176 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on August 25, 2026.

Source: zapier/connectors on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.