1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Page speed - defer javascript

Discussion in 'XenForo Questions and Support' started by tommydamic68, Feb 2, 2014.

  1. tommydamic68

    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.

    <xen:include template="google_analytics" />
        <xen:include template="page_container_js_head" />
  2. tommydamic68

    tommydamic68 Well-Known Member

    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.

Share This Page