Permalink
Browse files

fix google analytics

  • Loading branch information...
1 parent be1ee15 commit 3cdfa9dab3bbca501c822c93eb706f2d462ac458 @mduan committed Mar 7, 2012
Showing with 11 additions and 10 deletions.
  1. +11 −10 _includes/google_analytics.html
@@ -1,12 +1,13 @@
<script type="text/javascript">
- $(function() {
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-28141698-1']);
- _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);
- })();
- });
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-28141698-1']);
+ _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>

0 comments on commit 3cdfa9d

Please sign in to comment.