कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

umami-stats

hfichter द्वारा

Web & Frontend Development
872clawskills.sh द्वारा बताए गए डाउनलोड
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Query Umami Cloud (v2) analytics data via API using an environment-provided API key.

विवरण

यह स्किल क्या करती है

Provides read-only access to Umami analytics data via the Umami Cloud v2 API or a self-hosted Umami instance. A Python script handles endpoint selection, authentication, and time-range presets so agents can fetch traffic, page, event, session, and report data without manual API setup.

The included query script abstracts auth differences between cloud and self-hosted Umami and handles path mapping automatically, so agents can fetch data with a single command instead of constructing raw API calls.

इसे कब इस्तेमाल करें

  • Checking weekly website traffic trends
  • Finding top-performing pages over the last 30 days
  • Monitoring signup click events over a custom date range
  • Pulling raw analytics data to plan a marketing experiment
  • Comparing current week vs previous week session counts

उदाहरण वर्कफ़्लो

इनपुट

User asks: What were my top pages in the last 30 days?

एजेंट
  1. 1

    Identify the website ID from UMAMI_WEBSITE_ID env var or by calling /v1/websites

  2. 2

    Run umami_query.py with --endpoint /v1/websites/{websiteId}/pageviews and --preset last30d

  3. 3

    Receive JSON response containing page URLs and view counts

  4. 4

    Sort and extract the top entries from the returned data

आउटपुट

A ranked list of pages with their view counts for the past 30 days

आवश्यकताएँ

  • UMAMI_API_KEY environment variable
  • Umami Cloud account or self-hosted Umami instance
  • UMAMI_WEBSITE_ID environment variable (if not passing --website-id at runtime)

इंस्टॉलेशन

clawhub install hfichter/umami-stats

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक