Pushing tracking events to Google Analytics for one page tracking in Magento is tracking 100% for every step after proceeding to billing.

Here is the Funnel Visualizaiton:

Funnel Visualization

And Here is the Goal Setup:

Goal Setup

And here is How I push the events to GA:

<script type="text/javascript">
 Checkout.prototype.gotoSection = function (section, reloadProgressBlock) {
 if (reloadProgressBlock) {

 try {

 ga('send', 'pageview', '/checkout/onepage/' + section + '/');

 } catch (err) {
this.currentStep = section;
 var sectionElement = $('opc-' + section);
 this.accordion.openSection('opc-' + section);
 if (!reloadProgressBlock) {

Does Anyone have any ideas as to why it's showing 100% of people are proceeding through afer step 2. It is not the case as I've tested it personally.


  • It looks like cart shouldn't be part of the funnel because so many people are entering the checkout process from somewhere else. May 3, 2017 at 11:15

1 Answer 1


A few things that I suggest you look into:

First of all, the steps in your funnel don't make sense.

Does every user, no matter what, have to supply a billing address and a shipping address?

I'm pretty sure Magento's one page checkout allows users to check a box that indicates the shipping address and billing address are the same.

What about users that have purchased before (I'm guessing users can 'create an account')?

Does the site have a 'persistent cart' feature or allow users to 'save' items in anyway (wishlist/bookmark/register)?

Second, why hard code so much of the URL sent as a pageview?

This isn't directly related, but look at the code suggested here...I'd let the site report it's own URL, if possible.

It also doesn't seem like you need the 'Regular Expression' setting in your goal configuration...I don't see any problems with it, but it's an extra layer of complexity.

You can use the Google Tag Assistant extension to help debug tags...use the record feature to check what's being pushed at every step (the recordings persist across page loads).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.