Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2004
    Posts
    32

    Track Page activity?

    Does anyone know how to track activity by a user. I would like to collect stats on what pages were viewed and for how long. Can the information collected be sent as a separate file?

    Ken

  2. #2
    Join Date
    Jul 2009
    Posts
    122
    you can get click event and position using user32.dll and save the data into a database, you can create other app to view a heatmap, divide the app in rows and columns and count clicks on each cell, now, paint of colors with measure in average to the most clicked cell

  3. #3
    Join Date
    Aug 2003
    Posts
    2,427
    Is the application going to be used in a 'closed' environment i.e. by users on the same network/domain. If so it's easy to write to a log file and append the data to a text file. I've tried this out in the past just to see how it worked and there were no problems that I could see. I collected date, time and user name when the application was opened but you could 'fire' code to do this on any event really. If you have multiple users at the same time then you might run into problems with file locking.

    If the users aren't all on the same network then you can still do the same thing but using a web server but obviously it depends on the user have an active connection, which you can test for before firing the code.

    One *very* important point - be open and honest about what you are doing and tell the user what is happening. Give them an opt out and implement it. If you don't, sooner or later it will get out and you're reputation will be destroyed.

  4. #4
    Join Date
    Apr 2004
    Posts
    32

    Tracking

    The data collection is all above board and with full discloser.

    Two questions then:

    1) How do I create the log file to collect the data?
    2) How do I send the information once it is collected.

    Thanks for your patience and help in advance.

    Ken

  5. #5
    Join Date
    Aug 2003
    Posts
    2,427
    Is this on a network?

  6. #6
    Join Date
    Apr 2004
    Posts
    32

    tracking

    Not on a network. The project is sent out as an exe

  7. #7
    Join Date
    Aug 2003
    Posts
    2,427
    Ok - in that case I guess the best option is a mix of html and server side php to collect the info and save it to your web server, but that isn't my forte (if I have one at all that is). Perhaps someone else will pick up on this.......

  8. #8
    Join Date
    Apr 2004
    Posts
    32

    Tracking

    I apprceiate the insight.

    Ken

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts