Set Chat Data

ZChat allows you to gather additional information available from the web page and pass them into chat server. Normally, you'll need to work with your web developers to use ASP, ASP.NET, JSP, PHP, JavaScript, etc to populate the value of these fields differently for each visitor on your Web site.

Method Name Description
ZChat_SetUserName Set current visitor's name
ZChat_SetEmail Set current visitor's email address
ZChat_SetDepartment Set the department for current visitor
ZChat_SetQuestion Set current visitor's question of the pre-chat survey window
ZChat_SetContextData Set a string which relative to current visitor. The agent console can read it .
ZChat_SetProductName Set the product name of the current visiting page
ZChat_SetProductKey Set the product key of the current visiting page
{^helper:FixChromeScript(/HttpContext/Request/Form/@scriptcode)}