loading Loading...
add chat to your website

PreChat Form

This 3rd party integration allows you to collect information filled by visitors on Pre Chat Form and pass it to your desired path. 

 

You can validate user details before initiating chat. Upon successful validation, you can initiate chat while others can be transferred to an offline messaging system. 


Pre chat user authentication

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

 

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)

 

 

If you want to allow visitors to continue a chat session then you need to return the session id. Otherwise, a blank value will be returned for session id. If a blank session id is returned, the visitors will be redirected to the offline messaging system.


Your script must return value in following format:.

 
SessionID, The Seperator(###) and custom information

Like : 

 

1. 1781249c88ea7aac50###Order No. 2540, order description

2. 1781249c88ea7aac50###Customer No. 2540, customer profile

 
### should be used between both values.