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
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
[x] The commit message follows our guidelines
[x] Tests for the respective changes have been added
[x] The code is commented, particularly in hard-to-understand areas
[x] The labels and/or milestones were added
Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement
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