Try our conversational search powered by Generative AI!

Can I control adding tracking scripts ?



I would like to block Episerver to adding those script on every page:

Google Speed complanins they are blocking render speed -> "Eliminate render-blocking JavaScript and CSS in above-the-fold content"

I would like them to load them manually at the end of page, plus compress them.

Any ideas?

May 31, 2016 14:37

No, you cannot remove the scripts without also removing the inline bootstraping (i.e. you can disable tracking completely). However,  the scripts are always included just above </body> and are delivered compressed if your browser accepts gzip/deflate. Is it really the find scripts that triggers the Google Speed warning?


Jun 01, 2016 14:27

Thanks for answer Henrik. Yes that a bit odd that it`s reporting them, but see here:

Jun 01, 2016 16:15

If you look at the returned html, where are the scripts included?

Jun 09, 2016 8:02

Yes, You are right, they are at the bottom, I guess it`s just Google Speed thing. Thanks!

Jul 01, 2016 12:48

It's 2018, why isn't the async/defer attribute enabled on these script tags by default?

Nov 19, 2018 13:45

It's 2020 and I'm asking the same question - why isn't async/defer added by default? 

Feb 20, 2020 11:25
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.