简体   繁体   English

自定义变量在Google Analytics(分析)中的索引角色

[英]The Index role of a custom variable in Google Analytics

Can someone please clarify whether it's possible to have 5 custom variables with key names: A1, B1, C1, D1 and E1 in a single pageview/event and having another 5 custom variables with names A2, B2, C2, D2 and E2 in another pageview? 有人可以说明一下是否可能有5个自定义变量,其键名分别为:单个浏览量/事件中的A1,B1,C1,D1和E1,以及另5个自定义变量的名称分别为A2,B2,C2,D2和E2页面预览? assuming you are using indexes 1 to 5. 假设您正在使用索引1到5。

BTW - I'm using the mobile SDK on Android. 顺便说一句-我正在使用Android上的移动SDK。

Thanks! 谢谢!

Yes. 是。 Its not about the limits, its about what you want to do with those custom variables. 它与限制无关,而与您想要使用这些自定义变量有关。 Custom Variables can be set in 3 ways > page - session and visit. 可以通过三种方式>页面-会话和访问来设置自定义变量。

What is the name of that A1, B1 and C1, etc.? A1,B1和C1等的名称是什么?

<code>_setCustomVar(1, "Give a name", "A", 3)</code>

3 - at the end - means its a page-level variable. 3-最后是-表示其页面级变量。

Yes; 是; as long as you're only using page level custom variables. 只要您仅使用页面级自定义变量。 If you try to change between page and session, read Google Docs on mixing Custom Variable types . 如果您尝试在页面和会话之间进行切换,请阅读有关混合使用“自定义变量”类型的 Google文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM