Sha256: e456f145f81369e4c6eb8f8210e4c5e002ec628284c124496cce88523e378834

Contents?: true

Size: 835 Bytes

Versions: 2

Compression:

Stored size: 835 Bytes

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 %>

<% tracking_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

2 entries across 2 versions & 1 rubygems

Version Path
rack-tracker-0.4.2 lib/rack/tracker/zanox/template/zanox.erb
rack-tracker-0.4.1 lib/rack/tracker/zanox/template/zanox.erb