incubator-odf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devin...@apache.org
Subject svn commit: r1241775 - /incubator/odf/site/trunk/templates/skeleton.html
Date Wed, 08 Feb 2012 04:56:14 GMT
Author: devinhan
Date: Wed Feb  8 04:56:14 2012
New Revision: 1241775

URL: http://svn.apache.org/viewvc?rev=1241775&view=rev
Log:
add google analytics code

Modified:
    incubator/odf/site/trunk/templates/skeleton.html

Modified: incubator/odf/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/templates/skeleton.html?rev=1241775&r1=1241774&r2=1241775&view=diff
==============================================================================
--- incubator/odf/site/trunk/templates/skeleton.html (original)
+++ incubator/odf/site/trunk/templates/skeleton.html Wed Feb  8 04:56:14 2012
@@ -25,6 +25,19 @@
 <title>{% block title %}{{ headers.title }}{% endblock %}</title>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 {% endif %}
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-28945571-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>
 </head>
 
 <body>



Mime
View raw message