google-analytics

Revoir · 51
Indexé dans Registry

Collect and analyze Google Analytics 4 (GA4) website data in a local SQLite database. Stores pageviews, active users, reading dwell time, traffic sources, and outbound clicks so you can run SQL queries or view reports on site performance. Activate when analyzing website traffic,

Verified installs0
Stars16
Version1.0.0
Qualité59/100 · Prometteur
Confiance51/100 · Do not auto-install
Audit70/100 · Revue nécessaire

Profil de l’actif

Recherche et travail de connaissance

Deep research, source comparison, literature review, RAG, knowledge search, and reports.

Voir la catégorie

Scénario

Agents de recherche

I need my agent to research a topic, compare sources, and produce a concise report.

Adéquation Agent

Claude Code + CLI + Codex

Compatible avec Codex, Claude Code, Cursor, CLI ou des Agents personnalisés.

Installer

Prêt

npx skills add danicat/skills --skill google-analytics

Maintenance

À jour

Mis à jour aujourd’hui

Risque

Revue nécessaire

Dependency or permission surface needs review

Qualité GitHub

16

59/100 Qualité · 59/100 Confiance

Tags de couverture

RechercheAgents de rechercheagent-skill

Notes de revue

Dependency or permission surface needs review · Permission surface may require sandboxing

Carte d’adoption Agent

Confiance, audit et préparation à l’installation en un coup d’œil

Ces scores combinent les métadonnées publiques du dépôt, les signaux de revue OpenAgentSkill, la fraîcheur de maintenance et la préparation à l’installation. Ils servent à présélectionner et ne remplacent pas la revue humaine.

Qualité

Prometteur
59

Useful candidate, but compare it with alternatives before adopting.

Confiance

Do not auto-install
51

Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.

Audit

Revue nécessaire
70

Revue lisible par machine de la préparation à l’installation, des métadonnées de sécurité, de la maintenance et du risque d’adoption.

Trust Score OpenAgentSkill v5

Sandbox uniquement

Choose a stronger alternative or inspect the source manually before any install attempt.

CodexClaude CodeCursorOpenAgentSkill CLI

Stars

16 stars GitHub

Activité du dépôt

16 stars et 3 forks

Maintenance

Mis à jour aujourd’hui

Licence

Apache-2.0

Installer

npx skills add danicat/skills --skill google-analytics

Sécurité d’installation

Chemin d’installation standard de package ou runtime

Surface de permissions

secrets or environment access, shell or command execution

Résultats Agent

Pas encore de données de résultats Agent

Documentation

Usable metadata, review docs

Résumé des risques

Revoir avant production

  • The skill requires the `uv` package manager to run scripts, but this dependency is not explicitly documented in SKILL.md (only implied by command examples).
  • Low GitHub adoption signal
  • Quality score needs review
  • Permission surface needs review: secrets or environment access, shell or command execution

Préparation à l’installation

Chemin d’installation disponible

  • Le chemin d’installation est disponible
  • La preuve du dépôt est disponible
  • La licence est déclarée
  • Pas encore de preuve de résultat Agent-Proven

Métadonnées lisibles par Agent

Données de décision lisibles par machine pour ce skill.

Utilisez ce bloc ou le JSON intégré pour décider si un Agent doit installer ce skill, choisir une alternative ou demander d’abord une revue humaine.

Ouvrir JSON

Tâches adaptées

  • workflows Database and SQL
  • Équipes Claude Code
  • builders willing to evaluate younger projects
  • Understand table relationships

Agents adaptés

CodexClaude CodeCursorOpenAgentSkill CLICLI

Décision d’installation

Commande
npx skills add danicat/skills --skill google-analytics
Politique
Bloquer
Revue humaine
Oui

Confiance et risque

Confiance
51/100
Audit
70/100
Niveau de risque
Revue nécessaire

Boucle de résultat

Endpoint
/api/agent/outcome
ID d’événement
resolve
Résultats
5

Commande d’installation

npx skills add danicat/skills --skill google-analytics

