Staats

쿠키리스 웹 애널리틱스로, 코딩 에이전트가 읽고 기억합니다. 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)