Traditional web analytics tools like Google Analytics miss AI agent traffic because agents don't execute JavaScript or tracking pixels. By connecting Vercel Log Drains to MotherDuck, you can capture and analyze server-side request logs to identify AI crawlers, user-driven agents (ChatGPT, Claude Code), and browser referrals from AI platforms. The tutorial walks through building a TypeScript processing function that filters, classifies, and batch-inserts log data into MotherDuck, with practical notes on cost management, bot classification, and production caveats.

11m read timeFrom motherduck.com
Post cover image

Sort: