Sha256: 6c5b95d8ae0ee859d6863f9d3345a3ba61919de5733741997afd5ed58e8144f3

Contents?: true

Size: 520 Bytes

Versions: 12

Compression:

Stored size: 520 Bytes

Contents

<script type="text/javascript">
  var _gaq = _gaq || [];
  <% if ENV['GOOGLE_ANALYTICS_UA'].present? %>
  _gaq.push(['_setAccount', '<%= ENV["GOOGLE_ANALYTICS_UA"] %>']);
  (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);
  })();
  <% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
orats-0.9.5 lib/orats/templates/includes/new/rails/app/views/layouts/_google_analytics_snippet.html.erb
orats-0.9.4 lib/orats/templates/includes/new/rails/app/views/layouts/_google_analytics_snippet.html.erb
orats-0.9.3 lib/orats/templates/includes/new/rails/app/views/layouts/_google_analytics_snippet.html.erb
orats-0.9.2 lib/orats/templates/includes/new/rails/app/views/layouts/_google_analytics_snippet.html.erb
orats-0.9.1 lib/orats/templates/includes/new/rails/app/views/layouts/_google_analytics_snippet.html.erb
orats-0.9.0 lib/orats/templates/includes/new/rails/app/views/layouts/_google_analytics_snippet.html.erb
orats-0.8.1 lib/orats/templates/includes/new/rails/app/views/layouts/_google_analytics_snippet.html.erb
orats-0.8.0 lib/orats/templates/includes/new/rails/app/views/layouts/_google_analytics_snippet.html.erb
orats-0.7.3 lib/orats/templates/includes/new/rails/app/views/layouts/_google_analytics_snippet.html.erb
orats-0.7.2 lib/orats/templates/includes/new/rails/app/views/layouts/_google_analytics_snippet.html.erb
orats-0.7.1 lib/orats/templates/includes/new/rails/app/views/layouts/_google_analytics_snippet.html.erb
orats-0.7.0 lib/orats/templates/includes/new/rails/app/views/layouts/_google_analytics_snippet.html.erb