Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Google Analytics reports through the Data API v1beta v1.0.0

Use this resource to retrieve custom Google Analytics reports with the Data API v1beta

New

  • 500 downloads
  • 205 likes
  • 229 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install ga4-data-api-reports

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent enables the API with gcloud, sets up authentication, then builds a report request with metrics and dimensions. It checks that the combination is compatible before running it. Examples cover Python, Node.js, Java, Go, PHP, Ruby and .NET. You get a script that returns the requested data.

Mostly picked by

Updated November 2, 2026

Card for the “Google Analytics reports through the Data API v1beta” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • SKILL.md: API enablement, authentication, report requests and compatibility checks
  • references/python.md: Python quick start
  • references/nodejs.md: Node.js example

Good fit for

  • You want to feed a dashboard with active users by city
  • You need to check that a metric and a dimension can be combined

Not for

    Tags

    • google analytics
    • ga4
    • reports
    • data api

    About

    You say

    “Get active users and page views by city for last month from the site-boutique property.”

    Card for the “Google Analytics reports through the Data API v1beta” skill

    Skill published by google under the Apache-2.0 license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to retrieve custom Google Analytics reports with the Data API v1beta
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE11.3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/dotnet.md2 KB
    • references/go.md1.8 KB
    • references/java.md2.7 KB
    • references/nodejs.md1.6 KB
    • references/php.md1.8 KB
    • references/python.md2 KB
    • references/ruby.md1.7 KB
    • SKILL.md9.6 KB

    Origin and licence

    Listed unmodified

    Author
    google
    Source
    github.com/google/skills/tree/81b0e8f8f40513c31b3388e600506e8b48a85bc2/skills/analytics/google-analytics-data-api-basics
    Licence
    Apache-2.0

    Notice

    « google-analytics-data-api-basics » (google, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.