Google Analytics Analysis

Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements.

You say
Install this skill Read the source first Free Written by davila7 · unverified publisher
Context cost
14k tokensestimated from the bundle, loaded when it triggers
Bundle
7 files · 56.0 kB2 scripts among them — read before you run
Licence
MITfree to use
Last change
no release on file
Servers it uses
Noneruns standalone

What it does

Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.

Installed, it changes the agent in these ways.

What this skill changes about the agent is not written down here yet. The listing was collected from its source, and the description is in its own SKILL.md.

Workflow

Runs a procedure end to end.

analyticsperformance

The skill itself

This is the whole product. A skill is instructions the model reads, so there is nothing behind the listing you cannot see first — the front matter loads with every session, and the body below it loads when the skill triggers.

SKILL.md4.7 kB · 154 lines
--- name: google-analytics description: Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization. ---
6# Google Analytics Analysis
7
8Analyze website performance using Google Analytics data to provide actionable insights and improvement recommendations.
9
10## Quick Start
11
12### 1. Setup Authentication
13
14This Skill requires Google Analytics API credentials. Set up environment variables:
15
16```bash
17export GOOGLE_ANALYTICS_PROPERTY_ID="your-property-id"
18export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account-key.json"
19```
20
21Or create a .env file in your project root:
22
23```env
24GOOGLE_ANALYTICS_PROPERTY_ID=123456789
25GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account-key.json
26```
27
28**Never commit credentials to version control.** The service account JSON file should be stored securely outside your repository.
29
30### 2. Install Required Packages
31
32```bash
33# Option 1: Install from requirements file (recommended)
34pip install -r cli-tool/components/skills/analytics/google-analytics/requirements.txt
35
36# Option 2: Install individually
37pip install google-analytics-data python-dotenv pandas
38```
39
40### 3. Analyze Your Project
41
42Once configured, I can:
43- Review current traffic and user behavior metrics
44- Identify top-performing and underperforming pages
45- Analyze traffic sources and conversion funnels
46- Compare performance across time periods
47- Suggest data-driven improvements
48
49## How to Use
50
51Ask me questions like:
52- "Review our Google Analytics performance for the last 30 days"
53- "What are our top traffic sources?"
54- "Which pages have the highest bounce rates?"
55- "Analyze user engagement and suggest improvements"
56- "Compare this month's performance to last month"
57
58## Analysis Workflow
59
60When you ask me to analyze Google Analytics data, I will:
61
621. **Connect to the API** using the helper script
632. **Fetch relevant metrics** based on your question
643. **Analyze the data** looking for:
65 - Traffic trends and patterns
66 - User behavior insights
67 - Performance bottlenecks
68 - Conversion opportunities
694. **Provide recommendations** with:
70 - Specific improvement suggestions
71 - Priority level (high/medium/low)
72 - Expected impact
73 - Implementation guidance
74
75## Common Metrics
76
77For detailed metric definitions and dimensions, see [REFERENCE.md](REFERENCE.md).
78
79### Traffic Metrics
80- Sessions, Users, New Users
81- Page views, Screens per Session
82- Average Session Duration
83
84### Engagement Metrics
85- Bounce Rate, Engagement Rate
86- Event Count, Conversions
87- Scroll Depth, Click-through Rate
88
89### Acquisition Metrics
90- Traffic Source/Medium
91- Campaign Performance
92- Channel Grouping
93
94### Conversion Metrics
95- Goal Completions
96- E-commerce Transactions
97- Conversion Rate by Source
98
99## Analysis Examples
100
101For complete analysis patterns and use cases, see [EXAMPLES.md](EXAMPLES.md).
102
103## Scripts
104
105The Skill includes utility scripts for API interaction:
106
107### Fetch Current Performance
108```bash
109python scripts/ga_client.py --days 30 --metrics sessions,users,bounceRate
110```
111
112### Analyze and Generate Report
113```bash
114python scripts/analyze.py --period last-30-days --compare previous-period
115```
116
117The scripts handle API authentication, data fetching, and basic analysis. I'll interpret the results and provide actionable recommendations.
118
119## Troubleshooting
120
121**Authentication Error**: Verify that:
122- GOOGLE_APPLICATION_CREDENTIALS points to a valid service account JSON file
123- The service account has "Viewer" access to your GA4 property
124- GOOGLE_ANALYTICS_PROPERTY_ID matches your GA4 property ID (not the measurement ID)
125
126**No Data Returned**: Check that:
127- The property ID is correct (find it in GA4 Admin > Property Settings)
128- The date range contains data
129- The service account has been granted access in GA4
130
131**Import Errors**: Install required packages:
132```bash
133pip install google-analytics-data python-dotenv pandas
134```
135
136## Security Notes
137
138- **Never hardcode** API credentials or property IDs in code
139- Store service account JSON files **outside** version control
140- Use environment variables or .env files for configuration
141- Add .env and credential files to .gitignore
142- Rotate service account keys periodically
143- Use least-privilege access (Viewer role only)
144
145## Data Privacy
146
147This Skill accesses aggregated analytics data only. It does not:
148- Access personally identifiable information (PII)
149- Store analytics data persistently
150- Share data with external services
151- Modify your Google Analytics configuration
152
153All data is processed locally and used only to generate recommendations during the conversation.
154
In the file
SKILL.md623 words
Files7
LicenceMIT
Why you can read it

