# Document Tracking Configuration Parameters

QMS uses IDOL document tracking functionality to provide information about rule usage. For example:

- You can configure document tracking to provide a log message each time QMS activates a particular rule in the Promotion Agentstore. For example:

      [DocumentTracking]
      Backend=Log

  The messages are written to the `events` log type, so you must configure a log stream to write these events to a log file:

      [Logging]
      ...
      0=ApplicationLogStream
      1=QueryLogStream
      2=EventsLogStream

      [EventsLogStream]
      LogFile=events.log
      LogTypeCSVs=events

- You can configure document tracking, with a Lua script, to send information about rule usage to a Statistics Server so that you can monitor the most frequently used rules. For more information about using Statistics Server, refer to the QMS Administration Guide.

      [DocumentTracking]
      Backend=Library
      LibraryPath=dt_lua
      LuaScript=scripts/qms-rules-statsserver.lua
      LuaFunction=process

_FT_HTML5_bannerTitle.htm