# Patent

## Title
Method and system for tracking client software use

## Abstract

A method and system for tracking client software use is disclosed. User data, specifically user interaction with a client-installed software application, is collected in data files and the data files are dynamically uploaded over a global computer system, such as the Internet, to a remote analysis system. The data files are parsed for on-going analysis of feature usage. Typically, for any action that a user performs in the software application, several items are recorded in a data file, such as a user ID, an absolute time-stamp, the method invoked including application source (if the software application includes more than one application), and details such as the dialog invoked, button pressed, menu used, menu item selected, application launch, application termination, as well as environment variables, such as operating system, screen resolution, etc.

## Background
TECHNICAL FIELD
The invention generally relates to a method and system for tracking client software use, and more particularly relates to a method and system for saving data related to a user's interaction with a software application and periodically uploading this data automatically for analysis.
BACKGROUND
To improve a software application and make it more user-friendly, developers need to understand how users interact with the application. Traditional methods of understanding a user's behavior while using a software application include user surveys, usability lab studies, and focus groups. However, these methods provide only a limited picture of the overall user experience. Moreover, these methods are often inaccurate and costly for the software developer. There is a need to track actual usage in near real-time so that a realistic view of how a software application is used by real customers may be examined to determine where improvements are necessary.
In the past, specific builds of a software application have been modified with instrumentation code so that user interaction may be recorded into files, these files returned to the software developer and subsequently examined. These special purpose builds would write out to a data file when specific user actions occurred. For example, instrumentation code would be added to the software application so that every time the save function was executed data was written out to a data file. The user would periodically connect their computer to a remote site and upload the data file. Although this process provides some information, it does have some drawbacks. One drawback is that only user interaction that has specific instrumentation code is written out to a data file. For example, if a save button is used but no instrumentation code has been provided for writing to a data file, then this data is not written out to a data file and the software developers are unaware of the user's actions. Another drawback is that the instrumentation code added to the source code of the application may add bugs to the source code and cause problems. Still another drawback is that the instrumentation code may make the software application larger and may make it run slower.
In the past, Internet and dot-com companies have collected user data using server logging to paint a full picture of feature usage, such as for websites. However, this data collection requires a user interaction with a web server to track the user interaction and does not function when collecting data on client-installed software usage.
SUMMARY OF THE INVENTION
In different embodiments, the invention is a method and system for tracking client software use. User data, specifically user interaction with a client-installed software application, may be collected in data files and the data files may be dynamically uploaded over a global computer system, such as the Internet, to a remote analysis system. The data files may be parsed for on-going analysis of feature usage. Typically, for any action that a user performs in the software application, several items are recorded in a data file such as a user identification, an absolute time-stamp, the method invoked (such as keyboard, mouse, etc.) including application source (if the software application includes more than one application), and details such as the dialog invoked, button pressed, menu used, menu item selected, application launch, application termination, as well as environment variables, such as operating system, screen resolution, etc.
That the invention improves over the drawbacks of the prior art and accomplishes the advantages described above will become apparent from the following detailed description of the exemplary embodiments and the appended drawings and claims.



BRIEF DESCRIPTION OF THE FIGURES
FIG. 1 is a block diagram of an exemplary computer system for implementing the invention.
FIG. 2 is a block diagram illustrating an exemplary system for tracking client software use and analyzing client software use in accordance with an embodiment of the present invention.
FIG. 3 is a flow diagram illustrating a method for installing a user interaction monitoring system in accordance with an embodiment of the present invention.
FIG. 4 is a flow diagram illustrating a method for logging user interactions with a software program module and transferring the logged data to a remote analysis system in accordance with an embodiment of the present invention.
FIG. 5 is a flow diagram illustrating a method for analyzing the logging files at the remote analysis system in accordance with an embodiment of the present invention.
FIG. 6 is a flow diagram illustrating a method for converting the binary logging file to XML data in accordance with an embodiment of the present invention.



DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION
In one embodiment, the present invention pertains to a method of collecting user data, specifically user interaction with a client-installed software application, through the dynamic upload of data files over a global computer network, such as the Internet. Files that contain data on software usage are dynamically uploaded to a remote analysis site and parsed for on-going analysis of feature usage.
In one embodiment, the present invention has the ability to log user actions within the software application. For any action that a user performs in the software application, several items may be recorded in a data file such as a user ID, an absolute time-stamp, the method invoked (keyboard, mouse, etc.) including application source (if the software application includes more than one application), and details such as the dialog invoked, button pressed, menu used, menu item selected, application launch, application termination, as well as environment variables, such as operating system, screen resolution, etc.
To enable logging within the application program module, the user, in one embodiment of the present invention, agrees to have their actions monitored in exchange for an incentive (such as free software) and submits a survey that may collect demographic information about that user. If accepted to the study, the user receives a copy of the software application, as well as a set-up program that sets up the study on the users machine(s).
Having briefly described the present invention, a description of an exemplary operating environment for an embodiment of the present invention will be described below in reference to FIG. 1.
Exemplary Operating Environment
FIG. 1 and the following discussion are intended to provide a brief, general description of a suitable computing environment in which the invention may be implemented. Although not required, the invention will be described in the context of computer-executable instructions, such as program modules, being executed by a personal computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the invention may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, and the like. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices. It should be further understood that the present invention may also be applied in the context of users accessing content on the Internet via a browser—so the present invention applies to much lower end devices that may not have many of the components described in reference to FIG. 1 (e.g., hard disks, etc.).
With reference to FIG. 1, an exemplary system for implementing the invention includes a general purpose computing device in the form of a conventional personal computer 20, including a processing unit 21, a system memory 22, and a system bus 23 that couples various system components including the system memory to the processing unit 21. The system bus 23 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. The system memory includes read only memory (ROM) 24 and random access memory (RAM) 25. A basic input/output system 26 (BIOS), containing the basic routines that help to transfer information between elements within the personal computer 20, such as during start-up, is stored in ROM 24.
The personal computer 20 further includes a hard disk drive 27 for reading from and writing to a hard disk, not shown, a magnetic disk drive 28 for reading from or writing to a removable magnetic disk 29, and an optical disk drive 30 for reading from or writing to a removable optical disk 31 such as a CD-ROM or other optical media. The hard disk drive 27, magnetic disk drive 28 and optical disk drive 30 are connected to the system bus 23 by a hard disk drive interface 32, a magnetic disk drive interface 33 and an optical drive interface 34, respectively. The drives and their associated computer-readable media provide nonvolatile storage of computer readable instructions, data structures, program modules and other data for the personal computer 20.
Although the exemplary environment described herein employs a hard disk, a removable magnetic disk 29 and a removable optical disk 31, it should be appreciated by those skilled in the art that other types of computer readable media which can store data that is accessible by a computer, such as magnetic cassettes, flash memory cards, digital video disks, Bernoulli cartridges, random access memories (RAMs), read only memories (ROMs), and the like, may also be used in the exemplary operating environment.
A number of program modules may be stored on the hard disk, magnetic disk 29, optical disk 31, ROM 24 or RAM 25, including an operating system 35, one or more application programs 36, a set-up program module 37, and program data 38.
A user may enter commands and information into the personal computer 20 through input devices such as a keyboard 40 and pointing device 42. Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 21 through a serial port interface 46 that is coupled to the system bus, but may be connected by other interfaces, such as a parallel port, game port or a universal serial port (USB). A monitor 47 or other type of display device is also connected to the system bus 23 via an interface, such as a video adapter 48. In addition to the monitor, personal computers typically include other peripheral output devices (not shown), such as speakers and printers.
The personal computer 20 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 49. The remote computer 49 may be another personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the personal computer 20, although only a memory storage device 50 has been illustrated in FIG. 1. The logical connections depicted in FIG. 1 include a local area network (LAN) 51 and a wide area network (WAN) 52. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and the Internet.
When used in a LAN networking environment, the personal computer 20 is connected to the local network 51 through a network interface or adapter 53. When used in a WAN networking environment, the personal computer 20 typically includes a modem 54 or other means for establishing communications over the wide area network 52, such as the Internet. The modem 54, which may be internal or external, is connected to the system bus 23 via the serial port interface 46. In a networked environment, program modules depicted relative to the personal computer 20, or portions thereof, may be stored in the remote memory storage device. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
Method and System for Tracking Client Software Use
Referring now to FIG. 2, an exemplary user interaction monitoring system for tracking client software use and a remote system for analyzing client software use (collectively system 200) in accordance with an embodiment of the present invention will be described. The system 200 includes a user's personal computer 20. One or more application program modules 36 to be tracked are stored in memory of the computer 20. A set-up program module 37 is also stored in memory of the computer 20.
Usually, a user agrees to be part of a study before the set-up program module 37 is downloaded to computer 20. If the user is accepted to the study, the user may receive incentives such as free software or free upgrades in exchange for allowing their software usage to be tracked. To begin the tracking process, the set-up program module is downloaded and started. The set-up program module installs logging code 205 and a script file 210 on computer 20. The logging code 205 is responsible for tracking the use of application program module 36 and writing out data records into a logging file 215. The script file 210 is responsible for periodically sending the logging file to a remote system for analysis.
In one embodiment, the remote system comprises a Hypertext Transfer Protocol (HTTP) server 220 that receives the logging files from the client's machine 20. The HTTP server 220 may be connected to an Active Server Pages (ASP) server 225 that is behind a firewall 230. The ASP server may be connected to a Structured Query Language (SQL) transaction server 235. The SQL transaction server 235 may be connected to a data warehouse 240 where the logging file 215 is eventually stored.
Referring now to FIG. 3, a flow diagram 300 illustrating a method for installing a user interaction monitoring system will be described. The method 300 begins at start step 305 and proceeds to step 310 where the set-up program module is started, such as by the user opening the set-up program module. As described above, the set-up program module may be shipped with the application program module to be monitored. Alternatively, the user may sign up to have their actions monitored and, if accepted to the study, the user may receive the application program module and set-up program module for installation on the user's computer 20. Once the user starts the set-up program module at step 310, the method 300 proceeds to step 315.
As part of the set-up, at step 315, the logging code 205 is installed in memory of the computer 20 and a registry key is set in the operating system 35 as an indicator to the application program that it should load the logging code. The logging code monitors the actions of the user and writes out records into a logging file 215 when the logging code recognizes actions by the user. After step 315, the method 300 proceeds to step 320.
At step 320, a plurality of dynamic link libraries (DLLs) are installed and registered on the user's computer 20. Typically, these DLLs are part of the logging code 205. These DLLs enable the decoding of user interactions to produce the logging file 215 on the user's computer 20. The actual code that performs the profiling of user actions is contained in the installed DLLs. When the application program being monitored loads, it checks the registry to see if profiling (monitoring of user actions) has been indicated. The registry key indicating this is set during the installation process (step 315). If profiling is indicated, the application program will attempt to load the DLLs and call an initialization function to start the profiling process.
At step 325, a scheduled event is created in a predetermined time period. For example, the scheduled event may be created at a random time somewhere between the predetermined time period of 1:00 A.M. and 4:00 A.M, when heavy use of the machine and Internet connection is less likely than other times. The scheduled event may be stored in a scheduled events folder and run at the appropriate time. The scheduled event may point to a local Visual Basic (VB) script file 210 which, when run, sends the logging file 215 to the remote analysis system.
At step 330, the local Visual Basic (VB) script file 210 is installed on the computer 20. The method 300 then ends at step 399. The user's interactions are ready for monitoring after the method 300 has been performed.
Referring now to FIG. 4, a flow diagram 400 illustrating a method for logging user interactions with a software program module and transferring the logged data to a remote analysis system in accordance with an embodiment of the present invention will be described.
The method begins at start step 405 and proceeds to step 410 where the logging code 405 (including DLLs) is executed when the application program module 36 is started. The logging code 405 has a number of hooks into the operating system 35 and application program module 36 so that when a user interacts with the application program module 36 the logging code is notified with a hook (or other notification). The logging code 405 then is able to cross-reference the hook, using the installed DLLs, with a more specific action executed by the user. It should be understood that, in one embodiment, the logging code of the present invention implements a plurality of hooks. For example, keyboard hooks, user interface control hooks, mouse message hooks, etc. may be implemented so that the logging code is notified whenever one of these user interface controls is used. Given a particular hook, the logging code uses the DLLs to determine which particular window handle the hook points to. Then, such as by using a best fit algorithm, it can be determined which object (window) and element (such as command bars, dialogs, task panes, etc.) the window handle is associated with.
In one embodiment of the invention, hooks function as follows. The logging code, i.e., profiling code, uses an operating system application programming interface (API) such as “SetWindowsHookEx” which allows the logging code to monitor all messages or “events” that occur when a user interacts with the application program. For example, when a mouse button is clicked on a control in the application program user interface, the operating system sends an event message to the application program module to inform it of this event. The hook causes this event message to be routed first to the logging code, which gets an opportunity to inspect it, determine if it affects the application program user interface (UI) in a way that the logging code cares about, and collect information about the affected UI element. Once analyzed, the logging code dispatches the event message on to the application program.
The process of analyzing the event message is important. The event message references information about the “window handle” or user interface (UI) element that it relates to. The logging code interacts with the application program to determine what this UI element is. It typically collects data points that specify a numeric identifier for the UI element itself, and the identifier on the UI object that “contains” it. For example, the Save button is contained in the “Save As” dialog box. Identifiers are stored for both the button and the dialog box. The logging code contains code that filters these event messages in order to determine what UI elements the event messages refer to. Each different UI element “type” (button, list box, scroll bar, check box, etc) requires code that knows how to inspect that UI type and store the required identifiers mentioned above.
For each logged user interaction, data regarding the user identification, absolute time stamp, method invoked (such as keyboard, mouse, etc.), UI element identifier, UI object identifier and UI element type may be recorded in a record in the logging file 215. The method then proceeds to step 415.
At step 415, at the scheduled time (typically during the night or during some off-peak time) the scheduled event is triggered and the script file 210 is run.
At decision step 420, the script file determines whether the logging file exists and, if not, then the method ends at step 499. However, if the logging file does exist, then the method proceeds to step 425.
At step 425, an Active Data Object (ADO) session is opened with the HTTP server 220 of the remote analysis system through a local script file that is called by the scheduled event. It should be understood that, in a preferred embodiment, the session is an ADO session. However, in other embodiments, other file transfer methods may be used to transfer the logging file from the user's computer to the remote analysis system.
At step 430, the local binary logging file is renamed with a random number to prevent duplication in the HTTP server and the file is placed into a binary ADO database (ADODB) record.
At step 435, the ADODB record is posted to the HTTP server, such as by using the record copy ADO method.
At step 440, the local binary logging file is deleted, i.e., the record cache for the local binary logging file is flushed. The method then ends at step 499.
Thus, as should be understood from the above-described method, the user operates the application program module normally and the logging file is automatically uploaded to the remote analysis system when the user's computer is on and the scheduled event occurs.
Referring now to FIG. 5, a flow diagram 500 illustrating a method for analyzing the logging files at the remote analysis system in accordance with an embodiment of the present invention will be described. The method begins at start step 505 and proceeds to step 510 where the logging files are downloaded from the HTTP server 220 to an Active Server Pages (ASP) server 225 behind a firewall 230.
The method then proceeds to step 515. At step 515, the binary logging files are converted to External Markup Language (XML) data associated with a unique user identifier (to be able to associate particular data with particular users).
At step 520, the XML data is parsed and uploaded to the SQL data warehouse 240 associated with a SQL server 235. Parsing means that the various fields (such as identification, UI element identifier and time stamp) are converted to unique fields in a SQL table of the SQL data warehouse.
At step 525, the XML data is analyzed. For example, a web site implementing active server pages may connect to the SQL server and submit queries for specific usage questions and provide the results to the analysts. For example, some of the queries may be:

    
    
        How many users use specific features within the application program module and with what frequency
        Which areas of the application program module are undiscovered but used frequently by those who discover them
        Which areas of the application program module are never used, and should not be developed further
        What are the most-performed sequence of features used within the application program module.
    
    


