Sha256: 1f8a5d157275f22be9f8558ac666cf149169706f9d15bcea9860bb9a6a57b87f
Contents?: true
Size: 1.21 KB
Versions: 82
Compression:
Stored size: 1.21 KB
Contents
<% if Rails.env.production? && !is_admin_view? %> <script type="text/javascript"> !function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","group","track","ready","alias","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t){var e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};analytics.SNIPPET_VERSION="3.0.1"; analytics.load("<%= Rails.application.secrets.segment_write_key %>"); analytics.page() }}(); </script> <script type='text/javascript'>var _sf_startpt=(new Date()).getTime()</script> <% end %>
Version data entries
82 entries across 42 versions & 1 rubygems