You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ri...@apache.org on 2017/10/16 09:49:24 UTC

svn commit: r1812266 - in /brooklyn/site: style/js/public.js v/0.12.0/style/js/public.js v/latest/style/js/public.js

Author: richard
Date: Mon Oct 16 09:49:23 2017
New Revision: 1812266

URL: http://svn.apache.org/viewvc?rev=1812266&view=rev
Log:
Apache Brooklyn website: attempt fix JS issue with GA tags

Modified:
    brooklyn/site/style/js/public.js
    brooklyn/site/v/0.12.0/style/js/public.js
    brooklyn/site/v/latest/style/js/public.js

Modified: brooklyn/site/style/js/public.js
URL: http://svn.apache.org/viewvc/brooklyn/site/style/js/public.js?rev=1812266&r1=1812265&r2=1812266&view=diff
==============================================================================
--- brooklyn/site/style/js/public.js (original)
+++ brooklyn/site/style/js/public.js Mon Oct 16 09:49:23 2017
@@ -105,16 +105,7 @@
     });
 
 
-    <!-- analytics -->
-    var _gaq = _gaq || [];
-    _gaq.push(['_setAccount', 'UA-107990351-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);
-    })();
+
 
     <!-- page warning (for archive pages) -->
     if (document.location.pathname.indexOf('guide/') > -1) {
@@ -165,3 +156,14 @@
         event.preventDefault ? event.preventDefault() : event.returnValue = false;
     }
 })(jQuery, ZeroClipboard);
+
+<!-- analytics -->
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-30530918-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);
+})();
\ No newline at end of file

Modified: brooklyn/site/v/0.12.0/style/js/public.js
URL: http://svn.apache.org/viewvc/brooklyn/site/v/0.12.0/style/js/public.js?rev=1812266&r1=1812265&r2=1812266&view=diff
==============================================================================
--- brooklyn/site/v/0.12.0/style/js/public.js (original)
+++ brooklyn/site/v/0.12.0/style/js/public.js Mon Oct 16 09:49:23 2017
@@ -105,16 +105,7 @@
     });
 
 
-    <!-- analytics -->
-    var _gaq = _gaq || [];
-    _gaq.push(['_setAccount', 'UA-107990351-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);
-    })();
+
 
     <!-- page warning (for archive pages) -->
     if (document.location.pathname.indexOf('guide/') > -1) {
@@ -165,3 +156,14 @@
         event.preventDefault ? event.preventDefault() : event.returnValue = false;
     }
 })(jQuery, ZeroClipboard);
+
+<!-- analytics -->
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-30530918-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);
+})();
\ No newline at end of file

Modified: brooklyn/site/v/latest/style/js/public.js
URL: http://svn.apache.org/viewvc/brooklyn/site/v/latest/style/js/public.js?rev=1812266&r1=1812265&r2=1812266&view=diff
==============================================================================
--- brooklyn/site/v/latest/style/js/public.js (original)
+++ brooklyn/site/v/latest/style/js/public.js Mon Oct 16 09:49:23 2017
@@ -105,16 +105,7 @@
     });
 
 
-    <!-- analytics -->
-    var _gaq = _gaq || [];
-    _gaq.push(['_setAccount', 'UA-107990351-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);
-    })();
+
 
     <!-- page warning (for archive pages) -->
     if (document.location.pathname.indexOf('guide/') > -1) {
@@ -165,3 +156,14 @@
         event.preventDefault ? event.preventDefault() : event.returnValue = false;
     }
 })(jQuery, ZeroClipboard);
+
+<!-- analytics -->
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-30530918-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);
+})();
\ No newline at end of file