incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robw...@apache.org
Subject svn commit: r1354624 - /incubator/ooo/ooo-site/trunk/content/download/index-windows.html
Date Wed, 27 Jun 2012 16:45:09 GMT
Author: robweir
Date: Wed Jun 27 16:45:08 2012
New Revision: 1354624

URL: http://svn.apache.org/viewvc?rev=1354624&view=rev
Log:
Add JS to enable content experiment

Modified:
    incubator/ooo/ooo-site/trunk/content/download/index-windows.html

Modified: incubator/ooo/ooo-site/trunk/content/download/index-windows.html
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/index-windows.html?rev=1354624&r1=1354623&r2=1354624&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/index-windows.html (original)
+++ incubator/ooo/ooo-site/trunk/content/download/index-windows.html Wed Jun 27 16:45:08 2012
@@ -1,6 +1,22 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
+	
+<!-- Google Analytics Content Experiment code -->
+<script>function utmx_section(){}function utmx(){}(function(){var
+k='57643286-0',d=document,l=d.location,c=d.cookie;
+if(l.search.indexOf('utm_expid='+k)>0)return;
+function f(n){if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.
+indexOf(';',i);return escape(c.substring(i+n.length+1,j<0?c.
+length:j))}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;d.write(
+'<sc'+'ript src="'+'http'+(l.protocol=='https:'?'s://ssl':
+'://www')+'.google-analytics.com/ga_exp.js?'+'utmxkey='+k+
+'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='+new Date().
+valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
+'" type="text/javascript" charset="utf-8"></sc'+'ript>')})();
+</script><script>utmx('url','A/B');</script>
+<!-- End of Google Analytics Content Experiment code -->
+	
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <title>Apache OpenOffice Downloads</title>
   <!-- <script type="text/javascript" src="globalvars.js"></script> -->



Mime
View raw message