yireo-magento1 / Yireo_GoogleTagManager

Implement Google Tag Manager in Magento 1 (deprecated)
Open Software License 3.0
56 stars 46 forks source link

Fix wrong customer group tracking #112

Closed sprankhub closed 4 years ago

sprankhub commented 4 years ago

\Mage_Customer_Model_Customer::getGroupId returns the default customer group ID if the customer is not logged in. Hence, for not logged in customers, the default customer group is currently tracked. Instead, "not logged in" needs to be tracked in this case.

jissereitsma commented 4 years ago

Thanks!