Newer Version Available

This content describes an older version of this product. View Latest

Modify the Post-Chat

After you add a post-chat URL for your chat button, you can specify whether it automatically opens or not. Valid values are true and false.

The legacy chat product is in maintenance-only mode, and we won't continue to build new features. You can continue to use it, but we no longer recommend that you implement new chat channels. Instead, you can modernize your customer communication with Messaging for In-App and Web. Messaging offers many of the chat features that you love plus asynchronous conversations that can be picked back up at any time.

Important

embedded_svc.settings.autoOpenPostChat = true; // or false

By default, your chat window gives customers the option of closing the chat or opening the post-chat URL when they end a chat. To automatically display the post-chat URL instead, set this parameter to true.