How ai-traffic-insights works
AI assistants now read your store before your customers do. ChatGPT, Claude and Perplexity send crawlers to index your products, open pages when a shopper asks about them, and send visitors through links in their answers. None of this shows up properly in normal analytics, because crawlers never run your tracking script.
Your server logs see all of it. ai-traffic-insights reads them and tells you what matters to a store owner:
- Is your firewall blocking ChatGPT? Security settings often block AI search crawlers along with scrapers. That quietly takes your products out of AI answers. The tool flags real, verified crawlers that get blocked.
- Who is pretending to be an AI bot? Scrapers use names like “GPTBot” to get past filters. Every request is checked against each company’s published IP list, and impostors are counted with the bandwidth they waste.
- Are AI answers sending shoppers to dead pages? Assistants sometimes link to old or invented URLs. You get the list, ready for redirects.
- How many visitors do AI assistants send? Visits from ChatGPT, Perplexity, Gemini, Claude, Copilot and others, with landing pages and a daily trend.
- What do people ask AI about your store? When a shopper asks ChatGPT about a product, ChatGPT opens that page. Those pages are your hidden demand signal.
It reads logs from nginx, Apache, most hosting control panels, Cloudflare, Vercel, AWS CloudFront and IIS, including gzipped files, and gets through about 150,000 lines a second.
Try it
You need Node.js 18.17 or newer.
npx ai-traffic-insights /var/log/nginx/access.log --site your-store.com
Add your sitemap to see which product pages AI bots have never fetched:
npx ai-traffic-insights access.log access.log.1.gz --site your-store.com --sitemap https://your-store.com/sitemap.xml
Why I built it
My research is on making AI cheaper and lighter to run, and my client work is in e-commerce. Both point to the same blind spot. Stores pay for bandwidth and server time spent on AI crawlers and fake bots, while they cannot tell whether AI search is sending them anything back. Logs answer both questions, and most store owners already have them.
Free and open source under the MIT license. Want help reading your report or fixing what it finds? Book a call.