Upgrade to latest Google Analytics tracking code
------------------------------------------------
Key: DS-550
URL: http://jira.dspace.org/jira/browse/DS-550
Project: DSpace 1.x
Issue Type: Improvement
Components: JSPUI, XMLUI
Affects Versions: 1.6.0, 1.5.2, 1.5.1, 1.5.0
Reporter: Stuart Lewis
Assignee: Stuart Lewis
Priority: Minor
Fix For: 1.7
See:
- http://analytics.blogspot.com/2010/04/making-web-faster.html
-
http://analytics.blogspot.com/2009/12/google-analytics-launches-asynchronous.html
- http://www.google.com/support/googleanalytics/bin/answer.py?answer=161379
- http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' :
'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
We've determined that on most pages, the optimal location for the asynchronous
snippet is at the bottom of the <head> section, just before the closing </head>
tag.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel