Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added Google Analytics

  • Loading branch information...
commit 885f586f84dc8163aca4e4ca95881042949730eb 1 parent 24ae883
Dave Cross authored
9  about.html
@@ -80,5 +80,14 @@
80 80
     <!-- Placed at the end of the document so the pages load faster -->
81 81
     <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
82 82
     <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
  83
+    <script>
  84
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  85
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  86
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  87
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  88
+
  89
+ga('create', 'UA-56332-51', 'perlhacks.com');
  90
+ga('send', 'pageview');
  91
+    </script>
83 92
   </body>
84 93
 </html>
9  index.html
@@ -73,5 +73,14 @@
73 73
     <!-- Placed at the end of the document so the pages load faster -->
74 74
     <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
75 75
     <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
  76
+    <script>
  77
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  78
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  79
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  80
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  81
+
  82
+ga('create', 'UA-56332-51', 'perlhacks.com');
  83
+ga('send', 'pageview');
  84
+    </script>
76 85
   </body>
77 86
 </html>
9  lib/wrapper
@@ -58,5 +58,14 @@
58 58
     <!-- Placed at the end of the document so the pages load faster -->
59 59
     <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
60 60
     <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
  61
+    <script>
  62
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  63
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  64
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  65
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  66
+
  67
+ga('create', 'UA-56332-51', 'perlhacks.com');
  68
+ga('send', 'pageview');
  69
+    </script>
61 70
   </body>
62 71
 </html>

0 notes on commit 885f586

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