Permalink
Browse files

Add Gaug.es

  • Loading branch information...
1 parent cc22feb commit 3291da97bf50e0216ca97bc2e11aa7160d74a2d5 @nickh committed May 22, 2012
Showing with 24 additions and 0 deletions.
  1. +12 −0 app/views/layouts/application.html.haml
  2. +12 −0 app/views/layouts/db.html.haml
@@ -24,3 +24,15 @@
.footer
%span= t('site.copyright')
%span= link_to 'webmaster@bernergarde.org', 'mailto:webmaster@bernergarde.org'
+ :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', '4fbb1876f5a1f558cc000077');
+ t.src = '//secure.gaug.es/track.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(t, s);
+ })();
@@ -27,3 +27,15 @@
.version 4.0
.content
=yield
+ :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', '4fbb1876f5a1f558cc000077');
+ t.src = '//secure.gaug.es/track.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(t, s);
+ })();

0 comments on commit 3291da9

Please sign in to comment.