[Bast-commits] r9638 - DBIC-Web/components

castaway at dev.catalyst.perl.org castaway at dev.catalyst.perl.org
Wed Aug 4 09:30:50 GMT 2010


Author: castaway
Date: 2010-08-04 10:30:50 +0100 (Wed, 04 Aug 2010)
New Revision: 9638

Modified:
   DBIC-Web/components/wrapper.tt
Log:
Add google-analytics to dbic website


Modified: DBIC-Web/components/wrapper.tt
===================================================================
--- DBIC-Web/components/wrapper.tt	2010-07-20 10:41:54 UTC (rev 9637)
+++ DBIC-Web/components/wrapper.tt	2010-08-04 09:30:50 UTC (rev 9638)
@@ -9,6 +9,19 @@
   <!--[if IE]>
   <link rel="stylesheet" type="text/css" media="screen, projection" href="/resources/blueprint/ie.css" />
   <![endif]-->
+  <script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-17806002-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>
   <div id="wrap"> 




More information about the Bast-commits mailing list