datafast-analyticsQuery DataFast website analytics and visitor data via the DataFast API for metrics, time series, realtime stats, breakdowns, visitor details, and goal/paymen...
Install via ClawdBot CLI:
clawdbot install bennyqp/datafast-analyticsUse this skill to call the DataFast API and summarize results for the user.
startAt and endAt together or neither (overview/timeseries support ranges).timezone, fields, interval, limit, offset, and any filter_* parameters.Authorization: Bearer $DATAFAST_API_KEY and Content-Type: application/json.curl and parse JSON.df_).mkdir -p ~/.config/datafast
echo "df_your_key_here" > ~/.config/datafast/api_key
All requests need:
DATAFAST_API_KEY=$(cat ~/.config/datafast/api_key)
curl ... \
-H "Authorization: Bearer $DATAFAST_API_KEY" \
-H "Content-Type: application/json"
If the user hasn't set up the API key, ask them to follow the setup steps above.
https://datafa.st/api/v1/
Use the full API reference at {baseDir}/references/datafast-api-docs.md for endpoint details, response fields, and examples.
GET /analytics/overviewstartAt, endAt, timezone, fields.GET /analytics/timeseriesfields, interval (hour/day/week/month), startAt, endAt, timezone, limit, offset.filter_* query params for segmentation.fields is required (e.g., fields=visitors,sessions).GET /analytics/realtimeGET /analytics/realtime/mapGET /analytics/devicesGET /analytics/pagesGET /analytics/campaignsGET /analytics/goalsGET /analytics/referrersGET /analytics/countriesGET /analytics/regionsGET /analytics/citiesGET /analytics/browsersGET /analytics/operating-systemsGET /analytics/hostnamesGET /visitors/{datafast_visitor_id}POST /goalsDELETE /goals (requires at least one filter or time range; confirm scope)POST /paymentsDELETE /payments (confirm scope)For DELETE /goals or DELETE /payments:
Use filter_* params for segmentation (e.g., filter_referrer=is:X).
Important: Filter values must match the exact names from breakdown endpoints. For example, X/Twitter is stored as "X" (not "x.com" or "twitter.com"). When in doubt, query the breakdown first:
curl ... "/analytics/referrers?limit=20"
Then use the exact referrer value in your filter.
DATAFAST_API_KEY=$(cat ~/.config/datafast/api_key)
curl -sS "https://datafa.st/api/v1/analytics/overview?startAt=2024-01-01&endAt=2024-01-31&timezone=UTC" \
-H "Authorization: Bearer $DATAFAST_API_KEY" \
-H "Content-Type: application/json"
DATAFAST_API_KEY=$(cat ~/.config/datafast/api_key)
curl -sS "https://datafa.st/api/v1/goals" \
-H "Authorization: Bearer $DATAFAST_API_KEY" \
-H "Content-Type: application/json" \
-d '{"datafast_visitor_id":"...","name":"newsletter_signup","metadata":{"email":"..."}}'
DATAFAST_API_KEY=$(cat ~/.config/datafast/api_key)
curl -sS -X DELETE "https://datafa.st/api/v1/goals?name=signup&startAt=2023-01-01T00:00:00Z&endAt=2023-01-31T23:59:59Z" \
-H "Authorization: Bearer $DATAFAST_API_KEY"
limit, offset, and total, and ask if the user wants the next page.Generated Mar 1, 2026
An online retailer uses the skill to monitor daily sales conversions and visitor behavior by querying the overview and time series endpoints. They segment data by device type and referrer to optimize marketing spend and identify high-performing traffic sources, ensuring real-time adjustments to campaigns.
A media company leverages breakdown endpoints to analyze page views, referrers, and geographic data for their articles. They track real-time engagement during live events and use visitor details to understand user journeys, helping tailor content strategies and improve reader retention.
A software-as-a-service provider uses the skill to query goal and payment endpoints to track user sign-ups and subscription renewals. They analyze time series data for feature adoption and filter by hostname to monitor usage across different client domains, supporting churn reduction efforts.
An agency integrates the skill to generate client reports by pulling analytics on campaigns, devices, and countries. They use filter parameters to segment data for specific campaigns and confirm deletion scopes before removing outdated goals, ensuring accurate and compliant data management.
A nonprofit organization utilizes the skill to monitor donation goals and payment data through the API. They query breakdowns by referrer to assess fundraising campaign effectiveness and use time series to visualize donation trends over time, aiding in budget planning and donor outreach.
This model offers tiered access to DataFast Analytics via API calls, charging monthly fees based on data volume or number of queries. Revenue is generated through enterprise contracts and upsells for advanced features like real-time dashboards, targeting businesses needing scalable web analytics.
A service-based model where experts help clients set up and customize the skill for specific use cases, such as e-commerce tracking or marketing automation. Revenue comes from project fees, ongoing support contracts, and training sessions, leveraging deep API knowledge to solve complex analytics needs.
This model involves embedding DataFast Analytics into other software products as a white-labeled service, allowing partners to offer analytics under their own brand. Revenue is generated through licensing fees per user or transaction, appealing to SaaS providers and agencies seeking to enhance their offerings.
💬 Integration Tip
Ensure API keys are securely stored and validate filter values by querying breakdown endpoints first to avoid errors in segmentation.
Quick system diagnostics: CPU, memory, disk, uptime
Query Google Analytics 4 (GA4) data via the Analytics Data API. Use when you need to pull website analytics like top pages, traffic sources, user counts, ses...
Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search queries, and SEO metrics. Use when the user asks to: check site traffic, analyze page views, see traffic sources, view user demographics, get real-time visitor data, check search console queries, analyze SEO performance, request URL re-indexing, inspect index status, compare date ranges, check bounce rates, view conversion data, or get e-commerce revenue. Requires a Google Cloud service account with GA4 and Search Console access.
Google Analytics API integration with managed OAuth. Manage accounts, properties, and data streams (Admin API). Run reports on sessions, users, page views, and conversions (Data API). Use this skill when users want to configure or query Google Analytics. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Deploy privacy-first analytics with correct API patterns, rate limits, and GDPR compliance.
Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search queries, and SEO metrics. Use when the user asks to: check site traffic, analyze page views, see traffic sources, view user demographics, get real-time visitor data, check search console queries, analyze SEO performance, request URL re-indexing, inspect index status, compare date ranges, check bounce rates, view conversion data, or get e-commerce revenue. Requires a Google Cloud service account with GA4 and Search Console access.