GeeCON Prague 2014*
The moose likes Servlets and the fly likes tracking users Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "tracking users" Watch "tracking users" New topic
Author

tracking users

cherry sawant
Greenhorn

Joined: Mar 26, 2002
Posts: 6
Hi
I have a page(banner) on a third party site and I want to track how many users are using that page and successfully booking through that page. The page is hosted on my server not on third party site. The request to that page is via a servlet.
There are few options I have thought about but there are some advantages and disadavantages. I want to know which is better solution.
1. creating a table and updating it whenever user hits the servlet from the page.
2. ServletContext.
Thanks in advance.
David G Risner
Ranch Hand

Joined: May 02, 2002
Posts: 30
Wouldn't it be easiest just to use your web server's log files? You can configure Apache to record referer URLs. I would think with that you would have all you need.
A simple Perl script (or Java program) could extract the information you needed from the log.


David G. Risner<br />Software Engineer<br />California State University, Los Angeles
 
GeeCON Prague 2014
 
subject: tracking users