How to track visitors not opening a chat & not using a Zoho webform

How to track visitors not opening a chat & not using a Zoho webform

Hi there,

I would like to populate the visits data in zoho CRM to all leads, not only the ones initiating a chat. 
In addition I can't use the Zoho CRM webform, as our registration form asks the lead to choose a password. 

I would like a code snippet to add to our own form which will populate the visit fields in Zoho once they fill the registration form. 

thanks.