> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatfeatured.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting up Agent Analytics

> Track AI bot activity and citations across your website

Agent Analytics tracks how AI platforms discover and cite your content. Monitor when AI crawlers visit your site and see which pages get cited in AI answers.

## What Agent Analytics Tracks

<CardGroup cols={2}>
  <Card title="AI Bot Activity" icon="robot">
    See when GPTBot, ClaudeBot, PerplexityBot, GoogleBot, and other AI crawlers access your pages.
  </Card>

  <Card title="Citations" icon="quote-left">
    Track which of your pages AI models cite in their answers to user queries.
  </Card>

  <Card title="Crawl Frequency" icon="clock">
    Understand how often AI bots return to your site and which pages they prioritize.
  </Card>

  <Card title="Page Performance" icon="file-lines">
    Discover which pages get the most AI attention and citations.
  </Card>
</CardGroup>

## Why Track AI Bot Activity?

Traditional analytics tools like Google Analytics don't track AI agents—so you're missing a critical piece of the picture. Agent Analytics specifically monitors:

* **When AI crawlers visit** your site
* **What content they index** and how often they return
* **Which pages get cited** in AI-generated responses

This data helps you understand what content AI models find valuable and how to optimize for better visibility.

## Dashboard Overview

The Agent Analytics dashboard shows key metrics at a glance:

### Citation Stats

Track citations by AI platform:

* **ChatGPT Citations** - Pages cited by ChatGPT/GPT models
* **Claude Citations** - Pages cited by Anthropic's Claude
* **Perplexity Citations** - Pages cited by Perplexity AI

Each metric includes week-over-week change so you can track trends.

### Top Pages

See which pages receive the most AI attention:

* Page URL/path
* Total bot visits
* Number of unique crawlers visiting the page

### Top Crawlers

Understand which AI bots visit most frequently:

* Bot/agent type (GPTBot, ClaudeBot, PerplexityBot, etc.)
* Total requests
* Number of unique pages crawled

### Filtering Data

Filter your analytics by:

* **Date range** - Last 7 days, 30 days, 90 days, or custom
* **Crawlers** - Filter to specific AI bots
* **Pages** - Focus on specific URLs
* **Domains** - If tracking multiple domains

## Setting Up Agent Analytics

Agent Analytics requires a small integration to track bot activity on your site. Choose the option that fits your stack:

### WordPress

The easiest option for WordPress sites:

1. Install the ChatFeatured WordPress plugin
2. Enter your API key from the Settings tab
3. Start seeing data within minutes

See the [WordPress Integration](/integrations/wordpress) guide for detailed setup instructions.

### Cloudflare

For high-traffic sites or non-WordPress platforms:

1. Add the ChatFeatured Cloudflare Worker
2. Configure your API key
3. Zero latency impact with edge-level tracking

See the [Cloudflare Integration](/integrations/cloudflare) guide for setup details.

<Tip>
  Hosting on Webflow? Because Webflow runs on Cloudflare, you'll need an extra Orange-to-Orange (O2O) step. See [Agent Analytics with Webflow](/integrations/webflow-agent-analytics).
</Tip>

### API Integration

For custom platforms (Next.js, Rails, Django, etc.):

1. Go to **Agent Analytics > Settings** in your dashboard
2. Create an API key
3. Send bot activity data to our API endpoint

## Best Practices

### Monitor Regularly

Check your Agent Analytics weekly to:

* Identify which content AI bots prioritize
* Spot changes in crawl patterns
* Track citation trends over time

### Optimize High-Traffic Pages

Pages that receive frequent bot visits are likely to be cited in AI responses. For these pages:

* Keep content fresh and up-to-date
* Ensure clear, accurate information
* Structure content for easy parsing

### Track New Content

After publishing new content, monitor for:

* Bot visits in the following days
* Citations appearing in your prompt results
* Changes in crawl frequency for the new page

### Correlate with Visibility

Connect Agent Analytics data with your [prompt analytics](/using-chatfeatured/analytics):

* Pages frequently crawled by AI bots often appear in AI responses
* High citation counts typically correlate with better visibility
* Use this data to prioritize content optimization efforts
