GA Measurement Protocol batch limitations

ⅰ亾dé卋堺 提交于 2020-01-06 06:00:28

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/47182213/ga-measurement-protocol-batch-limitations

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!