# AI agent traffic analytics for e-commerce

> How to measure AI agent traffic on an online store: which agents visit, what they read, what they buy, and what to do about it.

Short answer: web analytics counts people. AI agents need their own report: who they are, how often they come, what they read and what they buy. Ostia gives you that from one tag.

## What to measure

| Question | Where in Ostia |
|---|---|
| Which AI agents visit, and how often? | /app > Agent visits, by vendor and agent |
| Is it growing? | the 7 and 30 day change on each card |
| What do they read? | /app > What they read, by page type |
| Do they bring orders? | /app > orders, on WooCommerce |
| Do they try to contact us? | weekly report: contact attempts, agents against people |

## Why standard analytics misses it

Many agents never run analytics scripts, and the ones that shop in a browser look like ordinary visitors. Referral traffic from `chatgpt.com` or `perplexity.ai` is people clicking links in answers, which is useful but different: it is not the agent's own visit.

## Get it running

1. [Start free](https://tryostia.com/start): pick your platform and sign in.
2. Install with the [script tag](/docs/install-script-tag), [WordPress plugin](/docs/install-wordpress), [Cloudflare](/docs/install-cloudflare) or [Shopify theme tag](/docs/install-shopify).3. Read [/app](https://tryostia.com/app) and turn on the [weekly report](/docs/weekly-report).

## Ask instead of look

Source: https://tryostia.com/how-to/ai-agent-traffic-analytics-ecommerce
