Farfetch / blackout

Blackout is the codename for the Farfetch Platform Solutions (FPS) projects. Useful to build e-commerce applications using the FPS APIs and integrating business logic.
MIT License
42 stars 15 forks source link

feat: add parity between ga4 and gtm for `v1` #981

Closed talbertosilva closed 9 months ago

talbertosilva commented 9 months ago

Description

Added changes to guarantee a better parity between ga4 and gtm tracking, this involves the addition of events that weren't being tracked on gtm and the respective parameters based on ga4 trackings. Changed two utils functions that are directly related with the trackings as well (getProductData and getProductCategory) Implemented and adjusted the unit tests affected by this changes.

Dependencies

None.

Checklist

Disclaimer

By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement