Tracking One Page Checkout Abandonment with Google Analytics, Properly!
Abandonment rates are key in eCommerce but the Magento integration with Google Analytics isn’t ideal, in that there is no funnel that tracks the progress (and therefore the actual point of abandonment) in the onepage checkout process. To remedy this, edit the one page checkout javascript file, located here: /skin/frontend/default/_your_theme_name/js/
As indicated below the edit starts at line 88 (v1.2), replace the whole of the gotoSection function.
88 89 90 91 92 93 94 95 96 97 | gotoSection: function(section) { try { pageTracker._trackPageview('/checkout/' + section + '/'); } catch(err) {} section = $('opc-'+section); section.addClassName('allow'); this.accordion.openSection(section); }, |
Happy Hunting!

Recent Comments