Sha256: 61d9d3542515cc518088c54d38ef11f6f1821fd5308df0d00ce9a5fc55c30f7a

Contents?: true

Size: 1.07 KB

Versions: 35

Compression:

Stored size: 1.07 KB

Contents

<% if ENV['SEGMENT_IO_KEY'] %>
  <script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load('<%= ENV['SEGMENT_IO_KEY'] %>');
    window.analytics.page();
  </script>
<% end %>

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
jetfuel-1.19.24 templates/_analytics.html.erb
jetfuel-1.19.23 templates/_analytics.html.erb
jetfuel-1.19.22 templates/_analytics.html.erb
jetfuel-1.19.21 templates/_analytics.html.erb
jetfuel-1.19.20 templates/_analytics.html.erb
jetfuel-1.19.19 templates/_analytics.html.erb
jetfuel-1.19.18 templates/_analytics.html.erb
jetfuel-1.19.17 templates/_analytics.html.erb
jetfuel-1.19.16 templates/_analytics.html.erb
jetfuel-1.19.15 templates/_analytics.html.erb
jetfuel-1.19.14 templates/_analytics.html.erb
jetfuel-1.19.13 templates/_analytics.html.erb
jetfuel-1.19.12 templates/_analytics.html.erb
jetfuel-1.19.11 templates/_analytics.html.erb
jetfuel-1.19.10 templates/_analytics.html.erb
jetfuel-1.19.9 templates/_analytics.html.erb
jetfuel-1.19.8 templates/_analytics.html.erb
jetfuel-1.19.7 templates/_analytics.html.erb
jetfuel-1.19.6 templates/_analytics.html.erb
jetfuel-1.19.5 templates/_analytics.html.erb