adwait12345
adwait12345 on Hacker News
Posted by
adwait12345 on Sunday March 15, 2026 @06:33AM
from the show-hn dept.
https://www.adwait.me/writings/tracking-ai-crawlers-server-side
Google Analytics can't see GPTBot or ClaudeBot. Here's how I built a server-side tracker that can — and what I found in 72 hours.
Yep it can be blocked by third party extensions/ad blocker, so analytics services use both, One as fallback for other. If you try to open tracking script from GA you will find both fetch & beacon.
it works, its built for telemetry purpose only
I built a small analytics service and noticed that `page_view` events were missing for users in high-latency regions, while later events like `scroll_depth` were still arriving.
It turned out to be related to how `fetch(..., { keepalive: true })` behaves during page lifecycle events.
Curious if others have seen similar issues or handled this differently.
Posted by
adwait12345 on Thursday February 19, 2026 @01:07AM
from the show-hn dept.
crazy, where did you found this xD
If any one want to try, i have public ready to use version as-well, just ping me !!
yep Im tracking bots as well with bot name if its there (i.e Bingbot)
its an experiment, and it doesn't really matter if you are not using it commercially.
Posted by
adwait12345 on Wednesday February 11, 2026 @02:29AM
from the show-hn dept.
https://www.adwait.me/writings/building-my-own-google-analytics
How I reverse-engineered Google Analytics and built my own analytics service for personal projects.