How to tune Google Analytics JS for 100% on PageSpeed Insights?24-04-2022
Sure, 68% PageSpeed Insights performance is good, but 98% is better! Perhaps you like to rise up your site performance to 100%, but Google Analytics script slows down the process. Did you try to move ga.js to the footer of layout, but that did not change page load time?
So, what to do with the slow Google Analytics JS, which is your the last fortress on the way to shiny beautiful 100% optimization?
I have had a similar problem and found the solution, which gave me 20%!
The correct Google Analytics script called ga-lite. After it installation my performance improved to 94%, which is great.