Page 1 of 1

GA JS tag placement

Posted: Tue Nov 08, 2016 10:28 am
by webber1

I'm implementing Google Analytics to a personal website of mine. Wondering where I should place the GA javascript tag. Is it recommended to place it above or below the fold?

Re: GA JS tag placement

Posted: Wed Nov 16, 2016 2:33 pm
by analytics-expert
It depends. If your website speed performance is good then I would place is right after the opening <body> tag for a better chance to capture analytics data in quick bounce cases. If your website load performance is not so good, I would place it before the closing </body> tag. This way the GA tag fires up after web page content was loaded.