Nothing in a skill executes. The client loads the text and the model follows it, so a skill can be audited the way a runbook is — by reading it.

What it costs in context

Skills are not billed by the call. They are paid for in context: every token the instructions occupy is a token your code, your diff and your conversation cannot use. Here is what this one takes and when it takes it.

≈80
always loaded
The name and description, so the model knows the skill exists and when to reach for it.
13,920
on trigger
The instruction body and 6 supporting files, read only when the skill fires.
7.0%
of a 200k window
Ten skills this size would take about 70% of the window before you open a file.
050k100k150k200k context window

14k tokens, estimated from the bundle at four bytes to the token, held for the rest of the session once it triggers. Heavy. Teams tend to install this one per project rather than globally, and load it only when the job comes up.

Servers bill, skills cost

A server charges by the month. A skill charges once per session, in context, and then keeps charging it for as long as the session lives.

Before and after

The same question, put to the same model twice: once as it comes, and once with these instructions loaded.

No worked example has been published for this skill yet.

Adoption
Installsnone yet
Ratingno reviews yet

The procedure it runs

The procedure has not been published here. It is in the skill’s own SKILL.md, which its author has not sent to the marketplace yet.

Prose, not code

These steps are written for a model to follow, not executed by a runtime. It can still be told to skip one, and it will say so when it does.

Servers it uses

None. This skill calls no MCP servers at all.

Everything it needs is in the instructions, so it works in a project with nothing connected — the model reads the file and changes how it works with what it can already reach.

It writes no files and reaches no network. All it changes is how the model reasons and writes.

What it asks for
Writes filesno
Network accessno

Read from the allowed-tools line of this skill’s own SKILL.md. A skill grants no permissions of its own — it can only ask for tools your client already has.

What it will not do

Every skill is narrow, and the useful ones say where they stop. These are the jobs this one is the wrong tool for.

What this skill is not for has not been published here. Nothing is implied by that: it is a section the author has not filled in.

What is in the bundle

7 files, 56.0 kB on disk. Mostly text — the instructions the model reads — with 2 scripts in it that your client would run only if the instructions tell it to.

  • .env.example1.2 kB
  • EXAMPLES.md13.9 kB
  • REFERENCE.md8.9 kB
  • SKILL.md4.7 kB
  • requirements.txt0.2 kB
  • scripts/analyze.py15.8 kB
  • scripts/ga_client.py11.3 kB
What is not in it

A skill installs nothing and depends on nothing: it is a folder your client reads. This one carries 2 scripts beside the text, so the bundle is 7 files you can review in full before installing. The MIT licence covers the templates and examples as well as the instructions.

Install

Installing copies the bundle into your project. Nothing runs at install time — the files sit on disk until the model reads them.

# Google Analytics Analysis · 14k tokens when loaded npx mcprush@latest skill add davila7/google-analytics-analysis

Writes to .claude/skills/google-analytics-analysis/ in the current project. Add --global to put it in your home directory instead, for every project.

Which clients pick it up on their own

A skill is a folder of text. A client with a skills folder reads it without being told; everywhere else the same text works, it is just handed to the model rather than found.

Claude Code.claude/skills/
Claude Desktop
ChatGPT
Cursor.cursor/skills/
VS Code.github/skills/
Codex CLI.agents/skills/
Gemini CLI.gemini/skills/
Grok.grok/skills/
Zed.agents/skills/
Windsurf.windsurf/skills/
Agent SDK.claude/skills/
HTTP / API
This release
Versionnot versioned
Publishedno release date on file
PriceFree
Referencedavila7/google-analytics-analysis

Versions

Its author publishes no version number, so there is nothing here to pin to: what you install is the folder as it stands today. Instructions change more often than APIs do — a skill can be rewritten entirely without anything it depends on moving.

v
  • No earlier releases have been published to the marketplace.
Pinning

Nothing to pin to: this skill carries no version number of its own. What you install is what the folder holds on the day you install it.

Reviews

no reviews yet · no installs yet

Nobody has reviewed this skill yet. The rating is the mean of the reviews written here, so there is none until somebody writes the first.

Who can post

Only accounts that have had the skill installed for fourteen days, so a review is written after living with it rather than after reading it. Publishers may reply once.

Publisher
Servers0