Dear friend, today Somadanmedia has brought for you how to Lazyload Google analytics script. All of us who work with websites have a vision towards the performance of the website and how the speed of the website is. And when I use Google Analytic script, the site speed decreases and the performance deteriorates.
So let's see how we can fix it with lazy loading and site speed.
What is Google Analytics Script?
Google Analytic is a script of Google through which the complete visitor information of a website can be updated and how many users there are at the present time. So it is very important to use Google Analytics Script for a website.
Why is the Google Analytic script loading lazily?
Google Analytics is a very important thing for a website but note that using this script reduces the speed of the website due to which the rank of the website decreases and the visitors decrease so to keep the speed of the website Google Analytic script has to be loaded lazily.
If the Google Analytics script is not loaded slowly, why does the site slow down?
If the Google Analytics script is not lazy loading, then any script that Google Analytics contains takes a lot of time to load and all other scripts that are not scripts do not take much time to load. So since this java script takes long time to load and Google's Robert doesn't understand it easily, the website slows down.
How to use Lazyload Google analytics
One, first you enter the theme by going to your blogger dashboard and clicking on theme and then going to edit html.
Two, remove the previous Google Analytic script.
Third, copy the codes from the box below and paste them into your notepad.