Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Add "Asynchronous Module Definition" (AMD) support (piwik.js) #3352

robocoder opened this Issue · 4 comments

3 participants

Anthon Pang Matthieu Aubry Anonymous Piwik user
Anthon Pang

We have two routes here:

Matthieu Aubry

Do you have a good use case for it? maybe we should ask for users who are interested in the feature and comment...?

Anonymous Piwik user

+1 for this issue.
We are developing modular web-apps with highly usage of AMD.
It would be awsome to being able to use the piwik-js api as a module,
rather then referencing the global Piwik Object.

It would also make it easier to embed "tracked/tracking/trackable" js-widgets in whitelabel environments.

+1 again ;)

PS: the first route is the one to go :)

Anthon Pang

In 2eed2eb: fixes #3352 - expose Piwik as an AMD module (uses the jQuery approach for backward compatibility)

Anthon Pang robocoder added this to the 1.12 - The Great 1.x Backlog milestone
Anthon Pang robocoder self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.