-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed as not planned
Labels
EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.c: PlatformFor Matomo platform changes that aren't impacting any of our APIs but improve the core itself.For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
Description
Now that js/piwik.js
is getting larger and larger - for instance content tracking added already more than 1000 new lines of code - it would be really nice to split js/piwik.js
into multiple files or modules. Would probably also make it easier to write tests for it. I'd have to write and create many tests that rely on DOM but are not related to tracking. Would also make it maybe possible to release some components separately, at least it would give us the possibility.
We could use grunt or something else to merge those files together and to minify/shrink it for a single file piwik.js
.
Alternatively, we could also use something based on PHP instead of grunt if we then offer third party plugins to extend the tracker as well.
Metadata
Metadata
Assignees
Labels
EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.c: PlatformFor Matomo platform changes that aren't impacting any of our APIs but improve the core itself.For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.