I want customer chat in the same window rather it open in new window .I don't want to open in separate window it will happen in same window . like popup chat window


Modifying the chat button onclick method by adding ", 'mywindow'" in this line:

           liveagent.startChatWithWindow('XXXX0000000XXXX', 'mywindow');

and add "window.name = "mywindow";" in the deployment like this:

    <script type="text/javascript">
        window.name = "mywindow";
        liveagent.init('https://xxxx.salesforceliveagent.com/chat', 'xxxx0000000xxxx', '00D40000000xxxx');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.