Callbacks

Callbacks for the backbone of the KRL analytics. There are two kinds.

User Declared Callbacks

User declared callbacks are set by the user inside a rule. The callback is usually designed to test some user action such as clicking on an element with a particular class or ID. These results are not reported in a way that identifies particular users, but are aggregated to protect user privacy.

Automatic Callbacks

Automatic callbacks are made by the system to record specific information relevant to a rule action. The following automatic callbacks are in service:

timer_expired

When an action is delayed the timer_expired callback is made when the timer expires and the action is seen by the user. For example, if an action were delayed by 60 seconds:

alert("Hello world!")
  with delay = 60

the user might or might not see the alert depending on how long they were on the page. The timer_expired shows that the user was on the page long enough to see the effect of the action.

annotated_search_results

The annotated_search_results automated callback records the number of matches made by an annotated_search_results action.