Dashboard
Access your Activa Live Chat account 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.
Professional Services
Inquire about Activa Live Chat's professional services for your custom needs.
Pass custom information to the Operator Console
Activa Live Chat Support » Customization » How To
Article ID: 12 | Last Modified: 09/02/2009
Passing custom information about your visitors and/or your Website to the Operator Console can be done quickly and easily by using simple JavaScript.
The custom information will appear within the Details Chatlet within the Operator Console and also will become part of a chat's transcript.
Example Application 1: Pass information about your visitors or users when they are 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 Application 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 Application 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.
Instructions for Sending Custom Info to the Details Chatlet:
- Place the JavaScript directly below your Deployment Code.
- Pass your own values into the _alc.addDetail function as explained below in the comments (in green).
<!-- START Activa Live Chat Custom Information JavaScript -->
<script type="text/javascript">/* Repeat for every single piece of information */
/* Replace "Your Label Here" with a custom label as you want it to appear in the Operator Console */
/* Replace "Your Value Here" with a hard-coded value or code that will generate a dynamic value */
_alc.addDetail("Your Label Here", "Your Value Here");/* End Repeat */
</script>
<!-- END Activa Live Chat Custom Information JavaScript -->
Chat with us Now
Contact Us by E-mail