Of course, the queries above are only examples and numerous other queries may be generated at step 525. At step 599, the method ends.
In other embodiments, the logging files may be converted back into client application actions so that the user's actions may be viewed and analyzed.
Referring now to FIG. 6, a flow diagram 600 illustrating a method for performing step 515 (converting the binary logging file to XML data) in accordance with an embodiment of the present invention will be described. At step 605, a batch process calls a mapping files application. The mapping files application, in a preferred embodiment, comprises a plurality of user interface (UI) mapping files that allows logging file data to be expanded to indicate a specific user interface element. For example, a user interface element may be identified by comparing the UI element identifier of the logging file with information in the UI mapping files. At step 610, the mapping files application expands the logging file data.
At step 615, the logging files data is converted to XML. The XML data is then sent to step 520 (FIG. 5).
It should be understood that when the UI element has been identified (as described above at step 410 (FIG. 4)), a record is created and stored to a disk file with details such as the UI element identifier, a time stamp, the UI element type, and the method invoked. It is important to note however that UI elements are not specifically identified at step 410 in a preferred embodiment of the present invention. The identifiers stored in the record must be analyzed in post-processing steps (such as steps 605-615) to specifically identify UI elements. Thus, after the data is collected, it is compared to the information in the UI mapping files and the names of the UI elements are fully expanded once located.
Specifically identifying UI elements outside of the user's machine is important because it greatly reduces the amount of code installed on the user's machine, and helps to ensure privacy. The mapping files that allow the collected data records to be expanded to specifically identified controls are very large, around 500,000 bytes for every application to be profiled. By storing only the simple numeric identifiers of the UI elements and using the mapping files to resolve them during post-processing, the size of the set-up program is significantly reduced (for speedy downloading perhaps), the amount of disk space consumed on the user's computer is reduced, and the amount of code loaded into the computer's memory is reduced which improves performance.
The mapping files comprise information that “maps” the user interface of the application program. Every menu, toolbar, button, dialog, and dialog control may be listed in the mapping files. Each element listed includes the full textual name and the numeric identifier of the UI element that it applies to, as well as a reference to the UI object that “contains” it. This sets up a “child-parent” relationship. For example, the Main Menu contains the File menu, which contains the Save button. These are the same identifiers that the profiling code stored, allowing the data records to be cross-referenced with the mapping file and thus fully expanded.
The mapping files are a key part of the profiling system, and can require a great deal of effort to create for a large and complex application program module. It needs to describe every element of the applications program's UI to make the profiling data as useful as possible. It should be noted that since the logging code itself does not need the mapping file, the creation (or completion) of the mapping files can be deferred until needed. Additional UI elements can be added to it as desired. Until a record for a given UI element is created, a profile record that relates to that element will be unidentified upon processing.
It should be understood that the present invention provides an important temporal aspect to the analysis of user interaction. Because each data entry includes a time stamp, the sequence of user interaction may be reconstructed. This temporal aspect to the analysis is extremely important to determine what features may be mistakenly used. For example, if the temporal data shows that a feature is often used and then the feature is undone then it may illustrate that users are expecting the feature to do one thing and then realize that is does something else. In this case, the feature may be tweaked or better user training may be necessary.
It should also be understood that another use for an embodiment of the present invention is in the testing that is done during software development. By tracking the actions of testers using the software application, developers may be able to determine which areas of the software application have not been tested or have been tested insufficiently. For example, the data may show that the “Insert Table” feature has not been tested.
It should be understood that the foregoing pertains only to the preferred embodiments of the present invention, and that numerous changes may be made to the embodiments described herein without departing from the spirit and scope of the invention.

## Claims

1. A client-side system stored on a computer, wherein the client-side system logs, in a logging file, a plurality of user interactions performed in an application program module and periodically uploads the logging files to a remote server system for analysis of the logging file, wherein the client-side system comprises:
a logging code in communication with the application program module, wherein the logging code comprises a plurality of hooks into the application program module and an operating system of the computer, wherein when a user performs any recordable action within an application program, one of the plurality of hooks is triggered and a data record is generated;
a logging file in communication with the logging code, wherein the logging code stores the data record in the logging file;
a script file in communication with the logging file, wherein the script file is operative to upload the logging file to the remote server system, wherein uploading the logging file to the remote server system comprises opening an Active Data Object (ADO) session with the remote server system, renaming the logging file with a random number therein preventing duplication of a logging file name at the remote server system and placing the logging file into an ADO database record set; and
a set-up program module, wherein launching the set-up program module comprises installing the logging code in a memory of the computer and setting a registry key in a registry of the operating system as an indicator to the application program to load the logging code when monitoring of the plurality of user interactions has been indicated, and wherein launching the set-up program module signifies user consent to have application program actions logged in exchange for an incentive, the incentive comprising free software in exchange for participation in a survey to collect user demographic information;
wherein the registry is checked by the application program to determine if the monitoring of the plurality of user interactions has been indicated and, if so, then the monitoring of the plurality of user interactions is started in response to calling an initialization function.

