Skip to content
vigetlabs edited this page Aug 13, 2010 · 18 revisions

With a One-Off Report

report.results(:limit => 10,
                                             :offset => 20,
                                             :start_date => (Date.today - 30),
                                             :end_date => Date.today)

With a Predefined Report

Exits.results(:limit => 10,
                                            :offset => 20,
                                            :start_date => (Date.today - 30),
                                            :end_date => Date.today)

With Filters and Sorting

Exits.results(:limit => 10, :offset => 20) do
  filter :request_uri.contains => 'fun', :exits.gte => 1000
  sort :exit_rate
end
Clone this wiki locally