Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

piwik.js: Tracker Proxy doesn't support _paq.push( item1, item2, ... ) #2573

Closed
robocoder opened this Issue · 2 comments

2 participants

Anthon Pang Matthieu Aubry
Anthon Pang
Collaborator

Initially, _paq is an array, and Array.push() allows for multiple items to be pushed onto the array. However, once piwik.js is loaded, _paq is converted to a proxy object, and push() expects only a single item.

While our examples never showed pushing multiple items, we should continue to hide the implementation details of the proxy.

Anthon Pang
Collaborator

(In [5031]) fixes #2573

Matthieu Aubry
Owner

Very nice to fix this inconsistency!

Anthon Pang robocoder added this to the 1.6 Piwik 1.6 milestone
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.