A Andres Hernandez

Filtered Posts (Clear all)

Optimizing Google Analytics (Gtag) for Enhanced Web Performance in Astro

On the rifasvelez-web project, our recent efforts have focused on enhancing user experience and site speed. A key area for improvement identified was the loading of Google Analytics' Gtag script, which, while crucial for gathering valuable analytics, can sometimes impact initial page load times if not implemented carefully.

The Challenge

Google Analytics' Gtag script, when embedded without specific optimizations, can act as a render-blocking resource.

Read more
Andres Hernandez

Andres Hernandez

Product-focused Software Developer specializing in the React ecosystem (Next.js, TypeScript). Proven experience contributing to high-impact open source projects and building scalable web applications. Committed to clean code, UI/UX design principles, and SOLID architecture to solve complex problems.