本文介绍了我是否应该在 Firebase 参数值中使用特殊字符“event_params.value.string_value"?&在 Bigquery 中查询?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Firebase 中明确提到参数值最多可以包含 100 个字符.firebase_"、google_"和ga_"前缀是保留的,不应使用."

In Firebase it is clearly mentioned that "Param values can be up to 100 characters long. The "firebase_", "google_" and "ga_" prefixes are reserved and should not be used."

来源:https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Param

但在谷歌中,他们并没有提到特殊字符的用法.

But in Google, they did not mention the usage of special characters.

我是否应该使用特殊字符,例如正斜杠 &Firebase 参数值中的 Unicodeevent_params.value.string_value"?

Shall I use special characters like forward slash & Unicode in Firebase Param Value "event_params.value.string_value"?

Bigquery Table 字段 event_params.value.string_value 是否接受 Firebase 参数值event_params.value.string_value"中的特殊字符?

Will the special characters in Firebase Param Value "event_params.value.string_value" be accepted in Bigquery Table field event_params.value.string_value ?

推荐答案

您引用的文档明确指定了参数名称和值的要求 - 所以显然您必须遵守

The documentation you referenced clearly specify requirements for parameter's name and value - so obviously you must comply

参数提供使事件上下文化的信息.您最多可以将 25 个唯一参数与每个事件类型相关联.下面为某些常见事件建议了一些参数,但您不仅限于这些.您可以为建议的事件提供额外的参数或为自定义事件提供自定义参数.参数名称最长可达 40 个字符,只能包含字母数字字符和下划线("),并且必须以字母字符开头.参数值最长可达 100 个字符.firebase"、google_"和ga_"前缀是保留的,不应使用.

同时,这些限制与 BigQuery 无关
因此,如果您正在处理非 Firebase 数据 - 请随意使用所有这些字符

Meantime, those limitations have nothing to do with BigQuery
So, if you are dealing with non-firebase data - feel free to use all those chars

P.S.对于这种情况,我可以给出最好的建议 - 自己尝试,你会看到的.回答此类问题是如此简单快捷!

这篇关于我是否应该在 Firebase 参数值中使用特殊字符“event_params.value.string_value"?&在 Bigquery 中查询?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 11:48