View Single Post
  #1  
Old 04-13-2006, 10:08 AM
 
trosen trosen is offline
 

Newbie
  
Join Date: Jan 2006
Posts: 7
 

Default Adding external reporting to all product pages

I use XCart Gold 4.017

I've got Google Analytics to track my site's usage. The way you get it to work is by adding the following code before the </body> tag:

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

I need to know where to add that into templates so that it will automatically show up in all of the pages that the templates output for my products. Also, where to add it so that I can track hits on category pages, the home page, etc.

Thanks for any help.

-TR
__________________
Ethan Bessey
kinkyfriedmanstore.com
Reply With Quote