Sha256: dc9e47cbc2a00c093fd017725a75debb1975ab74cca7cdd27d9a3d9407a0b203

Contents?: true

Size: 677 Bytes

Versions: 5

Compression:

Stored size: 677 Bytes

Contents

<% events.each do |ev| %>

  <script type="text/javascript">
  /* <![CDATA[ */
  <% ev.to_h.each do |attr_name, attr_value| %>
    var google_conversion_<%= attr_name %> = <%= attr_name == :id ? attr_value : "'#{attr_value}'" %>;
  <% end %>
  var google_remarketing_only = false;
  /* ]]> */
  </script>
  <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"></script>
  <noscript>
    <div style="display:inline;">
      <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/<%= ev.id %>/?label=<%= URI.escape(ev.label) %>&amp;guid=ON&amp;script=0"/>
    </div>
  </noscript>

<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rack-tracker-1.0.1 lib/rack/tracker/google_adwords_conversion/template/google_adwords_conversion.erb
rack-tracker-1.0.0 lib/rack/tracker/google_adwords_conversion/template/google_adwords_conversion.erb
rack-tracker-0.4.2 lib/rack/tracker/google_adwords_conversion/template/google_adwords_conversion.erb
rack-tracker-0.4.1 lib/rack/tracker/google_adwords_conversion/template/google_adwords_conversion.erb
rack-tracker-0.4.0 lib/rack/tracker/google_adwords_conversion/template/google_adwords_conversion.erb