Logging User Clicks

In Datameer, you can track user clicks and store them in a log file. This feature is set as disabled in the default setting and can be manually enabled by an administrator.

Enabling Logging To Track User Clicks

  1. Open the default.properties file located in the Datameer /conf folder.
  2. Change the setting system.property.logUi.enabled=false to system.property.logUi.enabled=true.

    #disable/enable audit ui logging
    system.property.logUi.enabled=true
  3. Save the changes and start/restart Datameer.

Viewing Logged User Clicks

The user click data is stored in the Datameer logs folder with the file name audit.log.
The file contains the following information about each user click:

  • Timestamp
  • User
  • URL
  • Referrer_URL
  • Element_ID
  • Element_type
  • Element_xpath
  • Coordinate_x
  • Coordindate_y

Example of the user click data in the audit.log file:

2013-11-07 09:34:48;admin;"http://localhost:8080/admin/users/list";"http://localhost:8080/admin/system-overview";"";"A";"/html/body[@class='yui-skin-sam']/div[@id='page']/div[@id='contentWrapperAdmin']/div[@id='subNavi']/ul/li/a";44;187;