Releases: stefandoorn/sylius-google-tag-manager-enhanced-ecommerce-plugin
Support Symfony 6.x
v2.0.0-alpha.3 Ubuntu 18 -> 22 in build
Check for existence of gtmEnhancedEcommerceUAEnabled JS variable
v2.0.0-alpha.2 Check for existence of gtmEnhancedEcommerceUAEnabled variable
GA4 support
Added basic support for GA4, while keeping UA intact as well (if you want to).
Limited features of GA4 have been implemented, but it does seem to be the most important ones right now:
- Add to cart
- Remove from cart
- Begin checkout
- Finished transaction
UA support will be removed in v3.
Please read the UPGRADE guide for information on breaking changes and new settings.
Fix call to ProductDetail::setCategory when no category present
Fix Transaction Tracking, Backend tracking Add/Remove Cart + GTM importable example
Main improvements:
- Instead of using JS tracking for add / remove from cart, backend events are now used
- Transaction tracking has been fixed (it conflicted with the checkout step tracking)
- Provided an importable example for a GTM container
Please follow the UPGRADE.md guide in case you have been overriding some classes.
Thanks a lot to @kgonella for providing PR's!
Send in only first variant on product detail page
We used to send in all product variants on the product detail page. This has been changed to only the first variant.
NOTE: some template adjustments are required, please follow the UPGRADE.md guide.
In addition, some adjustments have been made to follow new Google documentation.
Major thanks to @kgonella for helping out!
Finally v1.0.0
Symfony 5 compatible & only use enabled variants
Merge pull request #110 from lruozzi9/master Add compatibility with Symfony 5
Add configurable checkout step tracking
Merge pull request #34 from Prometee/master [Feature] add checkout configuration
Fix for unit prices in checkout transaction
Merge pull request #61 from sbarbat/master Unit prices for products in checkout transaction