Custom information feed with "Same IP - New Chat session" setting enabled

Custom parameters do not flow correctly when "Same IP - New chat session" setting is enabled

If "Same IP - New chat session" setting is enabled in Admin Panel->Chat System->System Setup->System settings and Custom1,2,3 parameters are used to pass custom information about the customer they might not flow correctly.
Here's a workaround:


  1. Remove Custom1,2 and 3 assignments from the code installed on your site, do not remove parameters, simply remove what is being assigned to them: your code should look like this after you are done: …&custom1=&custom2=&custom3='
  2. Add the following function anywhere before the LiveHelpNow code installation (could be in <head></head> or external javascript file, really does not matter, it just has to be before livehelpnow chat button code)
    function CustomOpenLHNChat()
    {
    var wleft = (screen.width - 580-32) / 2;
    var wtop = (screen.height - 420-96) / 2;
    lhnWin=window.open('http://www.livehelpnow.net/lhn/livechatvisitor.aspx?zzwindow=0&lhnid=NUMERIC_PART_OF_YOUR_LIVEHELPNOW_ACCOUNT_ID&d=0&custom1=YOURVALUE&custom2=YOURVALUE&custom3=YOURVALUE','lhnchat','left=' + wleft + ',top=' + wtop + ',width=580,height=435,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,copyhistory=no,resizable=yes');
    }

    That is where you will now supply the custom information, in this function, instead of on the page during chat button generation. This will address the issue.

Related articles