HomeWatched TopicsRegisterSearchDirectory
FAQMemberlistUsergroupsLog inStoresItemsBank

Reply to topic Page 1 of 1
google analytics code
Message  

Reply with quote
Post google analytics code 
is it a good idea to place the google analytics javascript code at the very bottom of the page just before

</body>

or should it be within the <head> and </head>

View user's profile Send private message

Reply with quote
Post  
I personally think it's better at the bottom.

The reason? Because it takes time to execute, I had a problem on a website a while ago (a couple of years, so maybe this isn't an issue now?) where my javascript was being held up because it was placed after the analytics code. It took me a while to realise what was going on...

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  




FireFox! The PHP Forum Loans and Credit
Panama Web Design for Hire Web Hosting
Web Hosting and Dedicated Servers Advertise Here $10 a Month Designer Children
Insurance HGH Domain name registration
Affordable web-hosting Dedicated Server Management

Web Design by PlatinumShore.com & Web Hosting by TradeWebHosting.com