Add note to chat or contact form

Sometimes you may need to pass some additional information to the chat or contact form that will be displayed to an agent. For example, it can be cart id of customer shopping cart. If an agent can see this cart id he can check what is in customer's cart.

Adding note to chat / contact form
1. locate integration code of your chat or contact us button. it should look like this:
<script type="text/javascript">
(function(d, src, c) { var t=d.scripts[d.scripts.length - 1],s=d.createElement('script');'la_x2s6df8d';s.async=true;s.src=src;s.onload=s.onreadystatechange=function(){var rs=this.readyState;if(rs&&(rs!='complete')&&(rs!='loaded')){return;}c(this);};t.parentElement.insertBefore(s,t.nextSibling);})(document,
function(e){ LiveAgent.createButton('1e374626', e); });

2. modify following line:

function(e){ LiveAgent.createButton('1e374626', e); });
and add note , '[[NOTE]]'
function(e){ LiveAgent.createButton('1e374626', e, '[[NOTE]]'); });
  3. agent will see this note on top of the ticket created from this chat or contact us button:

Ready to try LiveAgent?

It's free for the first 14 days! No credit card required.

Get Started
We work well with others...
Magento Joomla Wordpress Mailchimp
Contact us

+1-800-811-6590 (Toll Free in USA & Canada)

+421 2 33 456 826 (European Union & Worldwide)

Quality Unit, LLC 616 Corporate Way, Suite 2-3278 Valley Cottage, NY 10989

Stay in touch
Blog Google+
© 2004-2020, All rights reserved