Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to determine the amount of time a client spends on a web page

Assuming I have an open source web server or proxy I can enhance, let's say apache or squid.

Is there a way to determine the time each client spends on a web page?

HTTP is of course stateless, so it's not trivial, but maybe someone has an idea on how to approach this problem?

like image 506
Tom Feiner Avatar asked Oct 02 '08 12:10

Tom Feiner


1 Answers

With Apache or Squid you hardly can detect the time a user spends on your page.

But with some additional sugar on your webpage you can:

  • Try Google Analytics.

It's free and has a lot of functions.

But you'll also invite Google to watch the stats of your site ... (but maybe that helps them to decide if you wanna buy you :-))

like image 104
Andre Bossard Avatar answered Sep 30 '22 19:09

Andre Bossard