Skip to content

Update ecommerce for GA4 item category hierarchy spec #3

Open

Description

@wuservices

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions