GA JS tag placement

This forum covers all topics related to Google Analytics
webber1
Posts: 7
Joined: Tue Nov 08, 2016 10:26 am

GA JS tag placement

Postby webber1 » Tue Nov 08, 2016 10:28 am

Hello,

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?

analytics-expert
Site Admin
Posts: 9
Joined: Fri Nov 04, 2016 2:44 pm

Re: GA JS tag placement

Postby analytics-expert » Wed Nov 16, 2016 2:33 pm

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.


Return to “Google Analytics”