Forums / General Questions / How can I track abandonment from shopping-cart to PayPal?

How can I track abandonment from shopping-cart to PayPal?

Started by philip937 on 30 Jun 2014, 8:30 PM · Views: 1,787

Results 1 to 9 of 9
30 Jun 2014, 8:30 PM
#1
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

How can I track abandonment from shopping-cart to PayPal?

Is it possible to have the system email me every time a customer hits the confirm order button and moves to PayPal?

It would be very useful to be able to track this action to find out where checkout abandonment occurs.
At present I have no way of knowing if a customer progresses past the checkout conformation page unless they complete payment.
If it could send a simple email for example:
Customer X Progressed to paypal

I've looked at double action forms which appear impossible but I gather it could potentially be done with Java script?

Anyone able to help?
cheers

Phil Rogers
A problem shared is a problem solved.

30 Jun 2014, 11:17 PM
#2
storeowner avatar

storeowner

New Zenner

Join Date:
Jun 2014
Location:
United States
Posts:
60
Plugin Contributions:
0

Re: How can I track abandonment from shopping-cart to PayPal?

admin>configuration>e-mail options

try something in this?

30 Jun 2014, 11:46 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How can I track abandonment from shopping-cart to PayPal?

Two maybe three things come to mind.

  1. I recently saw a thread where there was a lot of discussion of sending emails based on various actions which could be adapted to suit your need by listening to a notifier that is at or around the point of interest (or is added to do so).
  2. Try using google analytics to track page related information.
  3. Try the plugin user tracking or something similar although these last two options will show you more data than just when someone is at/leaves the one page of interest.

Otherwise, there is no "built-in" function that will provide an email when someone doesn't make a purchase/goes to paypal but cancels out that sort of thing.

If I find the thread I saw, I'll try to repost it's link here.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

1 Jul 2014, 6:55 AM
#4
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: How can I track abandonment from shopping-cart to PayPal?

Option 1 is what I am after, though I suspect because the button is a form action I think I will need to implement some kind of clever java script to deal with the sending of the email.
I already use analytics etc but there is no way of tracking past my own site so the only data provided is up to checkout confirmation.

Anyone good with java script that may know how to initial php mail with the onclick or something like that?

Phil Rogers
A problem shared is a problem solved.

1 Jul 2014, 8:45 AM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How can I track abandonment from shopping-cart to PayPal?

philip937:

Option 1 is what I am after, though I suspect because the button is a form action I think I will need to implement some kind of clever java script to deal with the sending of the email.
I already use analytics etc but there is no way of tracking past my own site so the only data provided is up to checkout confirmation.

Anyone good with java script that may know how to initial php mail with the onclick or something like that?

Slightly different topic; however, the coding would be similar. Check the following thread that I was referring to earlier. http://www.zen-cart.com/showthread.php?213731-BCC-on-order-emails

I don't recall the next action of clicking the button; however, I thought there was still some php code to process or perhaps a little bit of code would need to be processed to activate the option desired.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

1 Jul 2014, 12:12 PM
#7
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: How can I track abandonment from shopping-cart to PayPal?

or maybe something like this?
https://productforums.google.com/forum/#!topic/analytics/wQ3vfstUsVE

anyone had any experience with event tracking in analytics?

Phil Rogers
A problem shared is a problem solved.

1 Jul 2014, 12:21 PM
#8
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: How can I track abandonment from shopping-cart to PayPal?

so maybe if I change the button from this:

<input type="image" src="includes/templates/mytemplate/buttons/english/button_confirm_order.gif" alt="Confirm Order" title=" Confirm Order " name="btn_submit" id="btn_submit" />

to this:

<input type="image" src="includes/templates/mytemplate/buttons/english/button_confirm_order.gif" alt="Confirm Order" title=" Confirm Order " name="btn_submit" id="btn_submit" onclick="_gaq.push(['_trackEvent', 'Button Clicks', 'Confirm Order', 'Confirm order Button Pressed']);" />

Maybe that will start reporting in analytics? Any one able to confirm if this is correct implementation?

Phil Rogers
A problem shared is a problem solved.

6 Jul 2014, 4:42 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: How can I track abandonment from shopping-cart to PayPal?

Have you considered something like the Recover Carts plugin?
Or better, google analytics with proper tunnels set up to track visitor progress towards desired goals.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.