Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Update ecommerce for GA4 item category hierarchy spec

Open
#3 0 comments 0 reactions 1 assignee View on GitHub

@kuba-orlik is already working on this.

Since Aug 23, 2023.

Assessment

This issue has not been assessed yet.

Description

waiting

The README currently links to the analytics.js Universal Analytics documentation for enhanced ecommerce. 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 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.

Dominant language
TypeScript
Stars
27
Forks
9
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from managed-components/google-analytics-4

All issues in managed-components/google-analytics-4

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.