Introducing agent analytics
Jun Liang LeeCo-Founder
Yesterday we showed you whether coding agents recommend you. Today, the question underneath it: are agents already reading your site?
Today we're launching agent analytics. Think of it as Google Analytics for AI agent traffic.
Why we built this
Developers send Claude Code, Codex and ChatGPT to read your docs before they ever sign up. Most analytics tools count those visits as bots, or don't see them at all. So you can't tell how many agents came, what they read, or whether any of it turned into a user.
How it works
- Connect your site. Add the Lightsage SDK, about six lines of code, or plug in through Vercel, Cloudflare, CloudFront and more.
- See who's visiting. How many visits came from AI agents this week, their share of your traffic, and which agents: ChatGPT, OpenCode, Claude Code.
- See what they read. The exact pages agents visit most, like your quickstart, llms.txt or authentication page, and every visit as it comes in.
- See where they get turned away. Every 4xx and 5xx an agent hit, with the page and the agent.
- See what it turned into. Send your signup and API key events, and we show which agent visits ended in each.
What you can track
- Your docs and your website, as separate sites.
- Coding agents and other AI agents, by name.
- Pages, including Markdown files like llms.txt.
- Signups and API keys that started with an agent visit.
Run Lightsage from your agent
Rather not open a dashboard? Connect Claude Code, Codex, Cursor or ChatGPT to the Lightsage MCP server and ask in plain words, like "How many agents visited our docs this week?" Or use the CLI: install it with Homebrew and start an eval in one line. Setup guides: MCP and CLI.
Get started
Book a demo and we'll connect your site with you.
This post is part of Lightsage launch week. Yesterday: agent preference. Tomorrow: can the agent finish the job?