Google Analytics error in ga(“send”, “pageview”) on certain pages

浪子不回头ぞ 提交于 2019-12-06 13:18:39
amiere

I got same error message too.

Error: type={0: "len", 1: 18608} method= message= account=

I searched how to solve this problem on the Stackoverflow. And I found an article. You may have interest in it.

The article says:

the limit for a http request to the Google Analytics endpoint is 8192 bytes - this is stated in the documentation for the measurement protocol (which is the basis for Universal Analytics)

To avoid such a limit you may limited impression data to make the http request smaller. After I read this article I limited impression data only to id and brand, price. I excluded name data.

You may refer this Stackoverflow article by Eike Pierstorff. Google Analytics. Enhanced Ecommerce. Limit for product impressions

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