Sha256: 3cdd37b968162c85fd908f9b8298f1c2c932421851b0734db91053fe51f9c71b
Contents?: true
Size: 1.27 KB
Versions: 12
Compression:
Stored size: 1.27 KB
Contents
<h1><%= @search_type %> Overview</h1> <div class="grid"> <div class="col-1-2"> <table> <thead> <tr> <th>Top Searches</th> <th class="num"><%= link_to "View all", searches_path(search_type: @search_type) %></th> </tr> </thead> <tbody> <% @top_searches.each do |row| %> <tr> <td><%= row["normalized_query"] %></td> <td class="num"><%= row["searches_count"] %></td> </tr> <% end %> </tbody> </table> </div> <div class="col-1-2"> <table> <thead> <tr> <th>Low Conversions</th> <th class="num"><%= link_to "View all", searches_path(search_type: @search_type, sort: "conversion_rate") %></th> </tr> </thead> <tbody> <% @bad_conversion_rate.each do |row| %> <tr> <td><%= row["normalized_query"] %></td> <td class="num"><%= number_to_percentage row["conversion_rate"], precision: 0 %></td> </tr> <% end %> </tbody> </table> </div> </div> <h2>Conversion Rate</h2> <%= line_chart @conversion_rate_by_week %> <h2>Volume</h2> <%= line_chart [{name: "Searches", data: @searches_by_week}, {name: "Conversions", data: @conversions_by_week}] %>
Version data entries
12 entries across 12 versions & 1 rubygems