seo-matomo
Ce qu’il fait
Cette compétence connecte votre agent à Matomo, un outil d'analyse auto-hébergé ou en nuage. Elle s'adresse aux personnes qui veulent leurs données de trafic sans dépendre de Google.
Quand l’utiliser
- ✓Quand vous voulez voir quelles pages reçoivent le plus de visites organiques.
- ✓Quand vous voulez savoir quels pays et quels appareils utilisent vos visiteurs.
- ✓Quand vous voulez examiner quels référents et mots-clés amènent des visiteurs.
Lien du skill
https://github.com/AgriciDaniel/claude-seo/blob/main/extensions/matomo/skills/seo-matomo/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Pouvez-vous me montrer mes principales pages organiques et les pays de mes visiteurs dans Matomo pour les 30 derniers jours ?”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
La compétence utilise l'API de reporting de Matomo avec votre jeton d'accès. Elle demande le rapport que vous voulez et en résume les données.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
seo-matomo
Self-hosted analytics surface. Use Matomo as a privacy-first GA4 alternative
when you own your analytics data, want zero Google dependency, or operate
behind a strict data-residency boundary. The same seo-matomo skill works
against Matomo Cloud and self-hosted instances.
Prerequisites
- Run
extensions/matomo/install.shorinstall.ps1. - A Matomo instance URL (https://analytics.example.com).
- A Matomo API
token_authwithviewaccess on the sites you analyze. - (Optional) A default
idSiteto avoid passing--site-idon every call.
Routing
| Command | Underlying script |
|---|---|
/seo matomo check |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_auth.py --check |
/seo matomo organic [site-id] |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_report.py organic --site-id <id> |
/seo matomo top-pages |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_report.py top-pages |
/seo matomo device |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_report.py device |
/seo matomo country |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_report.py country |
/seo matomo referrers |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_report.py referrers |
/seo matomo keywords |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_report.py keywords |
All commands accept --days (default 28), --limit, --site-id, and
--json. The site ID falls back to MATOMO_SITE_ID from settings.
When this skill applies
- The user wants Google-free analytics or has a Matomo instance already configured. Common in EU privacy-first setups, regulated industries, and teams who own their analytics.
- The user explicitly says "Matomo", "self-hosted analytics", or asks to
replace GA4. For Google Search performance use
seo-google; this skill is the reporting substitute. - The user is migrating from GA4 and wants the same report types (organic trend, landing pages, device / country split, referrer split) sourced from Matomo's Reporting API.
Cross-skill delegation
- For Google Search Console / CrUX / Indexing, route to
seo-google.seo-matomocovers reporting (visits / pages / referrers), not search performance metrics. - For AI Overview / GEO citability work, route to
seo-geo. Matomo offers no LLM-specific signals. - During
/seo audit, the orchestrator spawns theseo-matomoagent (analogous toseo-google) whenever"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_auth.py --checksucceeds. Both agents can be active simultaneously when the user has both GA4 and Matomo configured.
Self-hosted instance on a private address
Every Matomo request goes through claude-seo's SSRF guard: the instance URL
is validated and DNS-pinned, and a redirect off the instance is refused.
Private, loopback, and link-local addresses are refused by default. When the
user's instance lives on one (http://matomo.internal:8080,
http://192.168.1.20, http://localhost:8080), tell them to name it in the
CLAUDE_SEO_LOCAL_TARGETS allowlist:
export CLAUDE_SEO_LOCAL_TARGETS="matomo.internal:8080"
Entries are host or host:port, comma-separated, matched exactly. The
allowlist covers only the top-level instance URL; redirect targets and every
other host stay fail-closed, and cloud metadata addresses are refused even
when listed. Never suggest disabling the guard or editing url_safety.py:
the allowlist is the supported route. Details in
extensions/matomo/docs/MATOMO-SETUP.md and SECURITY.md.
Error Handling
- Refused by the SSRF guard (error names
CLAUDE_SEO_LOCAL_TARGETS): the instance is on a private address that has not been allowlisted. Give the user the exact export line from the error, which already carries the righthost:port. - Refused redirect: the instance answered a 30x pointing at another host.
MATOMO_URLis pointing at a redirector rather than at the Reporting API. Ask the user for the URL their instance actually serves the API from. - Missing credentials: report which env vars / config keys are unset and
remind the user to run
extensions/matomo/install.shor"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_auth.py --setup. - HTTP 401/403 from Matomo: the token lacks view access for the given site. Verify the token scope in Matomo Administration -> Personal -> Security -> API Tokens. The skill never logs the token.
result=errorpayloads from Ma
Questions fréquentes
De quoi ai-je besoin pour connecter Matomo ?
Il faut votre adresse web Matomo et un jeton d'API disposant d'un accès en lecture à vos sites.
Puis-je définir un site par défaut ?
Oui. Vous pouvez définir un identifiant de site par défaut pour ne pas avoir à le nommer à chaque demande.
Fonctionne-t-elle avec les données GA4 ?
Non. La compétence lit uniquement les données Matomo, et elle peut être utilisée à la place de GA4 ou en complément.
Détails
Description originale de l’auteur
Matomo Reporting API extension. Self-hosted or Matomo Cloud analytics as a GA4 alternative or complement. Organic traffic, landing pages, device / country breakdowns, referrers, search keywords. Triggers on "Matomo", "self-hosted analytics", "analytics ohne Google", "GA4 alternative", "Matomo Reporting", "Piwik".
repo: AgriciDaniel/claude-seo
Popularité
- Étoiles GitHub
- 26k
- Position au classement
- #9994
- Licence
- MIT
- Mis à jour
- 01/11/2026
Commentaires
- …
Autres skills de ce dépôt
seo-ahrefs
26kPermet à votre agent d'extraire les données Ahrefs en direct pour un site web, dont les backlinks, les domaines référents, les mots-clés organiques et des idées de contenu. Nécessite un jeton d'API Ahrefs.
seo-image-gen
26kAide votre agent à créer des images SEO, comme des cartes d'aperçu pour les réseaux sociaux, des visuels d'en-tête de blog et des infographies, avec Gemini. Nécessite l'extension banana.
seo-bing
26kAide votre agent à consulter les données de Bing Webmaster Tools et à soumettre les URL de nouvelles pages via IndexNow, pour aider Bing à trouver vos pages.
seo-dataforseo
26kPermet à votre agent d'extraire des données SEO en direct, comme des résultats de recherche, des volumes de mots-clés, des backlinks et des mentions par l'IA, via DataForSEO. Chaque appel est facturé par le fournisseur.
Skills similaires
competitive-platform-analysis
280kAide à comprendre vos concurrents. Identifie, catégorise et filtre les entreprises concurrentes avant toute analyse plus approfondie.
competitive-report-structure
280kCrée des rapports complets sur la concurrence. Combine les informations pour présenter le paysage global et des recommandations, et aide à aligner l'équipe.
lead-intelligence
280kAide votre agent à trouver et contacter des personnes clés. Il analyse les prospects, suggère des approches et gère la prospection par e-mail et réseaux sociaux.