Tracking rate
Trackers.rate is useful for measuring the rate of some event.
For example, if you want to measure the rate of clicking:
To get computed values from the tracker:
You can call reset()
if you want to manually reset the tracker.
It has some useful options for limiting how many events to track, and to automatically reset if there hasn’t been an event for a while.
computeIntervals()
calculates the minimum, maximum and average interval between events.