aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dles...@apache.org
Subject svn commit: r1543674 - in /incubator/aurora/site: publish/ publish/community/ publish/developers/ publish/docs/gettingstarted/ publish/docs/howtocontribute/ publish/downloads/ source/layouts/
Date Wed, 20 Nov 2013 00:45:35 GMT
Author: dlester
Date: Wed Nov 20 00:45:35 2013
New Revision: 1543674

URL: http://svn.apache.org/r1543674
Log:
Updates google analytics code.

Modified:
    incubator/aurora/site/publish/community/index.html
    incubator/aurora/site/publish/developers/index.html
    incubator/aurora/site/publish/docs/gettingstarted/index.html
    incubator/aurora/site/publish/docs/howtocontribute/index.html
    incubator/aurora/site/publish/downloads/index.html
    incubator/aurora/site/publish/index.html
    incubator/aurora/site/source/layouts/layout.erb

Modified: incubator/aurora/site/publish/community/index.html
URL: http://svn.apache.org/viewvc/incubator/aurora/site/publish/community/index.html?rev=1543674&r1=1543673&r2=1543674&view=diff
==============================================================================
--- incubator/aurora/site/publish/community/index.html (original)
+++ incubator/aurora/site/publish/community/index.html Wed Nov 20 00:45:35 2013
@@ -15,15 +15,17 @@
 		    <script type="text/javascript" src="/assets/js/bootstrap-dropdown.js"></script>
 		
 				<!-- Analytics -->
-				<script>
-				  (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-45879646-1', 'apache.org');
-				  ga('send', 'pageview');
-
+				<script type="text/javascript">
+					  var _gaq = _gaq || [];
+					  _gaq.push(['_setAccount', 'UA-45879646-1']);
+					  _gaq.push(['_setDomainName', 'apache.org']);
+					  _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>	

Modified: incubator/aurora/site/publish/developers/index.html
URL: http://svn.apache.org/viewvc/incubator/aurora/site/publish/developers/index.html?rev=1543674&r1=1543673&r2=1543674&view=diff
==============================================================================
--- incubator/aurora/site/publish/developers/index.html (original)
+++ incubator/aurora/site/publish/developers/index.html Wed Nov 20 00:45:35 2013
@@ -15,15 +15,17 @@
 		    <script type="text/javascript" src="/assets/js/bootstrap-dropdown.js"></script>
 		
 				<!-- Analytics -->
-				<script>
-				  (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-45879646-1', 'apache.org');
-				  ga('send', 'pageview');
-
+				<script type="text/javascript">
+					  var _gaq = _gaq || [];
+					  _gaq.push(['_setAccount', 'UA-45879646-1']);
+					  _gaq.push(['_setDomainName', 'apache.org']);
+					  _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>	

Modified: incubator/aurora/site/publish/docs/gettingstarted/index.html
URL: http://svn.apache.org/viewvc/incubator/aurora/site/publish/docs/gettingstarted/index.html?rev=1543674&r1=1543673&r2=1543674&view=diff
==============================================================================
--- incubator/aurora/site/publish/docs/gettingstarted/index.html (original)
+++ incubator/aurora/site/publish/docs/gettingstarted/index.html Wed Nov 20 00:45:35 2013
@@ -15,15 +15,17 @@
 		    <script type="text/javascript" src="/assets/js/bootstrap-dropdown.js"></script>
 		
 				<!-- Analytics -->
-				<script>
-				  (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-45879646-1', 'apache.org');
-				  ga('send', 'pageview');
-
+				<script type="text/javascript">
+					  var _gaq = _gaq || [];
+					  _gaq.push(['_setAccount', 'UA-45879646-1']);
+					  _gaq.push(['_setDomainName', 'apache.org']);
+					  _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>	

Modified: incubator/aurora/site/publish/docs/howtocontribute/index.html
URL: http://svn.apache.org/viewvc/incubator/aurora/site/publish/docs/howtocontribute/index.html?rev=1543674&r1=1543673&r2=1543674&view=diff
==============================================================================
--- incubator/aurora/site/publish/docs/howtocontribute/index.html (original)
+++ incubator/aurora/site/publish/docs/howtocontribute/index.html Wed Nov 20 00:45:35 2013
@@ -15,15 +15,17 @@
 		    <script type="text/javascript" src="/assets/js/bootstrap-dropdown.js"></script>
 		
 				<!-- Analytics -->
-				<script>
-				  (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-45879646-1', 'apache.org');
-				  ga('send', 'pageview');
-
+				<script type="text/javascript">
+					  var _gaq = _gaq || [];
+					  _gaq.push(['_setAccount', 'UA-45879646-1']);
+					  _gaq.push(['_setDomainName', 'apache.org']);
+					  _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>	

Modified: incubator/aurora/site/publish/downloads/index.html
URL: http://svn.apache.org/viewvc/incubator/aurora/site/publish/downloads/index.html?rev=1543674&r1=1543673&r2=1543674&view=diff
==============================================================================
--- incubator/aurora/site/publish/downloads/index.html (original)
+++ incubator/aurora/site/publish/downloads/index.html Wed Nov 20 00:45:35 2013
@@ -15,15 +15,17 @@
 		    <script type="text/javascript" src="/assets/js/bootstrap-dropdown.js"></script>
 		
 				<!-- Analytics -->
-				<script>
-				  (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-45879646-1', 'apache.org');
-				  ga('send', 'pageview');
-
+				<script type="text/javascript">
+					  var _gaq = _gaq || [];
+					  _gaq.push(['_setAccount', 'UA-45879646-1']);
+					  _gaq.push(['_setDomainName', 'apache.org']);
+					  _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>	

Modified: incubator/aurora/site/publish/index.html
URL: http://svn.apache.org/viewvc/incubator/aurora/site/publish/index.html?rev=1543674&r1=1543673&r2=1543674&view=diff
==============================================================================
--- incubator/aurora/site/publish/index.html (original)
+++ incubator/aurora/site/publish/index.html Wed Nov 20 00:45:35 2013
@@ -15,15 +15,17 @@
 		    <script type="text/javascript" src="/assets/js/bootstrap-dropdown.js"></script>
 		
 				<!-- Analytics -->
-				<script>
-				  (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-45879646-1', 'apache.org');
-				  ga('send', 'pageview');
-
+				<script type="text/javascript">
+					  var _gaq = _gaq || [];
+					  _gaq.push(['_setAccount', 'UA-45879646-1']);
+					  _gaq.push(['_setDomainName', 'apache.org']);
+					  _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>	

Modified: incubator/aurora/site/source/layouts/layout.erb
URL: http://svn.apache.org/viewvc/incubator/aurora/site/source/layouts/layout.erb?rev=1543674&r1=1543673&r2=1543674&view=diff
==============================================================================
--- incubator/aurora/site/source/layouts/layout.erb (original)
+++ incubator/aurora/site/source/layouts/layout.erb Wed Nov 20 00:45:35 2013
@@ -15,15 +15,17 @@
 		    <script type="text/javascript" src="/assets/js/bootstrap-dropdown.js"></script>
 		
 				<!-- Analytics -->
-				<script>
-				  (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-45879646-1', 'apache.org');
-				  ga('send', 'pageview');
+				<script type="text/javascript">
+					  var _gaq = _gaq || [];
+					  _gaq.push(['_setAccount', 'UA-45879646-1']);
+					  _gaq.push(['_setDomainName', 'apache.org']);
+					  _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