Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

analytics

  • Loading branch information...
commit e4fda1d794edef0e8a4426a5b3e5b2f96ee9844c 1 parent 27a4c38
Sheldon Els authored

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

  1. +13 0 app/view/layouts/application.html
13 app/view/layouts/application.html
@@ -15,5 +15,18 @@
15 15 <script src="http://www.google.com/jsapi"></script>
16 16 <script>google.load("jquery", "1");</script>
17 17 <?=js_bundle("core")?>
  18 +<script type="text/javascript">
  19 +
  20 + var _gaq = _gaq || [];
  21 + _gaq.push(['_setAccount', 'UA-19820652-1']);
  22 + _gaq.push(['_trackPageview']);
  23 +
  24 + (function() {
  25 + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  26 + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  27 + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  28 + })();
  29 +
  30 +</script>
18 31 </body>
19 32 </html>

0 comments on commit e4fda1d

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