首页龙虾技能列表 › Flowsery — 隐私优先的网页分析查询

Flowsery — 隐私优先的网页分析查询

v1.0.1

从 Flowsery Analytics 查询网页分析数据,这是一款隐私优先的网页分析平台。支持获取实时访客、时间序列、维度分析(设备、页面、国家、来源、渠道、退出链接等共24个维度)、访客档案及活动 timeline,以及自定义目标和收入归因。适用于检查网站流量、分析访客行为、查看收入数据、跟踪转化或查询任何分析指标。

0· 70·0 当前·0 累计
by @tarasshyn (Taras Shynkarenko)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/13
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
该技能内部一致:它记录并使用单个 Flowsery API 密钥来调用 Flowsery Analytics API,所请求的访问与声明的分析目的相匹配。
评估建议
该技能与其目的一致:只需要您的 Flowsery API 密钥并调用 Flowsery Analytics API。安装前请确认您信任 flowsery.com 并了解该 API 密钥的权限范围。实际防护措施:(1) 使用权限最小的 API 密钥(如果 Flowsery 支持只读模式则优先使用),而不是单一的全权限密钥。(2) 注意 API 响应可能包含访客个人资料数据(姓名/邮箱),且技能文档记录了可删除目标/支付的 DELETE 端点——除非您打算允许这些操作,否则避免提供具有破坏性权限的密钥。(3) 切勿将 API 密钥粘贴到客户端代码中;将其保存在安全的环境变量中。如需更高保障,请向技能作者询问技能会自动调用哪些端点,以及是否支持只读模式。...
详细分析 ▾
用途与能力
名称/描述与运行时指令和参考文档匹配。唯一需要的凭据是 FLOWSERY_API_KEY,这适合网页分析集成。
指令范围
SKILL.md 仅指导调用 Flowsery API 端点(概览、时间序列、实时、维度分析、访客档案、目标、支付)。这保持在分析范围内,但 API 会返回访客档案(包括示例中已识别的个人资料字段如姓名和邮箱)并暴露破坏性端点(DELETE /goals、DELETE /payments)。这些功能对于分析管理工具来说是预期的,但与隐私和安全相关。
安装机制
纯指令技能,没有安装规范和代码文件;不会下载或写入任何内容到磁盘。
凭证需求
只需要 FLOWSERY_API_KEY,这是声明的主要凭据——与声明的目的相称。注意:API 可能在响应中暴露访客身份数据,并可用于创建/删除目标和支付,因此单个密钥根据 Flowsery 密钥范围授予读取和潜在破坏性写入权限。
持久化与权限
always 为 false,该技能不请求提升的持久权限,也不修改其他技能或系统配置。
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.12026/4/7

- 更新了描述以明确 Flowsery 是一个隐私优先的网页分析平台。 - 扩展了可用维度分析列表,增加了「退出链接」维度,共24个维度。 - 改进了整个描述的措辞以提高清晰度。 - 没有代码或功能变更;仅限文档更新。

● 无害

安装命令 点击复制

官方npx clawhub@latest install flowsery
镜像加速npx clawhub@latest install flowsery --registry https://cn.clawhub-mirror.com

技能文档

Privacy-first web analytics. Query real-time visitors, breakdowns, time series, revenue, goals, and visitor profiles — all via one API.

Setup

  • Sign up at https://flowsery.com/signup
  • Add your website and install the tracking snippet
  • Go to Site Settings → API tab → generate an API key
  • Set the environment variable:
export FLOWSERY_API_KEY="flow_sk_live_your-token-here"

Base URL: https://analytics.flowsery.com/api/v1

Auth header: Authorization: Bearer $FLOWSERY_API_KEY

All API keys use the flow_ prefix (e.g. flow_sk_live_abc123). Treat them like passwords — never expose in client-side code.

Core Workflow

1. Check website metadata

curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \
https://analytics.flowsery.com/api/v1/metadata

Returns { "status": "success", "data": [{ "domain", "timezone", "name", "logo", "kpiColorScheme", "kpi", "currency" }] }. Use the timezone and currency values for subsequent queries.

2. Get site overview (aggregated metrics)

curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \
"https://analytics.flowsery.com/api/v1/overview?startAt=2026-01-01&endAt=2026-01-31&timezone=America/New_York"

