# agenttracking.co

> Agent Tracking is analytics for AI agents on a website: it records which AI assistants send visitors, which AI crawlers and live fetchers read pages (verified against vendor IP ranges), which MCP and WebMCP tools an agent calls inside the browser, and whether the agent reaches a goal. One script tag, no cookies, no personal data. Open source (AGPL-3.0), hosted in Germany, self-hostable.

## Not to be confused with

The name is shared with other things. Agent Tracking is not LLM observability or tracing for agents a developer builds (AgentOps, LangSmith, Langfuse), not call-centre or support-agent workforce tracking, not field-sales or GPS tracking, not parcel or air-waybill tracking, and not a bot blocker. Category: AI agent analytics for websites, measuring agents other people run when they visit a site.

## Read first

- [Everything on one page](https://agenttracking.co/llms-full.txt): what it does, what it sees, how it differs from analytics and bot managers, plans, API, FAQ, as Markdown.

- [How it works and how to install it](https://agenttracking.co/docs): the snippet, verification, the four views, the stats API and the MCP tool.
- [Demo page](https://agenttracking.co/demo): two WebMCP tools you can call and watch appear in a dashboard.
- [Source code](https://github.com/shufflethis/agent-tracking): the whole product, including the ingest, the dashboard and the cron jobs.

## Guides, one question each

- [How do I measure what AI agents do on my website?](https://agenttracking.co/guides/measure-ai-agent-behaviour-on-your-website): Agents reach a site in three ways: as a referral (a person sent by ChatGPT or Perplexity), as a fetch (the agent itself loading a page) and as a tool call (the agent operating your MCP or WebMCP tools). Measuring agent behaviour means recording all three, with the agent named, and reading them side by side.
- [How do I see whether AI agents buy on my site?](https://agenttracking.co/guides/see-whether-ai-agents-buy-on-your-site): Mark the moment that matters with one attribute, data-agent-goal, or mark a tool as a goal. Agent Tracking then counts conversions reached by agents separately from people, and shows whether the agents that called your tools actually got to the end.
- [Which AI assistants send visitors to my site?](https://agenttracking.co/guides/which-ai-assistants-send-visitors): ChatGPT, Perplexity, Claude, Copilot and Gemini send people to websites with a referrer or a utm_source most analytics tools do not classify. Agent Tracking matches both against a published, versioned list and shows the assistant, the landing page and the trend.
- [Which AI crawlers read my pages, and are they real?](https://agenttracking.co/guides/which-ai-crawlers-read-my-pages): GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot, Google-Extended and their kind announce themselves in the user agent, and anyone can fake that string. Agent Tracking counts them from your server log and verifies each line against the IP ranges the vendor publishes.
- [How do I track MCP and WebMCP tool calls on my site?](https://agenttracking.co/guides/track-mcp-and-webmcp-tool-calls): If your pages register tools through navigator.modelContext or document.modelContext, or expose declarative forms with a toolname, the snippet records every registration and every call: name, duration, success or failure, error class and the names of the input keys, never their values.
- [Do I need a cookie banner for AI agent analytics?](https://agenttracking.co/guides/ai-agent-analytics-without-cookie-banner): Consent under the ePrivacy rules is for storing or reading something on the visitor's device. Agent Tracking stores nothing there: no cookie, no local storage, no fingerprint. The session id is a hash of a value that changes daily, the address is not kept, and the data stays on a server in Germany under a data processing agreement.

## For agents with an API token

- Stats API: GET https://agenttracking.co/api/stats/{domain}?days=30 with Authorization: Bearer <token>.
- MCP endpoint: POST https://agenttracking.co/api/mcp (streamable HTTP, one tool: get_agent_stats).

## Legal

- [Privacy](https://agenttracking.co/privacy), [Terms](https://agenttracking.co/terms), [Data processing agreement](https://agenttracking.co/dpa), [Imprint](https://agenttracking.co/imprint).
