Track time spent on each page within the course
May 4, 2011 12:00 AM
Is there a way we can track how long user spent on each page of the course?
Discussion (1)
Hello All,
First post, so bear with me.
This post will be more for those that are struggling with variables as first time Lectora users. I also am not familiar with Javascript in the slightest and thus could not make use of the HH:MM:SS converter code found here: http://stackoverflow.com/questions/9640266/convert-hhmmss-string-to-seconds-only-in-javascript
I took the advice mentioned in this thread about a Timer adding "+1" to another variable each second to collect the seconds someone has been on a page for. I've utilised a countdown timer(set to 1 second) with two actions.
1)
-undefined TimeSpent_Pg_01 -undefined 1
/// This adds a count of one for every time the Timer plays it's 1 second span.
2)
-undefined This Object
/// This resets the Timer after every span.
Thank you to all of those that have posted their thoughts onto getting around this problem, it was a great help!
Cheers
Nick
Discussions have been disabled for this post