Permalink
Browse files

add analytics to demo page

  • Loading branch information...
1 parent ce1e43c commit 7e1793bbd63c891f16d558715261516af5f4b2de @johnpolacek committed Sep 9, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 index.html
View
@@ -206,4 +206,18 @@ <h2 id="easing">Easing</h2>
});
</script>
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-2821890-9']);
+ _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 7e1793b

Please sign in to comment.