Tag: analytics

Articles and experiments related to analytics.

User Agents Hitting My Site

Curious who's visiting my site, I built a user-agent tracker with Vercel middleware and KV storage. It admits up to 100 new user agents a minute and keeps a 60-second count for each, then shows a live table of a sample of up to 100 recently admitted agents, refreshing every minute. Code on GitHub!

Read article →

Performance and Resilience: Stress-Testing Third Parties by CSS Wizardry

My QRCode scanner app in China ran into an issue offline: the camera wouldn't start due to a Google Analytics request hanging in the onload event. This highlighted a broader problem of render-blocking third-party assets. If these assets (like scripts) are critical, a slow or failed connection can prevent the page from rendering for over a minute while the browser waits for a timeout. This results in a blank screen for the user. This post explores the impact of render-blocking third-party resources on performance and how optimizing their integration can drastically improve the user experience, particularly in unreliable network conditions.

Read article →

Stay in the loop.

I'm trialing a newsletter. Join for monthly insights into web dev, Chrome, and the open web.

alternate_email

Get in touch

Open to chat about Chrome or Web development.

Book a consultation