Hello Grant,

We've been using it here and I recall the recommendation was to put the script 
at the end of the page just before </body> tag on /every/ page you want to 
track. 

George Duimovich
NRCan Library / Bibliothèque RNCan


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Grant 
Johnson
Sent: January 19, 2009 3:28 PM
To: [email protected]
Subject: [OPEN-ILS-DEV] Google Analytics

Hey
- Where and how would I put the Google code for best functionality with Google 
analytics.

<!-- pt type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl."; : 
"http://www.";); document.write(unescape("")); </scr -->
<!-- pt type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-XXXXXXX-1"); 
pageTracker._trackPageview(); } catch(err) {}</scr -->



F. Grant Johnson
  Systems Coordinator
  Robertson Library
  University of Prince Edward Island

Reply via email to