What is the rate limit for direct use of the Google Analytics Measurement Protocol API?

前端 未结 2 935
鱼传尺愫
鱼传尺愫 2021-02-12 15:20

In the Documentation for Google Analytics Collection Limits and Quotas

It gives the rate limits that are implemented by the various Google-provided librarie

2条回答
  •  余生分开走
    2021-02-12 16:05

    Last Update: Please watch this video which explains all GA quotas policies: https://youtu.be/1UfER93ALxo

    In particular, your issue might be result of 10 requests / 1 second limitation: https://youtu.be/1UfER93ALxo?t=5m27s

    I can confirm the same thing. In my case I had own buildHitTask which constructs URL for a measurement protocol request (MPR) and stores it in the hitPayload field. But instead of original GA reporting - I was saving those URLs into cookies for delayed reporting.

    In my experiment, only 10-20% of 2,000 measurement protocol requests were actually "stored".

    Rest of hits are not available in GA Reporting UI, neither API or BigQuery. Each request was sent with 2 seconds delay via new Image() method, and slowdown in case of errors. Received results are not consistent. Both success and failed hits are randomly distributed across whole time period.

    Please let me know in case if you find more details on this constraint!

提交回复
热议问题