• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tracking users

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic