Forum Moderators: DixonJones

Message Too Old, No Replies

The google-Analytics What the heck is it?

My client gave this to me to add to his site, not sure

         

DJulian

5:11 am on Jul 12, 2007 (gmt 0)

10+ Year Member



This is what my client gave me to add somewhere to his site. I have no idea what it is, or what it is supposed to do. I clicked on the urchin.js and it wanted me to download something. Can anyone tell me so I dont look like a fool. Please? Thanks in advance. DJ

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2218709-1";
urchinTracker();
</script>

zCat

5:24 am on Jul 12, 2007 (gmt 0)

10+ Year Member



How about firing up Google and entering the search term "google analytics"? I'm sure you'll find some useful hints in the results.

buckworks

5:25 am on Jul 12, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



That's the code snippet for Google Analytics.

Put it on EVERY page of the site, at the end just before </body>.

The code watches users as they come and go, and from that Google generates a variety of reports about the site which are both interesting and useful.

Ask your client to give you guest access to view the reports. If you have your own Google account, all he'd need to do would be to add your name and email to grant you access. You wouldn't need to know his password and he wouldn't need to know yours.

buckworks

3:51 pm on Jul 12, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



ADDED: when you first install the code, expect a time lag of as much as a day before stats start showing up in the reports. Make sure your client knows not to worry about that. If the code is correctly installed the stats will run normally by the next day. They never seem to be in real time but the lag is less once things are up and running.

Remember to include the code if you create new pages. You can either add the snippet to pages individually or else create an include that serves it to multiple pages.

gilzero

5:50 pm on Jul 15, 2007 (gmt 0)

10+ Year Member



That's the code you need to put it somewhere in everypage of your site so that Google Analytics could start tracking your visitors.

Ideally, put the code before the very end of </body>

DJulian

10:59 pm on Jul 15, 2007 (gmt 0)

10+ Year Member



Thank you soooooo much. Client told me to put "anywhere", Thanks to you guys I will now look like I actually no what Im talking about. Story of my life.....Wingin it! thanks again!