Sha256: d722b7ddee65f3f7e9ff6e6ba401ab00721a8625e3343b41db5264a8b52eea85
Contents?: true
Size: 630 Bytes
Versions: 3
Compression:
Stored size: 630 Bytes
Contents
= javascript_include_tag "application" -# Append your own using content_for :javascripts = yield :javascripts -# asynchronous google analytics: mathiasbynens.be/notes/async-analytics-snippet -# Looks for google_account_id first in ENV['GOOGLE_ACCOUNT_ID'] then in config/html5_rails.yml - if !google_account_id.blank? :javascript var _gaq=[['_setAccount','#{ google_account_id }'],['_trackPageview']]; (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; s.parentNode.insertBefore(g,s)}(document,'script'));
Version data entries
3 entries across 3 versions & 1 rubygems