StackKit

Next.js Tutorials

1 article

Next.js · November 11, 2026 · 8 min read

Log Search Engine and AI Crawlers in Next.js with proxy.ts and MongoDB

How this blog records Googlebot, the AdSense crawler and AI bots using the Next.js proxy file and MongoDB, without storing IP addresses or slowing pages down.