Hello All, Where should i upload my Google analytical code in my web site source code page. Under the head tags like: analytic code </head> OR Under closing body tag: analytic code </body> And also suggest me should i upload to my all web page or for only my home page?
Put your Google Analytic Tracking code any where under the <body> tag but it should be before closing of </body> , But the best practice say that you should put your GA Code just befoe </body> so that the GA Java Script Code will execute after the load of your page.
does wordpress allows to put it inside the <head></head>? Google suggests for the best performance to have analytics code the head, not in the body.
Analytics works great in both areas. To put Analytics in the WP head you would have to edit core templates.
Hello All, I have qus to those who are saying that analytic code should be paste b4 </body> tag. Please read this article i found when i was creating google analytic code http://www.google.com/support/analytics/bin/answer.py?hl=en_US&answer=174090&utm_id=ad Google is saying post code b4</head> tag Now suggest me where should i upload google analytic code. Thak
pls read this information http://www.google.com/support/analyt...4090&utm_id=ad and now tell me where should i put
Depending on what platform or cms your site is built on, it doesn't hugely matter as long as it's in the code of every page. Most people put it at the end of the body tag, so it only gets called up when the page has fully loaded, but there are specific occasions when it should go in the head tag - such as when you are adding a tracking code to an event and you want to be sure the first part of the GA code has loaded before the second part is called up And you DO need it on every page, unless it is being put in the template in which case it's automatically on every page. And don't be so rude and picky to people who are trying to help you. All the previous posters gave you correct answers.
Hello magda thx for the ans and very well explained, i m really apologize for all of them if they think that i m rude. I m sorry all of you i m not expert in seo, i am confused coz most of the person says b4 body and google article says b4 head that is y i was confused. I m apologize if i m wrong. I m sorry Magda
Now, Google have changed Analytic s code put before </head> tag. But if you can put it before</body> then also work analytic code.