managed-components / managed-components/google-analytics-4
Update ecommerce for GA4 item category hierarchy spec
@kuba-orlik is already working on this.
Since Aug 23, 2023.
- Dominant language
- TypeScript
- Stars
- 27
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
The README currently links to the [analytics.js Universal Analytics documentation for enhanced ecommerce](https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#ecommerce-tracking). However, the fields are now different for Google Analytics 4 ecommerce measurement as seen in https://developers.google.com/analytics/devguides/collection/ga4/ecommerce.
While many of the fields are the same, there are now category hierarchy fields.
[Serkan on Discord suggested](https://discord.com/channels/595317990191398933/917505178016579605/1002919759463071764) that sending `category2` `category5` should just work, but I think the code for `PRODUCT_DETAILS ` and `PRODUCT_DETAILS_MAPPING ` would have be updated to send `ca2` - `ca5`.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.