nextjs · nextjs/next-script-for-ga
next-script-for-ga
Next Script for GA
Google Analytics is being loaded via a plain <script> tag instead of the next/script component. Using next/script with the appropriate strategy avoids render-blocking behavior and improves Core Web Vitals scores. Replace the inline script with the Script component.