Returns: visitors, sessions, bounce_rate, avg_session_duration, revenue, revenue_per_visitor, conversion_rate. Omit date params for all-time data. Use fields param to select specific metrics: ?fields=visitors,revenue.

3. Get time series data

curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \
"https://analytics.flowsery.com/api/v1/timeseries?interval=day&fields=visitors,sessions,revenue&startAt=2026-03-01&endAt=2026-03-31"

Intervals: hour, day, week, month. Returns timestamped data buckets with totals. Response includes data array, totals object (with visitors, sessions, revenue, revenueBreakdown), and pagination.

4. Check real-time visitors

curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \
https://analytics.flowsery.com/api/v1/realtime

Returns { "data": [{ "visitors": 42 }] } — active visitors in the last 5 minutes. For geographic data, use the map endpoint:

curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \
https://analytics.flowsery.com/api/v1/realtime/map

5. Get breakdown reports

Each returns top items for a dimension with visitor/session counts. All accept date range, pagination, and filter params.

# Top pages
curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \
"https://analytics.flowsery.com/api/v1/pages?startAt=2026-03-01&endAt=2026-03-31&limit=20"

# Top referrers curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \ "https://analytics.flowsery.com/api/v1/referrers?startAt=2026-03-01&endAt=2026-03-31"

# Countries curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \ "https://analytics.flowsery.com/api/v1/countries?startAt=2026-03-01&endAt=2026-03-31"

# Devices (desktop/mobile/tablet) curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \ "https://analytics.flowsery.com/api/v1/devices?startAt=2026-03-01&endAt=2026-03-31"

# Marketing channels curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \ "https://analytics.flowsery.com/api/v1/channels?startAt=2026-03-01&endAt=2026-03-31"

Available breakdown endpoints: pages, referrers, countries, regions, cities, devices, browsers, operating-systems, campaigns, hostnames, channels, goals.

For any dimension, use the generic breakdown:

curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \
"https://analytics.flowsery.com/api/v1/breakdown?dimension=utm_source&startAt=2026-03-01&endAt=2026-03-31"

See references/breakdown-dimensions.md for all 24 dimensions.

6. Get a visitor profile

curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \
https://analytics.flowsery.com/api/v1/visitors/VISITOR_ID_HERE

Returns comprehensive visitor data:

  • identity: country, region, city, browser, OS, device type, viewport
  • source: original traffic source with favicon URL
  • activity: visit count, page views, first/last visit, visited pages, completed goals
  • revenue: total revenue, customer flag, time to first conversion (seconds)
  • profile: identified user data (userId, name, email) or null for anonymous visitors
  • activityTimeline: merged chronological list of all pageviews, goals, and payments

The visitor ID comes from the _fs_vid browser cookie set by the Flowsery tracking script.

7. Track a custom goal

curl -X POST https://analytics.flowsery.com/api/v1/goals \
-H "Authorization: Bearer $FLOWSERY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "visitorUid": "VISITOR_UID_FROM_COOKIE",
  "name": "newsletter_signup",
  "metadata": {
    "plan": "pro",
    "source": "pricing_page"
  }
}'
  • name (required): lowercase letters, numbers, underscores, hyphens; max 64 chars
  • visitorUid (recommended): from the _fs_vid browser cookie
  • metadata (optional): up to 10 key-value pairs (keys: lowercase, max 64 chars; values: max 255 chars)

The visitor must have at least one recorded pageview before a goal can be created.

8. Record a payment

If you use Stripe, LemonSqueezy, or Polar, payments are tracked automatically when connected. Use this endpoint only for other providers.
curl -X POST https://analytics.flowsery.com/api/v1/payments \
-H "Authorization: Bearer $FLOWSERY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "amount": 29.99,
  "currency": "USD",
  "transactionId": "payment_456",
  "visitorUid": "VISITOR_UID_FROM_COOKIE",
  "email": "customer@example.com"
}'

Required: amount, currency, transactionId. Optional: visitorUid, sessionUid, email, name, customerId, isRenewal (boolean), isRefund (boolean).

9. Delete goal events

curl -X DELETE "https://analytics.flowsery.com/api/v1/goals?name=signup&startAt=2026-01-01T00:00:00Z&endAt=2026-01-31T23:59:59Z" \
-H "Authorization: Bearer $FLOWSERY_API_KEY"

