stefandoorn / sylius-google-tag-manager-enhanced-ecommerce-plugin

Enhanced Ecommerce implementation through Google Tag Manager for Sylius eCommerce Platform
MIT License
35 stars 19 forks source link

Only send a productDetail for the first variant of the product #126

Closed kgonella closed 2 years ago

kgonella commented 2 years ago

Google Analytics calculate more KPI from the "product detail impressions" like :

If we send one productDetails event per variant as it done now, these data are wrongfully calculate

So we need to only dispatch the productDetail event for first variant showed on product page.

Resolve the #90 issue

stefandoorn commented 2 years ago

thanks!