How to send data to chatbot via Javascript

  1. Install chatbot script on your website.

  2. Use the code similar to the given below which must be placed after the above script.

iticks.call('identify', {
name:'Name',
email:'email@yopmail.com',
phone:'+919876543210',
customField:'value'
})

None of the fields are required. name, email and phone has special meaning and they are set to the user's name, email, and phone fields. Other fields are saved as custom profile fields of the user who is browsing currently.