Your analytics tag is slowing your site down
Originally published on kunjdeveloper.com. One Google Analytics tag, pasted into the <head> the way the setup guide says, cost a plain article page 10 Lighthouse points and 424 ms of blocking time on
I build and run full-stack web apps with Next.js, React, Node.js and PostgreSQL, and this is where I write up what actually happens along the way: upgrades that broke production, bugs that only showed up on real phones, and whatever finally fixed them. I'm Kunj, a full-stack engineer in Ahmedabad, India. More of my work is at kunjdeveloper.com.
Originally published on kunjdeveloper.com. One Google Analytics tag, pasted into the <head> the way the setup guide says, cost a plain article page 10 Lighthouse points and 424 ms of blocking time on
Next.js 16 came out in October 2025. A year later it is the version most new projects start on, and the version a lot of working sites still have not moved to. This site moved this month. It is a real
I told my friends I'd finally pushed my portfolio live. One of them pulled it up on his phone right there on the bench. The header loaded. The grid behind the hero loaded. Then nothing. A big empty sc