Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

adding google analytics

  • Loading branch information...
commit 3740fbd34b5feffb7a751eaec8f4bdfee9fa768e 1 parent 65e962b
Dominic Barnes authored September 23, 2012

Showing 1 changed file with 11 additions and 0 deletions. Show diff stats Hide diff stats

  1. 11  docs/layout.ejs
11  docs/layout.ejs
@@ -235,6 +235,17 @@
235 235
         });
236 236
     });
237 237
     </script>
  238
+
  239
+    <script type="text/javascript">
  240
+        var _gaq = _gaq || [];
  241
+        _gaq.push(['_setAccount', 'UA-34996343-1']);
  242
+        _gaq.push(['_trackPageview']);
  243
+        (function() {
  244
+            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  245
+            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  246
+            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  247
+        })();
  248
+    </script>
238 249
 </body>
239 250
 
240 251
 </html>

0 notes on commit 3740fbd

Please sign in to comment.
Something went wrong with that request. Please try again.