November Happy Hour will be moved to Thursday December 5th.

Can I control adding tracking scripts ?

Vote:
 

Hi,

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

http://dl.episerver.net/12.0.0/epi-util/native.history.js

http://dl.episerver.net/12.0.0/epi-util/find.js

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?

#149400
May 31, 2016 14:37
Vote:
 

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?

/Henrik

#149480
Jun 01, 2016 14:27
Vote:
 

Thanks for answer Henrik. Yes that a bit odd that it`s reporting them, but see here: http://screencast.com/t/dizNWTJei

#149485
Jun 01, 2016 16:15
Vote:
 

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

#149856
Jun 09, 2016 8:02
Vote:
 

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

#150900
Jul 01, 2016 12:48
Vote:
 

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

#199176
Nov 19, 2018 13:45
Vote:
 

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

#217289
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.