Connects to the Google Analytics API to pull traffic metrics, user behavior data, and conversion stats, then helps you interpret what's actually happening on your site. You set up a service account with viewer access, point it at your GA4 property, and ask questions like "why is my bounce rate spiking" or "which traffic sources convert best." It comes with Python scripts for fetching data and includes metrics references and analysis examples. The real value is having Claude spot patterns in your analytics and suggest concrete fixes instead of just staring at dashboards. Works entirely with aggregated data, no PII involved.

skills.sh installs
1.2K
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill google-analytics --agent claude-code

Installs into .claude/skills of the current project.

Files

Google Analytics Analysis

Analyze website performance using Google Analytics data to provide actionable insights and improvement recommendations.

Quick Start

1. Setup Authentication

This Skill requires Google Analytics API credentials. Set up environment variables:

export GOOGLE_ANALYTICS_PROPERTY_ID="your-property-id"
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account-key.json"

Or create a .env file in your project root:

GOOGLE_ANALYTICS_PROPERTY_ID=123456789
GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account-key.json

Never commit credentials to version control. The service account JSON file should be stored securely outside your repository.

2. Install Required Packages

# Option 1: Install from requirements file (recommended)
pip install -r cli-tool/components/skills/analytics/google-analytics/requirements.txt

# Option 2: Install individually
pip install google-analytics-data python-dotenv pandas

3. Analyze Your Project

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Git & Pull Requests, Code Review & Quality, Data Science & ML, Debugging, Marketing & SEO
First seen
Apr 16, 2026

More from davila7/claude-code-templates

All 618
1mcollina avatarlinting-neostandard-eslint9mcollina/skillsConfigures ESLint v9 flat config and neostandard for JavaScript and TypeScript projects, including migrating from legacy `.eslintrc*` files or the `standard` pa1.2Kskills.sh installs
2qodex-ai avatarlegal-document-analyzerqodex-ai/ai-agent-skillsBuild agents for legal document analysis, contract review, and compliance checking. Handles document parsing, risk identification, and legal research. Use when 1.2Kskills.sh installs
3vtex avatarvtex-io-security-boundariesvtex/skillsApply when reviewing or designing security-sensitive boundaries in VTEX IO apps. Covers public versus private exposure, trust assumptions at route and integrati1.2Kskills.sh installs
4am-will avatarllm-councilam-will/codex-skillsOrchestrate a configurable, multi-member CLI planning council (Codex, Claude Code, Gemini, OpenCode, or custom) to produce independent implementation plans, ano1.2Kskills.sh installs
5nexscope-ai avataramazon-variation-strategynexscope-ai/amazon-skillsParent-child variation planning — when to merge/split, color/size variations, ranking benefits1.2Kskills.sh installs
6nexscope-ai avataramazon-vine-programnexscope-ai/amazon-skillsVine review program strategy — enrollment, product selection, timing, review quality maximization1.1Kskills.sh installs