Sha256: bac5400e397823815ad5fd5b6817c6b0445aa7194ff3e388dead4a0b304ba59d
Contents?: true
Size: 629 Bytes
Versions: 1
Compression:
Stored size: 629 Bytes
Contents
<% web_analytics_js = rad.config.web_analytics_js %> <% if rad.production? and rad.space? and web_analytics_js %> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', '<%= js web_analytics_js %>']); _gaq.push(['_trackPageview']); (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> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rad_kit-0.0.10 | app/views/kit/_web_analytics.html.erb |