Sha256: 54b839f111dfa7affc345bf5a67fb1b3603fb190a13983b058f91d44983adde9

Contents?: true

Size: 547 Bytes

Versions: 3

Compression:

Stored size: 547 Bytes

Contents

<% unless Monologue::Config.gauge_analytics_site_id.nil? %>
  <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', '<%= Monologue::Config.gauge_analytics_site_id %>');
      t.src = '//secure.gaug.es/track.js';
      var s = document.getElementsByTagName('script')[0];
      s.parentNode.insertBefore(t, s);
    })();
  </script>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
monologue-0.5.0 app/views/layouts/monologue/application/_gauge_analytics.html.erb
monologue-0.4.1 app/views/layouts/monologue/application/_gauge_analytics.html.erb
monologue-0.4.0 app/views/layouts/monologue/application/_gauge_analytics.html.erb