Home / Companies / Upstash / Blog / Post Details
Content Deep Dive

Track AI Crawlers on Your Site with Upstash Agent Analytics

Blog post from Upstash

Post Details
Company
Date Published
Author
Josh
Word Count
474
Company Posts That Month
33
Language
English
Hacker News Points
-
Post removed?
No
Summary

Upstash Agent Analytics is an open-source library designed to track visits from AI agents like ChatGPT, Claude, Perplexity, Gemini, and Copilot to websites built with Next.js. By reading user-agent and referer headers, it identifies and logs visits from these AI agents, while excluding regular browser traffic to ensure no personal identifiable information (PII) is stored. The library is easy to integrate into Next.js applications with minimal code, using Redis to store data where each provider-and-path pair is tracked via a Redis hash with a default TTL of 28 days. Users can query the data through a dashboard or a query API that uses Redis Search, enabling aggregation and timeseries analysis of AI agent visits over specified time windows. The library is open-source under the MIT license and available in the upstash/agent-analytics repository.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
AI Coding Assistant 3 2,234 577 171 +12%
AI Agents 1 6,200 1,430 272 +10%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.