How to add google analytics tracking code

How do I add google analytics tracking code to my website?

Copy and paste the code segment below into the bottom of your content, immediately before the </body> tag of each page you are planning to track.

You can do this by going into your COOLSite Admin Area at Configure Layout and then clicking on the Footer region of the site to edit it. Click the Source (HTML) button within the Editor. Scroll to the very bottom of any content that you may have in this HTML area and then Paste the code segment from below. Next, click the Apply to Site Now button at the bottom of the Source window.  Note: This will be applied to the HTML code on every page and can only be seen in the View Raw HTML Source of an Internet Browser.

<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 update the "xxxx-x" in the sample above with your own Google Analytics account number.

Add Feedback