-
Notifications
You must be signed in to change notification settings - Fork 934
Update analytics ecommerce event and param types #2728
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
Conversation
@@ -4477,6 +4526,14 @@ declare namespace firebase.analytics { | |||
value?: number; | |||
event_label?: string; | |||
event_category: string; | |||
shipping_tier?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The proposal only adds the following:
// New suggested event parameters.
shipping_tier?: string;
item_list?: string;
item_list_id?: string;
payment_type?: string;
Where are the other ones defined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
item_list
is not present in the sheet. I think it has been replaced by item_list_name
, see comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
Binary Size ReportAffected SDKs
Test Logs |
@@ -4477,6 +4526,14 @@ declare namespace firebase.analytics { | |||
value?: number; | |||
event_label?: string; | |||
event_category: string; | |||
shipping_tier?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
item_list
is not present in the sheet. I think it has been replaced by item_list_name
, see comment.
Update Analytics types and method signatures to reflect GA's enhanced ecommerce options.
The latter should only affect IDE autocomplete. All event params are always optional and any additional arbitrary param is always allowed.
This changes the public API and will require a documentation update.
Internal bug for this feature: b/151107871