The client modules would be things such as:
Outbound link tracking
Click tracking for heatmaps
Displaying information in the pages being tracked
The modules will be able to hook in various points during execution:
'run' - as soon the script is run
'load' - as soon the DOM is loaded
'log' - when an action is logged
'unload' - when script is unloaded
About the packer/compiler:
There should be a php script that takes the base piwik js along with any js modules and joins/packs/minifies them in one file.
Fixing as wontfix as Eli-d didnt continue the task. If someone interested, please reopen :)
Implementing the hook points for the unit testing module.
Minor changes from Eli-D's spec: - 'run' called when the Tracker is instantiated - added 'click' hook; called by the click handler (and piwik_track() / trackLink())