Ticket #1225 (closed New feature: wontfix)
Merge JavaScript-files
| Reported by: | Innocentus | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Keywords: | |
| Cc: | Sensitive: | no |
Description
Some plugins need an additional javascript file to be loaded by the visitor (f.ex. the ClickHeats plugin). Those need to be included manually with html-tags by the responsible webmaster.
It would be better to give the active plugins the opportunity of adding additional javascript code to a global stack which is finally minimized and loaded and executed by the main piwik-javascript code of the piwik tag.
One can even think about adding a javascript piwik library for basic mouse-, keyboard-, browserinfo- and browserplugin-tracking so that other plugins can use these often used routines more easily and in a more standardized and secure way.
With best regards Inno
