lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r1238679 - /lucene/cms/trunk/templates/analytics.html
Date Tue, 31 Jan 2012 15:56:51 GMT
Author: gsingers
Date: Tue Jan 31 15:56:50 2012
New Revision: 1238679

URL: http://svn.apache.org/viewvc?rev=1238679&view=rev
Log:
LUCENE-2748: missed analytics code

Modified:
    lucene/cms/trunk/templates/analytics.html

Modified: lucene/cms/trunk/templates/analytics.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/analytics.html?rev=1238679&r1=1238678&r2=1238679&view=diff
==============================================================================
--- lucene/cms/trunk/templates/analytics.html (original)
+++ lucene/cms/trunk/templates/analytics.html Tue Jan 31 15:56:50 2012
@@ -0,0 +1,13 @@
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-94576-12']);
+  _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>
\ No newline at end of file



Mime
View raw message