google-analytics: Google Analytics reads and admin changes via managed OAuth

By byungkyu

This skill gives access to Google Analytics through Maton's managed OAuth. It has two APIs: the Admin API, which can create, update, and delete accounts, properties, and data streams, and the Data API, which is read-only and runs reports on sessions, users, page views, and conversions. Calls run through the maton CLI, or over raw HTTP with a Maton API key where the CLI cannot be used.

Data analysisClawHub
Total downloads
13.6K
ClawHub
Last 7 days
85
▲ 21.4% vs the week before
Best 100 rank
—
Not in Best 100
Days in Best 100
0
out of 104 days tracked

What problem this skill solves

Connecting an agent or script to Google Analytics means handling OAuth and keeping track of which calls can change data. This skill moves sign-in and token storage to `maton login` and a Maton connection. Reads and list calls run by default.

Admin writes need explicit user approval with specific resource identifiers before they run. For reporting-only tasks, the skill says to prefer the Data API connection.

Good for

  • Running reports on sessions, users, page views, and conversions
  • Listing Google Analytics accounts, properties, and data streams
  • Making admin changes the user has approved by resource identifier

Not for

  • Other third-party apps, which the skill says to route to the api-gateway skill
  • Triggers that read or watch Google Analytics data, since Google Analytics is not a trigger event source

Trend

Growth slowing
02004006008508/2809/2510/3011/27
Daily downloads, last 30 days
9
Daily downloads, last 30 days vs the 30 days before
-35.7%

How this skill works

  1. 1Sign in once with `maton login` and confirm with `maton whoami --json`.
  2. 2After user approval, create a connection with `maton connection create google-analytics-admin` and finish authorizing in the browser.
  3. 3Run reads and list calls with `maton api '/google-analytics-admin/v1beta/accounts'`, adding `--connection` when there is more than one connection.
  4. 4Before any Admin write (create, update, or delete), get user approval that names the specific resource identifiers.
  5. 5For repeated work, a hosted function can run a Google Analytics read through the Maton SDK with `--network-policy DENY_ALL`, and a time trigger can call it, each step with user approval.
  6. 6Delete a connection with `maton connection delete --yes` only after the user confirms the exact connection, since this is irreversible.

Are you the author of this skill? Add its rank to your GitHub repo

Best Skills

The badge updates every day and links back to this page.

[![Best Skills](https://linkly.ai/skills/badge/clawhub/google-analytics.svg)](https://linkly.ai/skills/s/clawhub/google-analytics)
Linkly AI

Maintained by Linkly AI

Linkly AI is the knowledge brain for AI agents. It automatically parses the notes, study materials, bookmarks, knowledge bases, voice memos, meetings, videos and ideas on your computer, so your agent can search and read everything you have.

Download Linkly AI
Or send this line to your agent and it will help you install and connect.

Set up https://linkly.ai/docs/en/agent-setup.md