loading Loading...
add chat to your website

PreChat Form API

 

ProProfs Live Chat Software allows you to collect user information and also validate their details before initiating a chat through the PreChat Form feature. PreChat Form API provides for direct 3rd party API integration of ProProfs Chat with your server/database. With PreChat Form API, you can validate user details before initiating the chat and simultaneously transfer the user details to your own server for future use. Once successfully validated, you can initiate your chat with the visitor.

 

Following variables will be posted to your script using a standard form after PreChat Form API is enabled:

 

l2s_id - Site ID,

l2s_sessid - Visitor session ID,

l2s_ip - Visitor IP address,

l2s_name - Visitor name,

l2s_email - Visitor email,

& All custom variables passed from webpages (If any)

Following variables will be posted to your script using customizes form.

l2s_id - Site ID,

l2s_sessid - Session ID,

l2s_ip - IP address,

l2s_name - Visitor name,

l2s_email - Visitor email,


& All custom variables

 
All fields in customized form(like fld_1, fld_2, fld_3 ... fld_n)

 

How to enable PreChatForm API

The following steps will show how PreChat Form API can be activated in ProProfs Live Chat.

 

Step 1: Go to Settings---->Advanced---->API.

 

 

Step 2: Enable Pre Chat User Authentication. Enter the name of the website in Host and the server link in the Script Path. Click on Check Connection. If the connection is successful, click on Save.