At least one filter required: visitorId, name, startAt, endAt.

WARNING: Without a date range, matching records are deleted across the entire history.

10. Delete payment records

curl -X DELETE "https://analytics.flowsery.com/api/v1/payments?transactionId=payment_456" \
-H "Authorization: Bearer $FLOWSERY_API_KEY"

At least one filter required: transactionId, visitorId, startAt, endAt.

WARNING: Without a date range, matching records are deleted across the entire history.

Query Parameters

Date range & pagination (all GET endpoints)

ParamTypeDescription
startAtstringISO 8601 start date (e.g. 2026-01-01)
endAtstringISO 8601 end date (e.g. 2026-01-31)
timezonestringIANA timezone (e.g. America/New_York). Falls back to site default.
limitintegerMax results, 1-1000 (default: 100)
offsetintegerPagination offset (default: 0)

Filters (all GET endpoints)

All filters use the filter_ prefix.

FilterDescription
filter_countryCountry name or code
filter_regionRegion or state
filter_cityCity name
filter_deviceDevice type: desktop, mobile, tablet
filter_browserBrowser: Chrome, Safari, Firefox, Edge
filter_osOS: Mac OS, Windows, iOS, Android
filter_referrerReferrer domain
filter_refref URL parameter value
filter_sourcesource URL parameter value
filter_viavia URL parameter value
filter_utm_sourceUTM source
filter_utm_mediumUTM medium
filter_utm_campaignUTM campaign
filter_utm_termUTM term
filter_utm_contentUTM content
filter_pagePage path
filter_hostnameHostname/domain
filter_entry_pageLanding page
filter_channelMarketing channel
filter_goalGoal name
Combine multiple filters to drill down:

curl -s -H "Authorization: Bearer $FLOWSERY_API_KEY" \
"https://analytics.flowsery.com/api/v1/pages?filter_country=United%20States&filter_device=mobile&startAt=2026-03-01&endAt=2026-03-31"

Response Format

Success (200 OK):

{
  "status": "success",
  "data": { ... }
}

Error:

{
  "status": "error",
  "error": {
    "code": 401,
    "message": "A descriptive error message"
  }
}

Error codes: 400 (invalid input), 401 (bad API key), 404 (not found), 500 (server error).

Marketing Channels

Flowsery auto-classifies traffic into GA4-aligned channels:

ChannelHow it's classified
Organic SearchGoogle, Bing, DuckDuckGo, etc.
Paid Searchutm_medium: cpc, ppc, paid_search
Organic SocialFacebook, Twitter, LinkedIn, Reddit, etc.
Paid Socialutm_medium: paid_social, social_cpc
Emailutm_medium: email, newsletter; or source: mailchimp, sendgrid, etc.
Displayutm_medium: display, banner, cpm
ReferralOther websites
DirectNo referrer
Affiliateutm_medium: affiliate, partner
Videoutm_medium: video, paid_video
SMSutm_medium: sms
Audioutm_medium: audio, podcast

Tips for the Agent

Read-only by default

Most commands are safe GET queries. The only write operations are:

  • POST /goals — track a goal event
  • POST /payments — record a payment
  • DELETE /goals — delete goal events (irreversible)
  • DELETE /payments — delete payment records (irreversible)

Always confirm with the user before running DELETE operations.

Date handling

  • When the user says "this month", "last week", "yesterday" — calculate the actual ISO dates
  • Default to the last 30 days when no date range is specified
  • Always use UTC or the site's timezone (from the metadata endpoint)

Revenue data is sensitive

When displaying payment or revenue data, ask the user about the appropriate level of detail before dumping raw numbers.

Polling

Do not poll the realtime endpoint more than once per 5 seconds.

Common agent tasks

User saysWhat to do
"How's my traffic?"Call overview with last 30 days
"What are my top pages?"Call pages with date range
"Where is my traffic coming from?"Call referrers or channels
"How many visitors right now?"Call realtime
"Show me traffic trends"Call timeseries with interval=day
"Who is this visitor?"Call visitors/{id}
"Track a signup"Call POST /goals with name and visitor UID
"How's my revenue?"Call overview with fields=revenue,conversion_rate or timeseries with fields=revenue
"Break down traffic by country"Call countries
"Show me mobile vs desktop"Call devices
"What campaigns are working?"Call campaigns or breakdown?dimension=utm_source
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务