You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to use this module to send a bunch of events to analytics depending on what has been loaded on the page. This would usually be about 2 - 4 events depending, which I would like to batch to keep requests down.
I see you have added batching to the library, but throughout the docs I can't see any reference to batching and how it works. I have only seen that you can "daisy-chain" calls together, but it's not obvious if these are batched or not.
Would appreciate a little clarity on how batching works, thanks!
EDIT: After putting together some tests and using the debug option, I see that each one in the chain is "enqueued" and then they are all sent out together in a batch. So that answers my question.
Could still be more deliberately stated in the documentation, so I'll leave it open for now.
The text was updated successfully, but these errors were encountered:
Hi there,
I'd like to use this module to send a bunch of events to analytics depending on what has been loaded on the page. This would usually be about 2 - 4 events depending, which I would like to batch to keep requests down.
I see you have added batching to the library, but throughout the docs I can't see any reference to batching and how it works. I have only seen that you can "daisy-chain" calls together, but it's not obvious if these are batched or not.
Would appreciate a little clarity on how batching works, thanks!
EDIT: After putting together some tests and using the
debug
option, I see that each one in the chain is "enqueued" and then they are all sent out together in a batch. So that answers my question.Could still be more deliberately stated in the documentation, so I'll leave it open for now.
The text was updated successfully, but these errors were encountered: