Google Analytics(分析)事件跟踪 - 最大字符串长度 [英] Google Analytics event tracking - max string length
问题描述
我正在使用Google Analytics(分析)跟踪我的Android应用程序中的事件。我的问题是:事件中的字符串长度有限制吗?我在Googles的devguide网站上没有发现这个话题。
祝你好!
编辑:
我尝试了一个2000个字符的字符串 - 它可以工作。
根据官方文档, p>
根据此文档:
如果任何值大于最大值长度,它们将自动被截断。如果多字节字符超过最大长度,则整个字符将被截断。
I am using Google Analytics for tracking events in my Android App. My question is: is there a limit for the string length in an event? I have found nothing about this topic on Googles devguide site.
Best regards!
Edit: I tried it whith a string with 2000 characters - and it works. If you need more (I don't believe), than try it first.
According to the official documentation,
- Max Length for Event Category = 150 Bytes
- Max Length for Event Action = 500 Bytes
- Max Length for Event Label = 500 Bytes
- For all other parameters, you can check in the same page.
Long text is automatically truncated according to this doc:
If any of the values are greater than the maximum lengths, they will automatically be truncated. If a multi-byte character exceeds the maximum length, the entire character will be truncated.
这篇关于Google Analytics(分析)事件跟踪 - 最大字符串长度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!