When using google analytics do i need to set it up for each website and get a seperate code for each site or do i just use the same one like i did for adsense?
if you use the same code... All you sites will be considered as one and the data will be shown together for all site. Which is not good if you want to know traffic information of your each site. Consider have different code for different part of your site for better result. Like have a separate code for you blog in www.wateversite.com/blog/ and one more for your forum www.wateversite.com/forums/
wrong. you insert the same code on every page. you tell google analytics which domains to look on for the code.
You can put in one account all your analytics for different site but you have to get different code for every site.
When you want to monitor a new website in analytics you need to set up a new profile for that site, As mentioned above you can also set up analytics to monitor a new profile of an existing site. EG: Blog, Forum etc.. Follow the link in analytics under you existing website list. it looks like this.. Once you set up a new profile for a new or existing website you will be given a new urchin tracker script to insert into the pages on the website you want to monitor. The scripts below are from the same account (In red) but are used to track different websites. (In Blue) <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-[COLOR="Red"]1234567[/COLOR]-[COLOR="Blue"]1[/COLOR]"); pageTracker._initData(); pageTracker._trackPageview(); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-[COLOR="Red"]1234567[/COLOR]-[COLOR="Blue"]2[/COLOR]"); pageTracker._initData(); pageTracker._trackPageview(); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-[COLOR="Red"]1234567[/COLOR]-[COLOR="Blue"]3[/COLOR]"); pageTracker._initData(); pageTracker._trackPageview(); </script> Code (markup): So there you have it, You need a different code for each different website, but you only need one account. Hope that clears up any confusion. Cheers James
And also here is a Google Analytics site scan tool to help make sure you have set Analytics up on all pages of your site. http://sitescanga.com/ Cheers James
doh! I have all my sites set up corrctly, but my dumbass never noticed the extra numbers at the end of the tracker code. *pulls foot from mouth
I never heard that we can use the same code for all our sites. Anyway, I suggest to use "Add Website Profile" to add new sites. When you will add a new site, the code will be changed. You will see a difference in this line _uacct