跳到正文
TakoAPI
返回技能列表

datafast-analytics

由 bennyqp 提供

Web & Frontend Development
427下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Query DataFast website analytics and visitor data via the DataFast API for metrics, time series, realtime stats.

描述

该技能的功能

Queries the DataFast API to retrieve website analytics including visitor counts, time series, realtime data, geographic and device breakdowns, and individual visitor details. Also handles goal and payment record creation and deletion. Responses are formatted as tables with a short narrative summary.

Lets you query and manage DataFast analytics in plain language without opening the dashboard or writing API calls manually.

何时使用

  • Checking yesterday's visitor and session counts
  • Pulling a weekly time series of traffic by referrer
  • Creating a conversion goal after a user completes checkout
  • Deleting test payment records from a specific date range

示例工作流

输入

User asks: Show me daily visitors for the past week, broken down by referrer

智能体
  1. 1

    Read API key from ~/.config/datafast/api_key

  2. 2

    Query GET /analytics/timeseries with fields=visitors, interval=day, and a 7-day date range

  3. 3

    Query GET /analytics/referrers with the same date range

  4. 4

    Merge results into a table with daily totals and top referrer sources

  5. 5

    Write a short narrative with total visitors and the leading referrer

输出

Table of daily visitor counts with referrer column, plus a two-sentence summary of total traffic and top source

前置要求

  • DataFast API key (starts with df_, obtained from datafa.st)

安装

clawhub install bennyqp/datafast-analytics

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接