Ne pas utiliser quand

  • Équipes qui nécessitent un SLA soutenu par le fournisseur
  • production agents without a repository review
  • Low GitHub adoption signal
  • The skill requires the `uv` package manager to run scripts, but this dependency is not explicitly documented in SKILL.md (only implied by command examples).
  • No OpenAgentSkill engagement data yet

Sécurité Agent v2

30/100 · Éviter l’installation automatique

Blocked for auto-installBloquer

This skill should not be selected by an agent without explicit human security review.

Do not auto-install. Inspect the source, dependencies, and permission surface first.

Résoudre via API

Élevé

Exécution shell ou de commande

Les métadonnées de la skill font référence à des workflows de terminal, CLI, shell, sous-processus ou exécution de commande.

Moyen

Accès réseau

La skill récupère probablement des pages distantes, API, dépôts ou services externes.

Élevé

Secrets or environment access

Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.

Moyen

Accès à la base de données

La skill peut inspecter des schémas, interroger des bases de données ou travailler avec des stockages persistants.

  • Indices de permissions à haut risque : Shell or command execution, Secrets or environment access
  • Dependency or permission surface needs review

Cibles d’installation

Installer ce skill dans votre workflow Agent

Utilisez le point de terminaison public pour récupérer la commande, la checklist, les prompts et les liens canoniques.

skill install

OpenAgentSkill CLI

Resolve policy, run the source installer safely, and report a verified install receipt.

$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install danicat-google-analytics

Plan de résolution Agent

Laissez un Agent vérifier la pertinence avant l’installation.

L’API Resolve renvoie la skill sélectionnée, des alternatives, la politique de sécurité, les notes d’audit, la cible d’installation et un prompt prêt à l’emploi.

Ouvrir le plan texte

L’Agent doit vérifier

  • Task fit and alternatives from Resolve API.
  • Audit score, trust score, and safety policy warnings.
  • Install target compatibility for Codex, Claude Code, Cursor, or CLI.

Copier le prompt

Task: Use google-analytics in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20google-analytics%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/danicat-google-analytics/install
Install command: npx skills add danicat/skills --skill google-analytics
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.

Relais Agent

Donnez à l’Agent le chemin d’installation, pas un autre annuaire.

Utilisez le point de terminaison public pour récupérer la commande, la checklist, les prompts et les liens canoniques.

Ouvrir l’API d’installation

Prompt Agent

Use google-analytics for this task. Review https://www.openagentskill.com/api/skills/danicat-google-analytics/install, then install with: npx skills add danicat/skills --skill google-analytics

Métadonnées Registry

Profil lisible par Agent pour la sélection automatique de skills.

L’API Registry fournit les signaux de décision, confiance, audit, cas d’usage et installation sans analyser l’interface.

Ouvrir Manifest

Adéquation Agent

58/100

Database and SQL

Plateformes

Claude Code

Rapport d’audit

Revue nécessaire · 70/100

Revue lisible par machine de la préparation à l’installation, des métadonnées de sécurité, de la maintenance et du risque d’adoption.

Voir le rapport d’auditVoir le rapport d’évaluation

Panneau de décision Agent

Fallback candidate for Database and SQL

Prototype with this skill first; keep a fallback candidate ready.

58
Préparation
Prototype
Étape

Rôle dans la pile

Candidate de secours

Pertinence principale

Database and SQL

Libellé de confiance

Prototyper d’abord

Chemin d’installation

Commande prête

À utiliser lorsque

  • workflows Database and SQL
  • Équipes Claude Code
  • builders willing to evaluate younger projects

Preuves

  • recent repository activity
  • install command or GitHub repo available
  • profil qualité 59/100

revoir d’abord

  • Low GitHub adoption signal
  • The skill requires the `uv` package manager to run scripts, but this dependency is not explicitly documented in SKILL.md (only implied by command examples).
  • No OpenAgentSkill engagement data yet

Chemin d’implémentation

  1. 1Installez-le dans un Agent en sandbox et exécutez une tâche de Database and SQL de bout en bout.
  2. 2Compare output quality, latency, and failure behavior against at least one alternative.
  3. 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.

