Permalink
Browse files

using gauges now

  • Loading branch information...
1 parent d30804f commit af844d1c9b3147f72785f1cc0139c45c9470e29e @capotej committed Mar 27, 2012
Showing with 12 additions and 12 deletions.
  1. +12 −12 lib/views/index.erb
View
@@ -12,18 +12,18 @@
<a href="https://twitter.com/share" class="twitter-share-button" data-text="<%= @result[:text].slice(0,110) %>..." data-url="http://ancomment.com/<%= @result[:key] %>" data-size="large" data-count="none">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</body>
-
- <script type="text/javascript">
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-29171624-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 type="text/javascript">
+ var _gauges = _gauges || [];
+ (function() {
+ var t = document.createElement('script');
+ t.type = 'text/javascript';
+ t.async = true;
+ t.id = 'gauges-tracker';
+ t.setAttribute('data-site-id', '4f71ff2df5a1f52bc4000106');
+ t.src = '//secure.gaug.es/track.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(t, s);
+ })();
</script>
</html>

0 comments on commit af844d1

Please sign in to comment.