Sha256: 7293b73ebc57e42ae829d710d3d8a030931df474368a443d80b802d707d87eef

Contents?: true

Size: 764 Bytes

Versions: 5

Compression:

Stored size: 764 Bytes

Contents

<script type='text/javascript'>
//<![CDATA[
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', '<%= Garails.ga_account %>']);
  <% unless Garails.ga_cookie_domain.blank? -%>
  _gaq.push(['_setDomainName', '<%= Garails.ga_cookie_domain %>']);
  <% end -%>
  _gaq.push(['_trackPageview']);
  <% if extra_account %>
    _gaq.push(['b._setAccount', '<%= extra_account %>']);
    _gaq.push(['b._trackPageview']);
  <% end %>

  (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>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
garails-0.3.0 app/views/garails/_google_analytics.html.erb
garails-0.2.0 app/views/garails/_google_analytics.html.erb
garails-0.1.4 app/views/garails/_google_analytics.html.erb
garails-0.1.3 app/views/garails/_google_analytics.html.erb
garails-0.1.2 app/views/garails/_google_analytics.html.erb