Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge JavaScript-files #1225

Closed
anonymous-matomo-user opened this issue Mar 20, 2010 · 1 comment
Closed

Merge JavaScript-files #1225

anonymous-matomo-user opened this issue Mar 20, 2010 · 1 comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@anonymous-matomo-user
Copy link

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

@mattab
Copy link
Member

mattab commented Mar 20, 2010

This is difficult (impossible?) to get it right, as the use cases are infinite and not defined in advance. Usually, it is not just the case that you add another JS file to your site, it also comes with its function calls and various logic. If we can, one day, identify a pattern, we would reconsider

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants