Customer Portal Language
 
Home Knowledge Base Search Engines How to add google analytics tracking code
Information
Article ID79
Created On5/7/2008
Modified5/7/2008
Share With Others
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 - Footer. Click the HTML tab in the second row of Tool Bars 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 Update button at the bottom of the Edit HTML Source window. Finally, below the editor you can click Process Page Update to apply it to your site. 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.