google-analytics
БесплатноБез исполняемых скриптовНе проверенGoogle Analytics API integration with managed OAuth. This skill includes two separate APIs: the Admin API (write-capable — can create, update, and delete…
от byungkyu13 719 установок в других каталогахОб этом скилле
Google Analytics
Access Google Analytics with managed OAuth authentication. This skill covers both the Admin API (manage accounts, properties, data streams) and the Data API (run reports on metrics).
Quick Start
maton login # authenticate once (device flow, recommended)
maton connection create google-analytics-admin # connect the account (needs user approval)
maton api '/google-analytics-admin/v1beta/accounts' # first call
Installation
NPM
npm install -g @maton/[email protected]
Homebrew
brew install maton-ai/cli/maton
brew pin maton
Versions are pinned to the release this skill was reviewed against. Upgrade deliberately - check the release notes, then move the pin - rather than by re-running an unpinned install. Homebrew cannot select a version from a tap, so brew pin maton holds the installed build until you choose to upgrade; maton-ai/cli is Maton's own tap.
Authentication
maton login
Prints a login link. Open it in a browser and copy the verification code shown. Then run maton login --code <CODE> to finish signing in. Once complete, it creates a profile in config.toml (eg. $HOME/.config/maton/config.toml) and stores the access and refresh tokens in the operating system's credential store (Keychain on macOS, Credential Manager on Windows, Secret Service on Linux), auto-renewed on expiry. The CLI reads them when it needs them.
Verify
maton whoami --json
{
"authenticated": true,
"profile_name": "[email protected]",
"auth_type": "oauth"
}
- If
authenticatedisfalse, stop and login again viamaton login. - If
auth_typeisapi_key, it is recommended to login viamaton loginand avoid keeping a long-lived credential.
Connections
List Connections
maton connection list google-analytics-admin --status ACTIVE
{
"connections": [
{
"connection_id": "{connection_id}",
"status": "ACTIVE",
"creation_time": "2025-12-08T07:20:53.488460Z",
"last_updated_time": "2026-01-31T20:03:32.593153Z",
"url": "https://connect.maton.ai/?session_token=5e9...",
"app": "google-analytics-admin",
"method": "OAUTH2",
"metadata": {}
}
]
}
Refer to maton connection list --help for possible flags and values.
Create Connection
Requires explicit user approval. Confirm that the user intends to authorize Google Analytics access before running this. Never create a connection on your own initiative.
maton connection create google-analytics-admin
maton connection create google-analytics-admin --scopes https://www.googleapis.com/auth/analytics.readonly
Google Analytics offers a choice of OAuth scopes: ask the user which permissions they want and propose the narrowest set the task needs, then pass them with --scopes (repeatable or comma-separated). The required scopes are always added, and leaving --scopes out requests the defaults. An unsupported scope returns 400 with the scopes Google Analytics offers. --access-policy '<json>' (or --access-policy-file policy.json) limits which Google Analytics endpoints the connection may call; see Change Access Policy.
references/scopes.md lists the OAuth scopes Google Analytics offers, and references/access-policy.md the access policy for read-only access and every reviewed endpoint, marked read or write (also at https://docs.maton.ai/google-analytics#permissions).
Refer to maton connection create --help for possible flags and values.
Get Connection
maton connection get {connection_id}
{
"connection": {
"connection_id": "{connection_id}",
"status": "PENDING",
"creation_time": "2025-12-08T07:20:53.488460Z",
"last_updated_time": "2026-01-31T20:03:32.593153Z",
"url": "https://connect.maton.ai/?session_token=5e9...",
"app": "google-analytics-admin",
"metadata": {},
"access_policy": null
}
}
Open the returned URL in a browser to complete authorizing Google Analytics. If Google Analytics offers scope selection, choose only the scopes the current task needs.
Once the connection is ACTIVE, metadata.granted_scopes lists the OAuth scopes Google Analytics actually granted; the user may grant fewer than were chosen.
access_policy is null when the connection has full access, or the allow and deny rules it is limited to. If a call returns 403 from Google Analytics and the response's maton_hint names a missing permission, tell the user; don't retry and don't create a new connection. Offer to change the connection's scopes (see Reauthorize Connection), only if the user agrees.
Reauthorize Connection
Requires explicit user approval. Confirm the connection and that the user intends to authorize access again. Never
Установить google-analytics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadGrepGlobFAQ
Что делает скилл google-analytics?
Google Analytics API integration with managed OAuth. This skill includes two separate APIs: the Admin API (write-capable — can create, update, and delete accounts, properties, and data streams) and the Data API (runs reports on sessions, users, page views, and conversions, and creates audience exports, which is a write). Prefer the Data API connection for reporting-only tasks. Use the Admin API only when administrative changes are explicitly needed. All Admin API write operations require explicit user approval with specific resource identifiers before execution. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI with OAuth login, or over raw HTTP with a Maton API key where the CLI cannot be installed. Every call is authenticated as the user's connection and reaches only what that connection's authorization allows, which the provider enforces on every request; the endpoints documented here are the ones this skill uses, and any other endpoint of this app needs the user to ask for it by name. Default to read and list calls, and confirm every write or new connection with the user. This file also documents the three constructs that turn a Google Analytics connection into automation, in the order they are used: the connection (the first step), a hosted function that runs a Google Analytics action through the Maton SDK, and a trigger that calls that function on a schedule or on an event. Running that automation includes administering it, and the skill covers that too: listing, reauthorizing and deleting connections, and changing or clearing a connection's access policy, which sets the endpoints it may call; creating, deploying, searching, updating and deleting functions and their environment variables; creating, updating and deleting triggers and their destinations, including pointing a destination at a URL the user supplies and rotating its signing secret; listing, inspecting and replaying a t
Как установить скилл google-analytics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл google-analytics запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic