google-analytics: Google Analytics reads and admin changes via managed OAuth
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.
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- Daily downloads, last 30 days
- 9
- Daily downloads, last 30 days vs the 30 days before
- -35.7%
How this skill works
- 1Sign in once with `maton login` and confirm with `maton whoami --json`.
- 2After user approval, create a connection with `maton connection create google-analytics-admin` and finish authorizing in the browser.
- 3Run reads and list calls with `maton api '/google-analytics-admin/v1beta/accounts'`, adding `--connection` when there is more than one connection.
- 4Before any Admin write (create, update, or delete), get user approval that names the specific resource identifiers.
- 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.
- 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
The badge updates every day and links back to this page.
[](https://linkly.ai/skills/s/clawhub/google-analytics)