GA Measurement Protocol批次限制 [英] GA Measurement Protocol batch limitations
问题描述
我正在使用Google Analytics(分析)衡量协议来跟踪我的应用程序中的用户互动.我正在发送批量匹配.为了进行测试,我将批量匹配发送到了验证端点.语法正确,但是出现以下错误:
I am working with the Google Analytics Measurement Protocol to track user interaction in my app. I am sending batched hits. For testing purposes I sent the batched hits to the validating endpoint. The syntax is correct, but I get the following error:
{
"messageType": "ERROR",
"description": "The request size is larger than the maximum size supported by Google Analytics.",
"messageCode": "VALUE_OUT_OF_BOUNDS"
}
However, I am not exceeding the batch limitations as stated in the GA docs. I am sending exactly 20 hits, which also get recognized by the API, and the entire payload has a size of roughly 8K byte.
还有其他人遇到这些问题吗?文档不再是最新的吗?
Does anybody else faced these problems? Are the docs not up-to-date anymore?
推荐答案
某些文档似乎已过时-我将发送的最大邮件数量减少到10条,并且似乎可以正常工作,但没有收到这些错误消息.
Some of the docs seem to be out of date - I reduced max messages sent to 10 and it seems to work fine and I don't get these errors.
这篇关于GA Measurement Protocol批次限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!