Profil de confiance

Do not auto-install

Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.

51
Trust Score OpenAgentSkill

Adoption GitHub

Corriger

16 stars GitHub

Activité stars/forks

Corriger

16 stars et 3 forks; l’activité des issues n’est pas disponible dans les métadonnées actuelles

Maintenance récente

Validé

Mis à jour aujourd’hui

Clarté de licence

Validé

Apache-2.0

Signaux positifs

  • Revue IA approuvée
  • Le chemin d’installation est disponible
  • La preuve du dépôt est disponible
  • Dépôt maintenu récemment
  • La commande d’installation ne présente aucun motif de haut risque évident
  • La boucle de résultats est prête mais nécessite la première exécution réelle de l’Agent

Réviser avant installation

  • The skill requires the `uv` package manager to run scripts, but this dependency is not explicitly documented in SKILL.md (only implied by command examples).
  • Low GitHub adoption signal
  • Quality score needs review
  • Permission surface needs review: secrets or environment access, shell or command execution
  • GitHub adoption: 16 GitHub stars
  • Stars/forks activity: 16 stars, 3 forks; issue activity unavailable in current metadata
  • Dependency/runtime risk: command execution surface, credential or environment access
  • Permission surface: secrets or environment access, shell or command execution
  • Pas encore de rapports de résultats Agent réels
  • Une revue humaine est requise avant une installation sans surveillance

Action recommandée

Choose a stronger alternative or inspect the source manually before any install attempt.

Profil qualité

Prometteur candidat pour les workflows Agent

Useful candidate, but compare it with alternatives before adopting.

59
Stars GitHub
16
Actualité
Aujourd’hui
Prêt à installer
Oui
Licence
Apache-2.0
Réviser avant installation: Low GitHub adoption signal · The skill requires the `uv` package manager to run scripts, but this dependency is not explicitly documented in SKILL.md (only implied by command examples).

Adéquation au workflow

Utilisez cette skill dans ces scénarios

Adéquation au workflow

Ajouter à un workflow complet

Liste d’alternatives

Comparer avant installation

Similar skills that may fit this task.

Tout comparer

Vue d’ensemble

--- name: google-analytics description: > Collect and analyze Google Analytics 4 (GA4) website data in a local SQLite database. Stores pageviews, active users, reading dwell time, traffic sources, and outbound clicks so you can run SQL queries or view reports on site performance. Activate when analyzing website traffic, measuring reader engagement and dwell time, evaluating the impact of site updates or milestones, or querying Google Analytics with SQL. license: Apache-2.0 metadata: category: analytics tags: "ga4, analytics, traffic, metrics, optimization" author: Daniela Petruzalek (daniela@danicat.dev) version: "0.2.0" catalog: https://skills.danicat.dev ---

# Google Analytics 4 SQLite Ingestion & SQL Analytics

The `google-analytics` skill ingests Google Analytics 4 (GA4) traffic, reading depth, acquisition channels, event streams, and outbound clicks into a local SQLite analytics database (`google_analytics.db` or `$XDG_DATA_HOME/google-analytics/analytics.db`) without data loss, preserving raw JSON payloads on all records, and providing a fast SQL interface for website analytics.

## Available scripts - `scripts/google_analytics.py`: Automated sync, reporting, and annotation CLI for Google Analytics 4. Executed via `uv run scripts/google_analytics.py` (requires Google Cloud ADC or OAuth credentials). - `scripts/test_google_analytics.py`: Unit and regression test suite validating schema, query extraction, and CLI flags.

---

## ⚡ Quick Start & Primary Actions

All operations are driven via the bundled Python CLI script:

```bash # 1. Authorize OAuth 2.0 (with analytics.edit & readonly scopes) uv run scripts/google_analytics.py auth --port 8080

# 2. Discover accessible GA4 properties uv run scripts/google_analytics.py properties

# 3. Create Deployment / Milestone Annotation (Cloud API + Local SQLite) uv run scripts/google_analytics.py annotate \ --title "Major Release / Architecture Overhaul" \ --date 2026-08-18 \ --commit abc1234 \ --description "Milestone description and release context."

# 4. Incremental Sync (Updates newest days + 3-day latency lookback overlap) uv run scripts/google_analytics.py sync --db path/to/database.db

# 5. Full Historical Backfill (Ingests up to 14 months of daily granular data) uv run scripts/google_analytics.py sync --full --db path/to/database.db

# 6. Run Pre-Built Reports uv run scripts/google_analytics.py report overview --db path/to/database.db uv run scripts/google_analytics.py report top-pages --db path/to/database.db uv run scripts/google_analytics.py report channels --db path/to/database.db uv run scripts/google_analytics.py report geo --db path/to/database.db uv run scripts/google_analytics.py report events --db path/to/database.db uv run scripts/google_analytics.py report outbound --db path/to/database.db uv run scripts/google_analytics.py report milestone-impact --db path/to/database.db

# 7. Execute Ad-Hoc SQL Query uv run scripts/google_analytics.py query "SELECT page_path, total_views, total_users, avg_dwell_sec, avg_bounce_pct FROM v_page_performance LIMIT 10" --db path/to/database.db ```

If `--db` is omitted, the script defaults to `google_analytics.db` in the current working directory.

---

## 🗄️ Database Schema & Relational Structure

The database maintains 7 relational tables and 7 analytical views. Detailed DDL and schema definitions are in [`references/schema.md`](references/schema.md).

### Tables

1. **`daily_pages`**: Granular daily page metrics by URL, country, device, and traffic source. - Key columns: `id` (PK), `property_id`, `date`, `page_path`, `page_title`, `country`, `device_category`, `source_medium`, `screen_page_views`, `active_users`, `sessions`, `user_engagement_duration`, `bounce_rate`, `raw_json`, `synced_at`. 2. **`daily_traffic`**: Acquisition channels and source/medium pairs. - Key columns: `id` (PK), `property_id`, `date`, `session_source_medium`, `session_default_channel_group`, `country`, `device_category`, `sessions`, `active_users`, `new_users`, `engaged_sessions`, `user_engagement_duration`, `bounce_rate`, `raw_json`, `synced_at`. 3. **`daily_events`**: User interaction event stream (`scroll`, `click`, `first_visit`, `user_engagement`, `page_view`). - Key columns: `id` (PK), `property_id`, `date`, `event_name`, `page_path`, `country`, `device_category`, `event_count`, `total_users`, `raw_json`, `synced_at`. 4. **`outbound_clicks`**: External link exit destinations and click counts. - Key columns: `id` (PK), `property_id`, `date`, `link_url`, `page_path`, `country`, `event_count`, `total_users`, `raw_json`, `synced_at`. 5. **`properties`**: Verified GA4 property metadata, timezone, and settings. - Key columns: `property_id` (PK), `name`, `account_id`, `display_name`, `industry_category`, `time_zone`, `currency_code`, `service_level`, `raw_json`, `last_synced_at`. 6. **`site_milestones`**: Release milestones and publication events. - Key columns: `commit_hash` (PK), `event_date`, `title`, `description`, `category`, `scope`, `author`, `created_at`. 7. **`sync_history`**: Audit log of sync executions and row counts. - Key columns: `id` (PK), `property_id`, `sync_type`, `start_date`, `end_date`, `pages_synced`, `traffic_synced`, `events_synced`, `outbound_synced`, `status`, `error_message`, `started_at`, `finished_at`.

---

## 📊 Analytical SQL Views

| View Name | Description | Key Columns | | :--- | :--- | :--- | | `v_daily_summary` | Daily aggregated traffic metrics | `date`, `total_sessions`, `total_active_users`, `total_page_views`, `total_engagement_min`, `avg_bounce_pct` | | `v_page_performance` | Page rollup with views, active users, dwell time, and bounce rate | `page_path`, `page_title`, `total_views`, `total_users`, `total_sessions`, `avg_dwell_sec`, `total_dwell_min`, `avg_bounce_pct` | | `v_channel_performance` | Acquisition channel breakdown | `channel_group`, `source_medium`, `total_sessions`, `total_users`, `total_new_users`, `total_engaged_sessions`, `engagement_rate_pct`, `total_dwell_min`, `avg_bounce_pct` | | `v_geo_breakdown` | Country traffic and dwell time | `country`, `total_sessions`, `total_users`, `total_page_views`, `avg_dwell_sec`, `avg_bounce_pct` | | `v_events_summary` | Aggregate event counts | `event_name`, `total_events`, `total_users` | | `v_outbound_links` | Outbound destination rankings | `link_url`, `total_clicks`, `total_users`, `referring_pages_count` | | `v_milestone_impact` | Pre vs. Post milestone comparison | `milestone_title`, `milestone_date`, `cohort`, `days_tracked`, `total_views`, `total_users`, `total_sessions`, `avg_engagement_sec`, `avg_bounce_pct` |

---

## 🔍 SQL Analytics Recipes

Pre-tested SQL query recipes are documented in [`references/queries.md`](references/queries.md).

### 1. Top Landing Pages by Active Dwell Time ```sql SELECT page_path, page_title, total_views, total_users, avg_dwell_sec || 's' AS avg_dwell, total_dwell_min || 'm' AS total_dwell, avg_bounce_pct || '%' AS bounce_pct FROM v_page_performance ORDER BY total_dwell_min DESC LIMIT 15; ```

### 2. Category / Subdirectory Rollup ```sql SELECT CASE WHEN page_path LIKE '/docs/%' THEN 'Docs' WHEN page_path LIKE '/blog/%' THEN 'Blog' WHEN page_path = '/' THEN 'Homepage' ELSE 'Other' END AS category, COUNT(DISTINCT page_path) AS page_count, SUM(total_views) AS total_views, SUM(total_users) AS total_users, ROUND(SUM(total_dwell_min), 1) AS total_dwell_min FROM v_page_performance GROUP BY category ORDER BY total_views DESC; ```

---

## ⚠️ Cross-Tool Alignment: GA4 Organic Search vs. Search Console Property Totals

When cross-referencing GA4 acquisition metrics with Google Search Console data:

1. **Multi-Engine Organic Reach:** GA4 `Organic Search` aggregates landing sessions and active users across **all search engines** (Google Search, Bing, DuckDuckGo, Ecosia, Yahoo, AI search engines). Search Console exclusively measures Google Search impressions and clicks. 2. **Session Arrivals vs. SERP Clicks:** GA4 tracks 100% of landing sessions without query-level privacy truncation. In contrast, Search Console API keyword exports filter out "anonymized queries". 3. **Property-Level Reconciliation:** For organic traffic reporting, GA4 `v_channel_performance` (filtering for `channel_group = 'Organic Search'`) naturally aligns with Search Console property-level totals (`daily_site_performance` in `search-analytics` and GSC Web UI Performance cards), while Search Console's `search_performance` table provides the granular ranking breakdown for identifiable keywords.

---

## 📚 Progressive Disclosure & References

- **Full DDL Schema Reference**: [`references/schema.md`](references/schema.md) — Complete SQL table definitions, column types, constraints, and views. - **SQL Query Cookbook**: [`references/queries.md`](references/queries.md) — Tested SQL recipes for reading depth, acquisition channels, and exit destinations. - **Authentication Guide**: [`references/setup_auth.md`](references/setup_auth.md) — Google Cloud ADC login, API enablement, and GA4 property permissions.

Détails techniques

Version
1.0.0
Licence
Apache-2.0
Dernière mise à jour
24 août 2026
Publié
24 août 2026

Instantané de décision

Candidate de secours

58
Prêt
Prototype
Étape

recent repository activity

Audit

Revue d’installation

Revue d’installation et d’adoption

70
Revue nécessaire
Sécurité
68/100
Maintenance
100/100
Installer
92/100
Ouvrir l’audit completVoir le rapport d’évaluation

Preuves validées par Agent

Preuves validées par Agent

Rapports après resolve, revue, installation et une exécution limitée.

0
Validé
Needs first agent runAuto-installation: revoir d’abordDernier: Inconnu
Taux de réussite
Échec récent
Résultats
0
Qualité de sortie
Échecs
0
Non pertinent
0
Installations
0
Bloqué par le risque
0
Configuration requise
0
Production
0

Aucune donnée de résultat Agent pour l’instant. La première exécution peut signaler succès, besoin de configuration, blocage de risque, échec ou non-pertinence via /api/agent/outcome.

Installer

Ajouter au workflow Agent

Gratuit et open source. Examinez le rapport avant l’installation dans des Agents de production.

Boucle de croissance

Kit de partage

X

Brouillon guidé par scénario pour google-analytics, prêt pour une publication manuelle sur X.

Note du curateur
google-analytics: Collect and analyze Google Analytics 4 (GA4) website data in a local SQLite database. Stores...

16 stars

https://www.openagentskill.com/skills/danicat-google-analytics?ref=x
Ouvrir le brouillon X
Réponse facultative avec commande d’installation
Listing + install path for google-analytics:
https://www.openagentskill.com/skills/danicat-google-analytics?ref=x

Install: npx skills add danicat/skills --skill google-analytics

Source de la fiche

Indexé par Registry

Revendiable

Cette fiche a été indexée à partir de sources publiques et n’est pas marquée officielle tant qu’une revendication de mainteneur n’est pas approuvée.

Créateur
danicat
Indexé par
Index communautaire OpenAgentSkill

L’attribution renvoie au dépôt public ou au profil du créateur. Les créateurs peuvent revendiquer la fiche pour mettre à jour les signaux de propriété.

Revendiquer ce skill

Revendication du propriétaire

Revendiquer cette fiche de skill

Cette fiche Indexé par Registry est attribuée à danicat, mais n’est pas encore marquée officielle. Revendiquez-la pour ajouter un signal de propriétaire vérifié et rendre les futures mises à jour de lancement, d’installation et d’audit plus fiables.

Kit de backlinks créateur

Ajoutez les badges de preuve à votre README

Affichez la fiche canonique, les signaux actuels de confiance et d’audit, ainsi que de vraies preuves Agent-Proven là où les développeurs évaluent le dépôt.

[![Listed on OpenAgentSkill](https://www.openagentskill.com/api/badge/danicat-google-analytics?metric=listed&label=Listed)](https://www.openagentskill.com/skills/danicat-google-analytics)
[![OpenAgentSkill Trust](https://www.openagentskill.com/api/badge/danicat-google-analytics?metric=trust&label=Trust)](https://www.openagentskill.com/skills/danicat-google-analytics)
[![OpenAgentSkill Audit](https://www.openagentskill.com/api/badge/danicat-google-analytics?metric=audit&label=Audit)](https://www.openagentskill.com/skills/danicat-google-analytics/audit)
[![Agent Proven](https://www.openagentskill.com/api/badge/danicat-google-analytics?metric=proven&label=Agent%20Proven)](https://www.openagentskill.com/skills/danicat-google-analytics)

Auteur

D

danicat

@danicat

Adéquation plateforme

Signaux de santé

Stars GitHub
16
Score de qualité
32/100
Dernier push GitHub
23 août 2026
Indications de framework
Inconnu
Vues OpenAgentSkill
0
Copies d’installation
0
Clics sortants
0

Signal de communauté

Indiquez si ce skill semble utile à votre workflow Agent. Les retours agrégés améliorent le classement au fil du temps.

Confiance et sécurité

Do not auto-install

51
  • Adoption GitHub16 stars GitHubCorriger
  • Activité stars/forks16 stars et 3 forks; l’activité des issues n’est pas disponible dans les métadonnées actuellesCorriger
  • Maintenance récenteMis à jour aujourd’huiValidé
  • Clarté de licenceApache-2.0Validé
  • Complétude README/SKILL.mdLes métadonnées publiques nécessitent davantage de contexte README/SKILL.mdInfo
  • Risque dépendances/runtimecommand execution surface, credential or environment accessCorriger