You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by James Sherwood <js...@rgisolutions.com> on 2007/07/11 16:07:32 UTC

Measuring time spent on site using tapestry

Hello,

Is there a way to measure time spent surfing our website using tapestry 3.1.
And if not in 3.1 is there a way in later versions?

The reason for this is statistical sites are now using time spent on sites 
as a measure as much as using page views/sessions which we already track 
using tapestry.

Thanks,
James 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Measuring time spent on site using tapestry

Posted by Daniel Jue <te...@gmail.com>.
You could do it using a timestamp in an ASO that follows a user.
Similar to having a last-logged-in timestamp.
ASO's that get logged out manually (user initiated) can use
logout_time - last_start_time

ASO's that get logged out automatically (via timeout) can use
logout_time - timeout_length -last_start_time


A simpler version could just use this:
Last Page Impression - ASO creation time

The page impression calculation could be done in a border (aka layout)
component, so you don't have to modify all your pages.

I am planning something similar -- I only need to track page impression counts.


I don't think there is a way (besides wierd javascript) to count the
time that the page is displayed on the screen.  The browser could be
in the background, not being "surfed"

Daniel


On 7/11/07, James Sherwood <js...@rgisolutions.com> wrote:
> Hello,
>
> Is there a way to measure time spent surfing our website using tapestry 3.1.
> And if not in 3.1 is there a way in later versions?
>
> The reason for this is statistical sites are now using time spent on sites
> as a measure as much as using page views/sessions which we already track
> using tapestry.
>
> Thanks,
> James
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org