Page 1 of 1

How do I add Google Analytics to my pages?

Posted: Sat Jun 25, 2011 12:00 pm
by Pablo
Analytics is Google's very own visitor tracking utility, allowing webmasters to keep tabs on traffic to their site, including visitor numbers, traffic sources, visitor behavior & trends, times spent on the site and a host of other information gathered via JavaScript embedded in the source-code.

More details:
http://www.google.com/support/analytics/

Once you have setup your Google Analytics account, you should have received your tracking code. Now all you will have to do is add this tracking code to all the pages you would like to monitor.

Select Menu->Page->Page HTML and click the Before </body> tab.

Insert your tracking code:

Code: Select all

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct="UA-xxxx-x";
urchinTracker();
</script>
You'll need to replace the "xxxx-x" in the sample above with your own Google Analytics account number.

You can access your personalized tracking code in its entirety by following the instructions in Where can I find my tracking code?
http://www.google.com/support/analytics/