Skip to content
This repository has been archived by the owner on Nov 1, 2019. It is now read-only.

Commit

Permalink
add report class for time on page
Browse files Browse the repository at this point in the history
  • Loading branch information
tpitale committed Jun 10, 2010
1 parent 08a6468 commit ac84659
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions garb/calculations/average_time_per_page.rb
@@ -1,3 +1,10 @@
class PageviewExitsAndTime
extend Garb::Resource

metrics :pageviews, :exits, :time_on_page
dimensions :page_path
end

results = PageviewExitsAndTime.results(profile)

results.each do |result|
Expand Down

0 comments on commit ac84659

Please sign in to comment.