2. The system of claim 1 further comprising an event stored in the operating system and created in a predetermined time period, wherein, in response to the event being triggered, the script file uploads the logging file to the remote server system.

3. The system of claim 2 wherein the script file uploads the logging file to the remote server system via an Internet connection, wherein the event is created at a random time within the predetermined time period when heavy use of the computer and the Internet connection is less likely than other times, the predetermined time period comprising at least four increments of time.

4. The system of claim 3 wherein the script file and logging code are generated by a set-up program module included with the application program module and stored on the computer.

5. A computer-implemented method for tracking a plurality of user interactions performed in a software application program module stored on the user's computer, the method comprising the steps of:
allowing a user to determine if they wish to have interactions with the software application program module logged in exchange for an incentive, the incentive comprising free software in exchange for participation in a survey to collect user demographic information;
determining if any recordable user interaction performed in the software application program module has occurred by determining whether a notification has been received by a logging code from any one of a plurality of hooks, wherein each of the plurality of hooks causes an event message to be routed to the logging code for an analysis, the analysis comprising an inspection of the event message to determine whether the event message affects a user interface of the application program module prior to the event message being sent to the application program module, wherein the plurality of hooks are implemented by the logging code and wherein, for a particular hook, the logging code uses a plurality of dynamic link libraries to determine a particular window handle that the particular hook points to;
utilizing a best fit algorithm to determine an object and an element that the window handle is associated with, wherein the object comprises a window and the element comprises at least one of command bars, dialogs, and task panes, wherein the logging code collects a plurality of data points that specify a numeric identifier for the element and an identifier on the object that contains the element, wherein the element refers to the event message, and wherein the logging code contains code that filters a plurality of event messages to determine the element referred to by the event message;
recording the user interaction in a logging file on the computer, wherein each recorded user interaction further comprises a screen resolution;

