Staats

无Cookie网页分析,你的编码代理可读取并记忆。通过MCP提供流量、来源和漏斗数据,并支持部署标记的前后对比、存储的站点上下文,以及主动异常提示。远程服务器,无需安装:一个密钥覆盖账户内所有站点。

文档

Getting Started

From zero to live answers in your agent's chat in under two minutes.

1. Create your account

Sign in at staats.ai with Google or GitHub. Every account starts on the free tier: 10,000 monthly events, 1 site, and all MCP tools enabled.

2. Connect your agent

In your account view under Connect your agent, grab the one-line connection snippet for your client (Claude Code, Cursor, Windsurf, Codex, or a raw URL). Your account key is embedded in the URL, so there are no headers or env variables to configure: paste the command and the connection is active.

One connection covers your entire account: every current project and any future ones you add. For manual configuration, see the MCP Server reference.

3. Add the script tag

Create a site in the dashboard (or ask your agent to run create_site), then drop the site's script tag into your page head:

<script defer data-site="YOUR_SITE_CODE" src="https://www.staats.ai/s.js"></script>

The script is ~1.5 KB, sets no cookies, stores zero PII, and requires no GDPR cookie banner. Pageviews begin streaming immediately, including client-side route changes in single-page apps.

Two things worth knowing up front: leave the snippet off your 404 page, and exclude your own visits so your browsing does not skew your own numbers.

4. Ask your first question

That's the entire setup. In your agent's chat, try:

  • "How's my site doing this week?"
  • "Where did yesterday's traffic spike come from?"
  • "Track clicks on the new signup button" (the agent adds a data-track attribute; see Tracking)
  • "Annotate this deploy with the current commit and test back in 7 days" (see Agent Workflows)