Sha256: 4cd8aafb4485f662a667c5f150e11f3026914c5518ffac3c36e841abbb498e0e

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

<% if mastertag %>

<div class="zx_<%= mastertag.id %> zx_mediaslot">
  <script type="text/javascript">
    window._zx = window._zx || [];
    window._zx.push({"id": "<%= mastertag.id %>"});
    (function(d) {
      var s = d.createElement("script"); s.async = true;
      s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//static.zanox.com/scripts/zanox.js";
      var a = d.getElementsByTagName("script")[0]; a.parentNode.insertBefore(s, a);
    }(document));
  </script>
</div>

<% end %>


<% sale_events.each do |event| %>

  <script type="text/javascript" src="https://ad.zanox.com/pps/?<%= options[:account_id] %>&mode=[[1]]&<%= event.write %>">
  </script>

  <noscript>
  <img src="https://ad.zanox.com/pps/?<%= options[:account_id] %>&mode=[[2]]&<%= event.write %>" width="1" height="1" />
  </noscript>

<% end %>


<% lead_events.each do |event| %>

  <script type="text/javascript" src="https://ad.zanox.com/ppl/?<%= options[:account_id] %>&mode=[[1]]&<%= event.write %>">
  </script>

  <noscript>
  <img src="https://ad.zanox.com/ppl/?<%= options[:account_id] %>&mode=[[2]]&<%= event.write %>" width="1" height="1" />
  </noscript>

<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-tracker-1.0.0 lib/rack/tracker/zanox/template/zanox.erb