简体   繁体   English

GA Measurement Protocol批次限制

[英]GA Measurement Protocol batch limitations

I am working with the Google Analytics Measurement Protocol to track user interaction in my app. 我正在使用Google Analytics(分析)评估协议来跟踪应用中的用户互动。 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 . 但是,我没有超出GA文档中所述的批量限制。 I am sending exactly 20 hits, which also get recognized by the API, and the entire payload has a size of roughly 8K byte. 我刚发送了20个匹配,这些匹配也被API识别,整个有效负载的大小约为8K字节。

Does anybody else faced these problems? 还有其他人遇到这些问题吗? Are the docs not up-to-date anymore? 文档不再是最新的吗?

一些文档似乎已经过时了-我将发送的最大邮件数减少到10条,并且看起来工作正常,并且没有收到这些错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM