-
Notifications
You must be signed in to change notification settings - Fork 46
[Question] Analytics nested parameters #355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @VolodymyrBS, It's possible to do this in Unity by creating an array of parameters as seen here. You may refer to this page for the list of available parameter properties. I'll be closing this for now. Let me know if an issue arises. |
Hi @paulinon var jeggings: [String: Any] = []
var boots: [String: Any] = []
var socks : [String: Any] = []
var itemList: [String: Any] = [
AnalyticsParameterItemListID: "L001",
AnalyticsParameterItemListName: "Related products",
AnalyticsParameterItems: [jeggings, boots, socks]
] jeggings, boots, and socks by themselves are so the analog in Unity would be Parameter[] jeggings = {...};
Parameter[] boots = {...};
Parameter[] socks = {...};
Parameter[] AchievementParameters = {
new Parameter(FirebaseAnalytics.ParameterItemListID, "L001"),
new Parameter(FirebaseAnalytics.ParameterItemListName, "Related products"),
new Parameter(FirebaseAnalytics.ParameterItemItems, new [] { jeggings, boots, socks }),
} am I missing some way to put an array of Parameter into Parameter? |
also, it looks like an example for ParameterItems on the page you provided does not use C#. I guess, it is Objective-C (because of NSArray) |
Thanks for the clarification, @VolodymyrBS. In terms of |
thanks a lot! |
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the question here:
Hi!
I found this article that shows how to log list of dictionaries in swift and other languages
measure-ecommerce
But can not find a way how to do something similar in Unity.
so my question is it possible with Unity? or unity stuck with flat list of properties without any kind on nesting?
The text was updated successfully, but these errors were encountered: