harrygerner Posted October 10, 2009 Share Posted October 10, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/177230-payment-page-customers-doing-tracking-script/ Share on other sites More sharing options...
.josh Posted October 10, 2009 Share Posted October 10, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/177230-payment-page-customers-doing-tracking-script/#findComment-934603 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.