Tracking Recording Visitor Contact Information

You can use the tracking code to record visitor contact information. The contact information is recorded against the visitor in the ParaChat LiveHelp database and will show against the visitor on subsequent visits. 

 

The following fields can be specified:

 

sWOName="";

sWOCompany="";

sWOEmail="";

sWOTelephone="";

 

These are all optional.

 

Example uses:

 

Suppose you have a 'request information' form on your web site, where your visitors can fill in a form with their details. This form calls an ASP or PHP page that sends you an email or adds a record to a database. You could embed a version of the ParaChat LiveHelp tracking code on this script page so that the visitors contact info also gets added to ParaChat LiveHelp.

 

For example, the following ASP page is called after a user fills in a form. The form variables are retrieved via ASP. Then some ASP code writes the javascript lines for the ParaChat LiveHelp tracking code contact variables. The contact variable definitions are removed from the main ParaChat LiveHelp tracking code block since they are already being defined in the ASP block.

 

When the page executes, the form values are extracted via ASP. The ParaChat LiveHelp tracking code executes and the name, company, email and telephone values are sent to ParaChat LiveHelp.

 

<html>

<body>

<p><b>ParaChat LiveHelp Test Page - Submitted</b></p>

<p>This test page shows how we can receive a form submit and post visitors contact information back to ParaChat LiveHelp. This contact info will be recorded in the ParaChat LiveHelp database and show against the visitor.</p>

<%@LANGUAGE="VBScript" %>

<%

    On Error Resume Next

    Dim Email,Name,Company,Telephone

 

    ' extract form variables

    Email     = Request("Email")

    Name      = Request("Name")

    Company   = Request("Company")

    Telephone = Request("Telephone")

 

%>

 

<!-- Embedded ParaChat LiveHelp: Insert the script below at the point on your page where you want the Click To Chat link to appear -->

<script type='text/javascript' src='http://testdrive.parachat.biz/include.js?domain=www.webpage.com'></script>

<script type='text/javascript'>

 

sWOName='<% Email %>';

sWOCompany='<% Company %>';

sWOEmail='<% Email %>';

sWOTelephone='<% Telephone %>';

 

if(sWOTrackPage)sWOTrackPage();

</script>

<!-- End of embedded ParaChat LiveHelp-->

</body>

</html>