How do I add Google Analytics to my pages?

Frequently Asked Questions about WYSIWYG Web Builder
Locked
User avatar
Pablo
 
Posts: 17614
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

How do I add Google Analytics to my pages?

Post by Pablo » Wed Jul 30, 2008 3:30 pm

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/

Locked