determining that an event is triggered during a predetermined time period;
opening an Active Data Object (ADO) session with an remote analysis server;
renaming the logging file to prevent duplication of a logging file name at the remote server system;
placing the logging file into an ADO database record set; and
in response to the event triggering during the predetermined time period, determining whether the logging file exists, and, if so, then uploading the logging file to the remote analysis server, wherein uploading the logging file comprises posting the ADO database record set to the remote analysis server.

6. The method of claim 5 wherein each recorded user interaction further comprises a time stamp, a user identification, a UI element identifier and a description of the method invoked to interact with the software application program module.

7. The method of claim 6 further comprising the step of deleting the logging file on the computer after it has been uploaded.

8. The method of claim 7 wherein renaming the logging file comprises renaming the logging file with a random number.

9. The method of claim 5 wherein the remote analysis server is a Hypertext Transfer Protocol (HTTP) server.

10. A computer-readable hardware storage media comprising computer-executable instructions, which when executed, perform the steps of claim 9.

11. The method of claim 6 wherein the description of the method invoked to interact with the software application program module comprises at least one of keyboard or mouse.

12. A client-side system stored on a computer, wherein the client-side system logs, in a logging file, a plurality of user interactions performed in an application program module and periodically uploads the logging files to a remote server system for analysis of the logging file, wherein the client-side system comprises:
a logging code in communication with the application program module, wherein the logging code comprises a plurality of hooks into the application program module and an operating system of the computer, wherein when a user performs any recordable action within an application program, one of the plurality of hooks is triggered and a data record is generated;
a logging file in communication with the logging code, wherein the logging code stores the data record in the logging file;
a script file in communication with the logging file, wherein the script file is operative to upload the logging file to the remote server system, wherein uploading the logging file to the remote server system comprises opening an Active Data Object (ADO) session with the remote server system, renaming the logging file with a random number therein preventing duplication of a logging file name at the remote server system and placing the logging file into an ADO database record set; and
a set-up program module, wherein launching the set-up program module comprises installing the logging code in a memory of the computer and setting a registry key in a registry of the operating system as an indicator to the application program to load the logging code when monitoring of the plurality of user interactions has been indicated, and wherein launching the set-up program module signifies user consent to have application program actions logged in exchange for an incentive, the incentive comprising free software in exchange for participation in a survey to collect user demographic information;
an event stored in the operating system and created in a predetermined time period, wherein, in response to the event being triggered, the script file uploads the logging file to the remote server system via an Internet connection, wherein the event is created at a random time within the predetermined time period when heavy use of the computer and the Internet connection is less likely than other times, the predetermined time period comprising at least four increments of time; and
wherein the registry is checked by the application program to determine if the monitoring of the plurality of user interactions has been indicated and, if so, then the monitoring of the plurality of user interactions is started in response to calling an initialization function.