Sha256: e1fe7f61f7a9d3609a947c71da61d5162aaa0b94c581f650bcee4f59257143db
Contents?: true
Size: 684 Bytes
Versions: 75
Compression:
Stored size: 684 Bytes
Contents
<% gtm_auth ||= nil gtm_preview ||= nil gtm_attributes = [] gtm_attributes << "gtm_auth=" + gtm_auth if gtm_auth gtm_attributes << "gtm_preview=#{gtm_preview}>m_cookies_win=x" if gtm_preview gtm_attributes = gtm_attributes.join('&') %> <%= javascript_tag nonce: true do -%> (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl+'&<%= raw gtm_attributes %>';f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','<%= gtm_id %>'); <% end -%>
Version data entries
75 entries across 75 versions & 1 rubygems