Sha256: 54435d09901beaece9b9557d910dce3e24a583f21b353dc88309172ce5fd8525

Contents?: true

Size: 533 Bytes

Versions: 11

Compression:

Stored size: 533 Bytes

Contents

<% page_code = Refinery::Core.google_analytics_page_code.to_s.strip %>
<% unless local_request? or refinery_user? or page_code =~ /^(UA-xxxxxx-x)?$/ -%>
<!-- asynchronous google analytics: mathiasbynens.be/notes/async-analytics-snippet -->
<script>var _gaq=[['_setAccount','<%= page_code %>'],['_trackPageview'],['_trackPageLoadTime']];(function(d,t){
var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.async=1;g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)
}(document,'script'))</script>
<% end -%>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
refinerycms-core-2.0.10 app/views/refinery/_google_analytics.html.erb
refinerycms-core-2.0.9 app/views/refinery/_google_analytics.html.erb
refinerycms-core-2.0.8 app/views/refinery/_google_analytics.html.erb
refinerycms-core-2.0.7 app/views/refinery/_google_analytics.html.erb
refinerycms-core-2.0.6 app/views/refinery/_google_analytics.html.erb
refinerycms-core-2.0.5 app/views/refinery/_google_analytics.html.erb
refinerycms-core-2.0.4 app/views/refinery/_google_analytics.html.erb
refinerycms-core-2.0.3 app/views/refinery/_google_analytics.html.erb
refinerycms-core-2.0.2 app/views/refinery/_google_analytics.html.erb
refinerycms-core-2.0.1 app/views/refinery/_google_analytics.html.erb
refinerycms-core-2.0.0 app/views/refinery/_google_analytics.html.erb