System Setup and Customization > Control Panel > Using chat button codes > Standard codes >
Passing information from your website to operators
You can pass information about visitors from your web page to your online support operators using either Passing Information from Your Website Scripting to Operators code or adding parameters to the direct link to your chat messenger in No-Script Chat Button Code or Chat Button or Link for Emails.
Passing Information from Your Website Scripting to Operators code
Using this code you can display the fully functional chat button and dynamically pass information your website "knows" about visitors to the Operator Console.
You need to add variables on the Chat Button Codes page, as they appear on your website, and the system will show the real values retrieved from your website in the Visitors list, Custom Fields column of the Operator Console.
You need to enter
•the field caption to the Field Name field
•the variable name as it appears on your website to the Field Content field
Example: If you place top.document.title within the code, you will see page title for each specific page of your website.
Note! With this code you can pass information about all website visitors, even if they are not in chat with your operators.
Passing parameters with a direct link to your chat messenger
If you don't want or cannot use the Passing Information from Your Website Scripting to Operators code, but still wish to pass information about visitors to your operators, you can do this by adding parameters to the direct link to your chat messenger. The link will have the following look:
•your-account-name is your real account name
•param1 ... paramN are parameters' names
•value1 ... valueN are parameters' values
Passed information will be displayed in the Room Details tab of an active chat session as well as in the Visitor Details section of chat transcript.
Note! Passing parameters with a direct link works only for visitors with active chat session with your operators.