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
[Piwik.js] - Enable bulk tracking #8699
Conversation
21fa282
to
cd5aa04
Compare
Testing with my app, it works. I will try to add some tests. |
cd5aa04
to
f0db89e
Compare
f0db89e
to
9c499a0
Compare
Seems to work with my testing too. |
* Send each bulk tracks to the server | ||
* @return {void} | ||
*/ | ||
function sendBulkTrackingRequests() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if the method sendBulkRequest()
can be used here? Or maybe the name could be bit different like sendBulkTrackingCollection()
and inside this method call sendBulkRequest(bulkTrackingCollection)
?
Sorry that it took me so long to get back to it. Would be a nice improvement to have! I left a few comments. Ideally there would be also some tests in https://github.com/piwik/piwik/tree/master/tests/javascript for this but I must admit I'm not even sure how I would test it myself as it's surely not trivial. Probably it would need a new section
|
I wanted to upgrade this PR, but since the beginning I have this #9492 It's hard to work with it :/ |
Moving tentatively to 3.0.0-b2 milestone. If we don't merge @dhoko PRs in this release, we'll close the PR for now. Hopefully it will happen, as these PRs look very useful 👍 |
Haven't heard from @dhoko so closing this PR for now |
cf #7949
As soon as we have an event/etc., a list is created with this request. Every 300ms (default) we send dat list to piwik.