Sha256: c27f2a57cc553833f03a5c0c1612ae00d4652f163d0f9859bc53bffba8fc43f6

Contents?: true

Size: 353 Bytes

Versions: 6

Compression:

Stored size: 353 Bytes

Contents

<script type="text/javascript">
var Analytical = {
  track: function(page) {
<%= raw analytical.now.track('__PAGE__').gsub(/"__PAGE__"/,'page') %>
  },
  event: function(name, data) {
    if (typeof data === 'undefined') { data = {}; }
<%= raw analytical.now.event('__EVENT__', {}).gsub(/"__EVENT__"/,'name').gsub(/"?\{\}"?/,'data') %>
  }
};
</script>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
analytical-3.0.12 app/views/application/_analytical_javascript.html.erb
analytical-3.0.11 app/views/application/_analytical_javascript.html.erb
analytical-3.0.9 app/views/application/_analytical_javascript.html.erb
analytical-3.0.8 app/views/application/_analytical_javascript.html.erb
analytical-3.0.7 app/views/application/_analytical_javascript.html.erb
analytical-3.0.6 app/views/application/_analytical_javascript.html.erb