[feature] Batch-collect #1473
Replies: 7 comments
-
|
The problem is we don't know if a user will return or will trigger any events. So if we wait for a batch to send, we could lose that data. |
Beta Was this translation helpful? Give feedback.
-
|
I'm using the API directly, not via Google Analytics supports batching for that reason, among others: https://developers.google.com/analytics/devguides/reporting/core/v3/batching |
Beta Was this translation helpful? Give feedback.
-
|
I see what you mean. Yes we should support that use case for the API. |
Beta Was this translation helpful? Give feedback.
-
|
Any ETA on this? I would like to have such an endpoint. |
Beta Was this translation helpful? Give feedback.
-
|
I’m using this API for native mobile apps and would love to use the batching feature. Could you please let me know when it’s expected to be available? Thanks a bunch! |
Beta Was this translation helpful? Give feedback.
-
|
WDYT? |
Beta Was this translation helpful? Give feedback.
-
|
Thank you @zeroCoder1, that's exactly what I need |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When an app needs to send many events, it'd be desirable to have some way of batching them, instead of having to make a
POSTrequest for each.I'm thinking of either modifying
POST /api/collectto also accept an array ofpageviewandeventpayloads, or creating a newPOST /api/collect/batchendpoint.It could impose limits, like Google Analytics does: https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide#batch
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions