0

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

1 Answer 1

0

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:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .