> AI agents: this is one page of nextanalytica's docs. The full index for agents: https://nextanalytica.app/llms.txt

# Which analytics tools can show how much revenue comes from AI search traffic?

> See the orders and conversions in visits from ChatGPT, Perplexity and other AI assistants, and in visits that followed an assistant's fetch.

Updated: 2026-12-01

nextanalytica counts the orders and conversions in visits from ChatGPT, Perplexity, Claude and other assistants, and in visits that followed an assistant's fetch of the same page within 30 minutes. You record orders with one call, `order({ ref, value, currency })`, from the page or your server.

## How do you do it?

1. Add the tag to your site, or ask your agent "Add nextanalytica to my site": it calls `get_tag`, shows you the change and asks before committing.
2. Record orders with `order()`, or from your server.
3. Add a sender for AI crawlers, so fetches join to visits.
4. Connect your agent: in Claude Code, `claude mcp add --transport http nextanalytica https://mcp.nextanalytica.app/mcp`, then `/mcp` to sign in.

## What can you ask your agent?

- "How much revenue came from AI assistant visits this month?"
- "Which pages does ChatGPT read before people buy?"

## Next steps

- [Revenue tracking](/docs/learn/revenue-tracking)
- [Traffic from ChatGPT](/docs/tracking/chatgpt-traffic)

Canonical address: https://nextanalytica.app/docs/answers/revenue-from-ai-search
