Permalink
Browse files

added google analytics

  • Loading branch information...
1 parent e0f3549 commit 504a912beda914d25123eb36ded8156c4ef86d37 @jeroen committed Mar 23, 2012
Showing with 27 additions and 1 deletion.
  1. +11 −0 .project
  2. +16 −1 index.html
View
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>resttesttest</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
View
@@ -114,6 +114,7 @@
<option>POST</option>
<option>PUT</option>
<option>DELETE</option>
+ <option>OPTIONS</option>
</select>
</div>
</div>
@@ -203,7 +204,21 @@
<script src="jquery-1.7.2.min.js"></script>
<script src="bootstrap/js/bootstrap.js"></script>
<script src="debug.js"></script>
-
+
+ <!-- Google Analytics tracker -->
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-701288-7']);
+ _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>
</body>
</html>

0 comments on commit 504a912

Please sign in to comment.