I'm installing web analytics code

Write the reason you're deleting this FAQ

I'm installing web analytics code

I'm installing GoStats code (analytics) in my site, however, I have a question: is tracking code best installed in the <head> section or the footer? What are the advantages/disadvantages?


Please login or sign up to leave a comment

I'm late but I would like to add to it.

It depends what you value more. If you load script in head section, it will slow your page down. On the plus side, you track more users.
If you don't load in header, there is chance the user might just press the back button before the script is loaded and you don't get analytics.

But if the script is something like Universal Analytics (Google Analytics) which loads asynchronously, you can place it anywhere and it won't hinder the page render.

Are you sure you want to delete this post?

You can add any where your tracking codes, where you want to track.. Normally users paste tracking code on home page for track whole website.

you need to paste your racking code under <head>Tracking Codes.</head>

Are you sure you want to delete this post?