Customer Sign In
Access your Activa Live Chat account. Sign In Here »
Activa Live Chat Features
888–4–CHAT–44
(888–424–2844)
Free Trial
Get full access to Activa Live Chat for 14-days with a trial sign up.
Customization Request
Use our professionals for custom implementations or design services.
Send custom and/or dynamic information to the Operator Console
Activa Live Chat Support » Customization » How To
Article ID: 12 | Last Modified: 01/15/2008
Sending additional and custom information about visitors and/or your Website to the Operator Console can be done quickly and easily by using simple JavaScript.
EXAMPLE 1: Pass information about your visitors or users when they're logged in to your Website, such as their First Name, Last Name, E-mail Address, Customer ID, or any information you have stored about them in your database.
EXAMPLE 2: E-commerce Websites can send detailed product information to operators - giving them a head start before visitors ask about the product via chat. This is particularly effective when used in conjunction with live chat buttons on product detail pages ("Ask us about this product").
EXAMPLE 3: E-commerce Websites can easily display to operators the contents of the customer's shopping cart. Should a customer request a chat, operators will instantly know what this customer is intending to purchase.
The custom information will appear within the Details Chatlet within the Operator Console (Label: Value). The custom information will also show-up within the chat transcript when a chat takes place.
Use these simple steps:
- Follow the in-line comments below (in green) to customize the JavaScript.
- Place the JavaScript just below your Deployment Code.
<!-- START Activa Live Chat Custom Information JavaScript -->
<script type="text/javascript">
/* Repeat for every single piece of information */
var info = new Object();
/* Replace with a custom label as you'd like it to appear in the Operator Console */
info.label = "Your Label Here";
/* Replace with the hard-coded value or the code that will generate a dynamic value */
info.value = "Your Dynamic Value Here";
__ALC_PRECHAT_INFO.push(info);/* End Repeat */
</script>
<!-- END Activa Live Chat Custom Information JavaScript -->
Customizing the Custom Information JavaScript
- Create a New Object
- Set the Label Property of that Object
- Set the Value Property of that Object
- Push your Object onto the "__ALC_PRECHAT_INFO" Array
- Repeat as necessary.
REMEMBER: This JavaScript must be placed BELOW your Deployment Code.
Launch Operator Console
Chat with us Now
Contact Us by E-mail