---
title: "Getting Started with Google Analytics Data API - Air Market"
description: "You need a number out of your analytics that the standard reports do not give you in the shape you want. This queries the data directly and builds the report you asked for. Reach for it when you are…"
canonical: "https://airmarket.ai/app/google-analytics-data-api-basics"
---

[Air Market](/) / [Data & Analytics](/category/data) / Getting Started with Google Analytics Data API

Skill by [Google](/@google)

# Getting Started with Google Analytics Data API

Pull the analytics numbers you want, shaped the way you want

## What this does

You need a number out of your analytics that the standard reports do not give you in the shape you want. This queries the data directly and builds the report you asked for. Reach for it when you are pulling figures or combining metrics with breakdowns. It is not for changing settings or installing tracking on a site.

### Top 3 things it does for you

- Build a custom analytics report
- Query metrics like active users or page views
- Break numbers down by city or date

## Information

**Getting Started with Google Analytics Data API at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [Google](/@google) |
| Category | [Data & Analytics](/category/data) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 23 KB |
| Licence | Apache-2.0 |
| Repository | [google/skills](https://github.com/google/skills/tree/d1c9be2009ba0b9243f4ace63533684cabe0dc05/skills/analytics/google-analytics-data-api-basics) |
| GitHub stars | 18,649 (as of Nov 2026) |
| Installs | 8,489, counted by skills.sh (Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of Getting Started with Google Analytics Data API and flagged nothing. AIR's verdict: **safe**.

**What Getting Started with Google Analytics Data API's check was run against**

|  |  |
| --- | --- |
| Commit | d1c9be2009ba0b9243f4ace63533684cabe0dc05 |
| Content hash | 0c0805814ec4155032e4c0c05030eaabe3759d88ff820db3b9e7136f8a0cbbdd |
| Files read | [Browse the files at this exact commit](https://github.com/google/skills/blob/d1c9be2009ba0b9243f4ace63533684cabe0dc05/skills/analytics/google-analytics-data-api-basics/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for Getting Started with Google Analytics Data API](/security/google-analytics-data-api-basics)

## About Getting Started with Google Analytics Data API

This works with Google Analytics reporting data: enabling the Analytics Data API through the Cloud CLI and creating reports with the Data API.

Use it to interact with analytics properties, run customised reports, query metrics such as activeUsers and screenPageViews against dimensions such as city and date, check whether metrics and dimensions are compatible, or verify that the API is enabled.

It is not for Admin API work such as creating properties or managing users, and not for installing front-end tracking.

## What's inside

- SKILL.md - instructions
- references/dotnet.md - reference
- references/go.md - reference
- references/java.md - reference
- references/nodejs.md - reference
- references/php.md - reference
- references/python.md - reference
- references/ruby.md - reference

## Questions

### Is Getting Started with Google Analytics Data API safe to install?

AIR scanned this exact version of Getting Started with Google Analytics Data API and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit d1c9be2009ba, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/google-analytics-data-api-basics.

### How do I install Getting Started with Google Analytics Data API?

Open https://airmarket.ai/app/google-analytics-data-api-basics on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/google/skills/tree/d1c9be2009ba0b9243f4ace63533684cabe0dc05/skills/analytics/google-analytics-data-api-basics. Install from that link, not the branch.

## Related on Air Market

- [More Data & Analytics listings](/category/data)
- [Everything by Google](/@google)

---

Canonical URL: <https://airmarket.ai/app/google-analytics-data-api-basics>
