Sha256: b4023b34db4e780295d33179b1530e4c9ba16887fc9dd7fdb2dc4187b5b2cc0c

Contents?: true

Size: 504 Bytes

Versions: 26

Compression:

Stored size: 504 Bytes

Contents

<% if Spotlight::Engine.config.ga_web_property_id %>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', '<%= j(Spotlight::Engine.config.ga_web_property_id) %>', 'auto');
ga('send', 'pageview');

</script>
<% end %>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
blacklight-spotlight-1.4.0 app/views/shared/_analytics.html.erb
blacklight-spotlight-1.3.0 app/views/shared/_analytics.html.erb
blacklight-spotlight-1.2.0 app/views/shared/_analytics.html.erb
blacklight-spotlight-1.1.0 app/views/shared/_analytics.html.erb
blacklight-spotlight-1.0.0 app/views/shared/_analytics.html.erb
blacklight-spotlight-1.0.0.alpha2 app/views/shared/_analytics.html.erb