Home » Magento Extensions » Magento One Page Checkout Abandonment Tracking With Google Analytics

Magento One Page Checkout Abandonment Tracking With Google Analytics

A shop owner will have a number of choices for Magento tools to optimize conversion rate. While ecommerce tracking and cart abandonment are available information, Magento checkout process abandoment is still fuzzy.

This time, we will show you how Google Analytics can help you track checkout process and abandonment on Magento checkout page. In this post, we only use Google Analytics for default Magento onepage checkout.

head image

 

Firstly, you should enable Google Analytics in your Magento Admin Panel

Secondly, replace “onepage.phtml” in your Magento default theme directory with app/design/frontend/base/default/template/checkout/onepage.phtml and paste this code into the end of file

<script type=”text/javascript”>

//<![CDATA[

Checkout.prototype.gotoSection = function (section, reloadProgressBlock) {

if (reloadProgressBlock) {

this.reloadProgressBlock(this.currentStep);

}

// Checkout abandonment rate

try {

_gaq.push([‘_trackPageview’, ‘/checkout/onepage/’ + section + ‘/’]);

} catch (err) {

}

this.currentStep = section;

var sectionElement = $(‘opc-‘ + section);

sectionElement.addClassName(‘allow’);

this.accordion.openSection(‘opc-‘ + section);

if (!reloadProgressBlock) {

this.resetPreviousSteps();

}

Thirdly, you will create a Goal funnel inside Google Analytics section

Next, define all steps for goal funnel:

/checkout/cart/

/checkout/onepage/

/checkout/onepage/billing/

/checkout/onepage/shipping/

/checkout/onepage/shipping_method/

/checkout/onepage/payment/

/checkout/onepage/review/

Finally, test your new settings on Magento One Page Checkout page and check any HTTP request after finishing each of steps. If there is a HTTP request for __utm.gif   after an appropriate checkout, it means data is being collected. You can check Google Analytics after few hours, days or weeks by going to Conversions –>  Goals –>  Funnel Visualization and pick an appropriate goal up. This method may not give you a correct answer for why people are abandoning their purchases, you will know what checkout process needs to be updated, it may be the overall process or specific options like shipping rates, payment methods, etc.

The native Magento checkout process includes many required actions which cause the payment process cumbersome resulting in shopping cart abandonment. Therefore, all Magento sites need this One Step Checkout Magento extension for a simpler checkout process still remaining payment functions as well as customers’ information.

If you are looking for a way to removes unnecessary steps of default Magento Checkout Process and makes the checkout step much simpler then this Magento One Step Checkout extension is your best choice.

  • Help customers to have checkout process much simpler and quicker
  • Provides ability to review your order before hitting place order
  • Greatly reduce Shopping Cart Abandonment
  • Quick One Page Checkout is five times faster when compared to the Standard Magento Checkout process and saves time for the customer.

Check Also

What makes Magento extensions be one of the best online store development platforms

What makes Magento extensions be one of the best online store development platforms?

Life has been changing and the way we shopping is now totally different from the …

CLOSE
CLOSE