In breve
Matomo web analytics: visite, report su pagine e pagine di ingresso, referenti, paesi e dispositivi, conversioni degli obiettivi e dettagli in tempo reale sui visitatori. Reporting API su Matomo Cloud o sulla tua istanza, token_auth.
Configurazione guidata
Collega Matomo a Gemini in 2 minuti
Avvia la prova gratuita su AnythingMCP Cloud, collega Matomo con la configurazione guidata e aggiungi il tuo URL MCP a Gemini. Senza codice e senza server da gestire.
Nessuna carta di credito · 7 giorni di prova · Alternativa self-host disponibile
Prova a chiedere
Prompt di esempio per Matomo
Clicca su un prompt per copiarlo. Incollalo in Claude, ChatGPT, Cursor, Gemini, Copilot o OpenClaw per eseguirlo contro questo connettore.
Claude è un'AI e può sbagliare. Verifica sempre le risposte.
💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → Matomo, inserisci le credenziali, genera una MCP API key — fatto. Niente Docker, niente
git clone, niente server locale.
Matomo + Gemini
Matomo web analytics: visite, report su pagine e pagine di ingresso, referenti, paesi e dispositivi, conversioni degli obiettivi e dettagli in tempo reale sui visitatori. Reporting API su Matomo Cloud o sulla tua istanza, token_auth.
Prerequisiti
Le istruzioni di setup complete sono incluse nel connettore stesso (visibili nello store quando lo selezioni). Le variabili d'ambiente richieste sono:
MATOMO_URL, MATOMO_TOKEN
Step 1 — Ottieni le credenziali
Getting a token
- Sign in to Matomo and open Administration → Personal → Security → Auth tokens, then Create new token.
- Leave 'Only allow secure requests' unticked only if you must — with it ticked, Matomo 4+ requires the token in a POST body rather than a query parameter. This adapter sends it as a query parameter (GET), which is Matomo's classic Reporting API shape and what the majority of installs accept.
- Set
MATOMO_URLto your Matomo root (no trailing slash, no/index.php) andMATOMO_TOKENto the token.
…(continued in the in-app connector instructions)
Step 2 — Installa l'adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Aggiungi il connettore in Gemini
L'URL del tuo server: in AnythingMCP apri MCP Servers → il server su cui si trova questo connettore e copia il suo URL (
https://cloud.anythingmcp.com/mcp/…). Usalo ovunque questa guida mostraYOUR_SERVER_ID.
Gemini CLI legge i server MCP da ~/.gemini/settings.json (o %APPDATA%\gemini\settings.json su Windows). Aggiungi:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Ottieni la tua MCP API key da AnythingMCP → MCP Servers → il tuo server → API keys.
- Salva il file e riavvia
gemini. - Esegui
/mcpnella Gemini CLI —Matomodovrebbe essere elencato come disponibile. - Vertex AI Studio: passa
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDnell'arraytoolsdella richiesta con lo stesso headerX-API-Key.
Tool disponibili
| Tool | What it does |
|---|---|
matomo_get_version | Read the Matomo version of this instance |
matomo_list_sites | List the sites this token can report on, with their id, name, main URL, timezone and currency |
matomo_get_visits_summary | Read the headline numbers for a period: visits, unique visitors, actions, bounce rate, average visit duration and actions per visit |
matomo_get_page_urls | Read the page report: which URLs were viewed, how often, their average time on page, bounce rate and exit rate |
matomo_get_entry_pages | Read which pages visitors arrived on, with entries, bounce rate and the visits that followed — the landing-page view, not the pageview vie |
matomo_get_referrers | Read where the traffic came from: search engines, websites, social networks, campaigns and direct entry, with visits and actions for each |
matomo_get_countries | Read the visits broken down by country, with visit counts, actions and bounce rate — the geography of the audience |
matomo_get_device_types | Read the visits broken down by device type — desktop, smartphone, tablet — with visits, actions and bounce rate |
matomo_get_goals | Read goal conversions for a period: conversions, conversion rate and revenue, overall or for one goal |
matomo_get_last_visits | Read individual recent visits with their referrer, country, device, and the pages each one viewed in order |
FAQ
Gemini 1.5 Pro o 2.x supportano MCP? Sì — Gemini CLI ≥ 0.4 e la Vertex AI tools API accettano connettori MCP httpUrl con header personalizzati.
Prossimi passi
- Pagina del connettore
- Collega a Claude
- Collega a ChatGPT
- Collega a Cursor
- Collega a Meta Muse
- Collega a Microsoft Copilot
Questa guida ti è stata utile?