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');s.id='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, 'https://URL_TO_LIVEAGENT/scripts/track.js', function(e){ LiveAgent.createButton('1e374626', e); }); </script>
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: