Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
.claude/skills/davila7-google-analytics/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 137% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 31% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -1% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 3% | 0% |
Analyze website performance using Google Analytics data to provide actionable insights and improvement recommendations.
This Skill requires Google Analytics API credentials. Set up environment variables:
bashexport 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:
envGOOGLE_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.
bash# 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
Once configured, I can:
Ask me questions like:
When you ask me to analyze Google Analytics data, I will:
For detailed metric definitions and dimensions, see REFERENCE.md.
For complete analysis patterns and use cases, see EXAMPLES.md.
The Skill includes utility scripts for API interaction:
bashpython scripts/ga_client.py --days 30 --metrics sessions,users,bounceRate
bashpython scripts/analyze.py --period last-30-days --compare previous-period
The scripts handle API authentication, data fetching, and basic analysis. I'll interpret the results and provide actionable recommendations.
Authentication Error: Verify that:
GOOGLE_APPLICATION_CREDENTIALS points to a valid service account JSON fileGOOGLE_ANALYTICS_PROPERTY_ID matches your GA4 property ID (not the measurement ID)No Data Returned: Check that:
Import Errors: Install required packages:
bashpip install google-analytics-data python-dotenv pandas
.env files for configuration.env and credential files to .gitignoreThis Skill accesses aggregated analytics data only. It does not:
All data is processed locally and used only to generate recommendations during the conversation.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-05 | pass→pass | 9,674 | 10,401 | +8% | 1 | 1 | 0% | 1,876 | 3,162 | +69% | 0 | 0 | — |
case-01 | fail→pass | 7,794 | 13,228 | +70% | 1 | 1 | 0% | 1,325 | 3,137 | +137% | 0 | 0 | — |
case-02 | fail→pass | 13,509 | 11,104 | -18% | 1 | 1 | 0% | 2,242 | 2,941 | +31% | 0 | 0 | — |
case-03 | pass→pass | 7,689 | 12,023 | +56% | 1 | 1 | 0% | 1,497 | 3,235 | +116% | 0 | 0 | — |
case-04 | fail→fail | 5,757 | 6,453 | +12% | 1 | 1 | 0% | 977 | 1,702 | +74% | 0 | 0 | — |
case-06 | pass→pass | 7,844 | 3,971 | -49% | 1 | 1 | 0% | 1,485 | 1,848 | +24% | 0 | 0 | — |
case-07 | pass→pass | 4,593 | 2,362 | -49% | 1 | 1 | 0% | 799 | 1,440 | +80% | 0 | 0 | — |
case-08 | pass→pass | 7,535 | 1,793 | -76% | 1 | 1 | 0% | 1,232 | 1,259 | +2% | 0 | 0 | — |
case-09 | pass→pass | 10,322 | 3,796 | -63% | 1 | 1 | 0% | 1,918 | 1,651 | -14% | 0 | 0 | — |
case-15 | pass→pass | 13,714 | 11,267 | -18% | 1 | 1 | 0% | 2,416 | 3,110 | +29% | 0 | 0 | — |
case-10 | fail→pass | 7,749 | 2,934 | -62% | 1 | 1 | 0% | 1,544 | 1,393 | -10% | 0 | 0 | — |
case-11 | fail→pass | 9,126 | 3,356 | -63% | 1 | 1 | 0% | 1,572 | 1,552 | -1% | 0 | 0 | — |
case-12 | pass→fail | 16,525 | 2,048 | -88% | 1 | 1 | 0% | 1,965 | 1,281 | -35% | 0 | 0 | — |
case-13 | pass→pass | 12,800 | 6,627 | -48% | 1 | 1 | 0% | 1,950 | 2,137 | +10% | 0 | 0 | — |
case-14 | fail→pass | 18,365 | 7,935 | -57% | 1 | 1 | 0% | 2,263 | 2,325 | +3% | 0 | 0 | — |
case-16 | fail→pass | 5,412 | 2,557 | -53% | 1 | 1 | 0% | 1,051 | 1,500 | +43% | 0 | 0 | — |
case-17 | pass→pass | 6,484 | 2,841 | -56% | 1 | 1 | 0% | 977 | 1,540 | +58% | 0 | 0 | — |
case-18 | fail→pass | 12,492 | 9,624 | -23% | 1 | 1 | 0% | 2,203 | 2,923 | +33% | 0 | 0 | — |
case-19 | pass→pass | 13,184 | 10,813 | -18% | 1 | 1 | 0% | 2,529 | 2,997 | +19% | 0 | 0 | — |
case-20 | pass→pass | 10,850 | 8,603 | -21% | 1 | 1 | 0% | 2,096 | 2,458 | +17% | 0 | 0 | — |
case-21 | fail→pass | 5,038 | 1,689 | -66% | 1 | 1 | 0% | 929 | 1,250 | +35% | 0 | 0 | — |
case-22 | pass→pass | 12,398 | 7,533 | -39% | 1 | 1 | 0% | 1,968 | 2,305 | +17% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +32 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.