XF 1.2 Page speed - defer javascript

tommydamic68

Well-known member
I moved this code to from the top of the template down to "before" the body tag -is this correct and will it effect Xenforo wiorking properly? it has increased my "defer parsing javascript from an F to a B - not sure if i moved the right stuff.

Code:
<xen:include template="google_analytics" />
    <xen:include template="page_container_js_head" />
 
Never mind that didn't work, where are the javascript files like google located, i want to place them so they load last, am i on the right path here? i know i did it when with VB.
 
Top Bottom