简体   繁体   中英

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? assuming you are using indexes 1 to 5.

BTW - I'm using the mobile SDK on Android.

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.?

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

3 - at the end - means its a page-level variable.

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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