Workflow

Agentic Traffic Pixel Real-Time Dashboard

Real-time dashboard tracking LLM-agent visits to your site using Scavio agentic-traffic pixel feed.

Overview

Drops a one-line pixel on your site that logs every visit from an LLM agent (ChatGPT, Perplexity, Claude, Gemini user-agents). Scavio receives the pixel hits and exposes a real-time feed. This workflow tails that feed, aggregates per route and per engine, and updates a Grafana dashboard every 30 seconds.

Trigger

Continuous streaming from Scavio agentic-traffic websocket

Schedule

Streaming real-time, 30-second aggregation

Workflow Steps

1

Install pixel

Add one line to your site's layout: <img src="https://api.scavio.dev/pixel.gif?site=X"/>.

2

Open streaming feed

Connect to wss://api.scavio.dev/agentic-traffic/stream with your API key.

3

Aggregate per engine

Bucket events by agent user-agent (chatgpt-user, perplexity-bot, etc.) per route.

4

Push to InfluxDB

Write {timestamp, engine, route, count} to a timeseries bucket.

5

Grafana dashboard

Pre-built dashboard renders live sparklines for each engine per route.

6

Anomaly alert

Alert when a route sees 3x the 7-day baseline LLM-agent traffic.

Python Implementation

Python
import os, json, requests
API_KEY = os.environ["SCAVIO_API_KEY"]

def poll():
    r = requests.get("https://api.scavio.dev/api/v1/agentic-traffic/recent",
        headers={"x-api-key": API_KEY},
        params={"site": "scavio.dev", "window": "5m"})
    return r.json().get("events", [])

counts = {}
for ev in poll():
    key = (ev["engine"], ev["route"])
    counts[key] = counts.get(key, 0) + 1

for (engine, route), n in counts.items():
    print(engine, route, n)

JavaScript Implementation

JavaScript
const API_KEY = process.env.SCAVIO_API_KEY;

async function poll() {
  const url = "https://api.scavio.dev/api/v1/agentic-traffic/recent?site=scavio.dev&window=5m";
  const r = await fetch(url, { headers: { "x-api-key": API_KEY } });
  return (await r.json()).events || [];
}

const counts = new Map();
for (const ev of await poll()) {
  const key = ev.engine + "|" + ev.route;
  counts.set(key, (counts.get(key) || 0) + 1);
}
for (const [k, n] of counts) console.log(k, n);

Platforms Used

Google

Web search with knowledge graph, PAA, and AI overviews

Frequently Asked Questions

Drops a one-line pixel on your site that logs every visit from an LLM agent (ChatGPT, Perplexity, Claude, Gemini user-agents). Scavio receives the pixel hits and exposes a real-time feed. This workflow tails that feed, aggregates per route and per engine, and updates a Grafana dashboard every 30 seconds.

This workflow uses a continuous streaming from scavio agentic-traffic websocket. Streaming real-time, 30-second aggregation.

This workflow uses the following Scavio platforms: google. Each platform is called via the same unified API endpoint.

Yes. Scavio's free tier includes 500 credits per month with no credit card required. That is enough to test and validate this workflow before scaling it.

Agentic Traffic Pixel Real-Time Dashboard

Real-time dashboard tracking LLM-agent visits to your site using Scavio agentic-traffic pixel feed.