Jump to content

Payment Page customer's doing tracking script


harrygerner

Recommended Posts

Dear friends,

 

Please be kind to read this fully to understand my issue.

 

One of my client running an ecommerce website(custom made) having issue that his customers are coming till to the payment page and exiting with no reason. Now a days such missing order numbers are coming high and it came to investigate detail to it. I have put script for logging, so when the customer reaches the payment page it logs the ip of the customer, their browser, language etc and all the data even if he made any mistakes while submitting it. But the issues comes in i am not enough knowing how to log all the customer entered data in the payment page evenif he hasnt  touched submit button, suppose he filled his name and exit browser, i would like to log what he entered as name.  Is that we can do it in a javascript or ajax to log field by field with out submit, or there any script readily availble to trace on all the customers doings in the payment page evenif he hasnt hit the submit button.

 

Please advise me in this regard.

 

Kind regards,

Harry

with javascript you can use onblur to trigger a function that will grab the field value the user just removed focus from.  how you would track those values depends on what you have setup.  you can use ajax to send the info to the server and store in a db.  If you have a 3rd party tracking tool installed like yahoo web analytics or site catalyst or something you can put it into one of their vars and send it to the reporting tool. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.