Hello There,
Why do you want to host it locally?
It’s loaded from Google’s CDN which is on so many websites that this script is already most certainly in every user’s browser cache already when they visit your site.
Due to the wide adoption of GA, most GA users never actually load analytics.js on your site at all, since almost anyone coming to your site will have it in their browser cache from another website.
While a lot of performance sites such as GTMetrix claim this should be adjusted any change would increase load time.
-Jay
Thread Starter
crael
(@crael)
So it’s resolved ?
I understand what you said and agree, but you haven’t really answered the question, sorry.
So to me, it’s not resolved… I don’t have a choice to host it or not, and make so test with my website.
So, is it possible to host the script locally and still use it in GADWP please ?
Crael
Thread Starter
crael
(@crael)
Hello,
The guys from webcraftic asked me if you have some kind of php code that can turn off the rendering of Google’s analytics code on all pages of the site please ?
Regards,
Crael.