Google Analytics(分析)事件跟踪 - 最大字符串长度 [英] Google Analytics event tracking - max string length

查看:202
本文介绍了Google Analytics(分析)事件跟踪 - 最大字符串长度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用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,

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