Author: ilya_shaikovsky
Date: 2010-11-23 04:48:04 -0500 (Tue, 23 Nov 2010)
New Revision: 20143
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml
Log:
https://jira.jboss.org/browse/RFPL-926
new analytics account created for (
richfaces-showcase.appspot.com) and identificator
update in script performed.
Modified: trunk/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml 2010-11-23
06:02:55 UTC (rev 20142)
+++ trunk/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml 2010-11-23
09:48:04 UTC (rev 20143)
@@ -12,17 +12,15 @@
<title>Components Gallery</title>
<script type="text/javascript">
var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-7306415-3']);
+ _gaq.push(['_setAccount', 'UA-7306415-4']);
_gaq.push(['_trackPageview']);
+
(function() {
- if (window.location.hostname.indexOf("appspot.com") != -1) {
- 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);
- }
+ 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>
+</script>
</h:head>
<h:body>
<h:outputStylesheet library="org.richfaces.showcase"
name="page.ecss" />