fooman / googleanalyticsplus

Magento Extension to add extra features to the default GoogleAnalytics module.
http://store.fooman.co.nz/extensions/magento-extension-googleanalyticsplus.html
100 stars 53 forks source link

check for instance of Accordion and/or Review #61

Closed davidalexander closed 9 years ago

davidalexander commented 9 years ago

these variables may not always be present

fooman commented 9 years ago

Thanks for this. Just for my understanding if the individual steps are not tracked (which I think is the main feature of the extension) what would be the reason to keep this extension installed?

davidalexander commented 9 years ago

Unusual use case but we had implemented AJAX click and collect functionality on the cart page through a class that extending Mage_Checkout_Block_Onepage_Billing. This meant that the instanceof check in app/code/community/Fooman/GoogleAnalyticsPlus/Model/Observer.php was returning true and therefore the fooman/googleanalyticsplus/ajax-tracking.phtml was appearing in the AJAX response containing the stores listing.