ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1492344 - /ctakes/site/trunk/templates/skeleton.html
Date Wed, 12 Jun 2013 18:39:20 GMT
Author: chenpei
Date: Wed Jun 12 18:39:20 2013
New Revision: 1492344

URL: http://svn.apache.org/r1492344
Log:
fix for GA conflicting with downloads.cgi

Modified:
    ctakes/site/trunk/templates/skeleton.html

Modified: ctakes/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/ctakes/site/trunk/templates/skeleton.html?rev=1492344&r1=1492343&r2=1492344&view=diff
==============================================================================
--- ctakes/site/trunk/templates/skeleton.html (original)
+++ ctakes/site/trunk/templates/skeleton.html Wed Jun 12 18:39:20 2013
@@ -53,13 +53,7 @@
  </div>
 
 <script type="text/javascript">
-  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
-  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
-  ga('create', 'UA-41673085-1', 'ctakes.apache.org');
-  ga('send', 'pageview');
+        var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-41673085-1']); _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>
 </body>
 </html>



Mime
View raw message