brokenlink Posted February 20, 2007 Share Posted February 20, 2007 I am searching for a way to track and send the amount of time a user spends on each web page. Any good ideas? Thank you. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted February 20, 2007 Share Posted February 20, 2007 too many methods to mention.... just record their ip address against the current time (timestamp will do) and something that will identify the page they are on (use which ever value in the $_SERVER super global array suits your needs i.e. 'REQUEST_URI' or 'QUERY_STRING' - what ever identifies the page uniquely.) Quote Link to comment Share on other sites More sharing options...
brokenlink Posted February 20, 2007 Author Share Posted February 20, 2007 so... ip + time webpage is opened minus ip + time next webpage is opened equals time spent on previous page Is this the general idea? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.