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

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

Preserve stepId to point the right step #103

Closed Prometee closed 4 years ago

Prometee commented 4 years ago

While adding more events for the same stepId I spot a bug on the stepId variable. stepId is a closure for the bind function so the variable will always get the value of the highest stepId and put the event value to the wrong step ...

Prometee commented 4 years ago

@stefandoorn still here ?

stefandoorn commented 4 years ago

Thanks!