Log Deployment Activity with the Deployment APIs

Log the activity that occurs in a particular deployment.

The legacy chat product is scheduled for retirement on February 14, 2026, and is in maintenance mode until then. During this phase, you can continue to use chat, but we no longer recommend that you implement new chat channels. To avoid service interruptions to your customers, migrate to Messaging for In-App and Web before that date. Messaging offers many of the chat features that you love plus asynchronous conversations that can be picked back up at any time. Learn about chat retirement in Help.

Important

Logging lets you store information about the activity that occurs within a customer’s Web browser as they chat with an agent through a particular deployment. This is particularly helpful when you’re implementing automated invitations and you want to test or troubleshoot your sending rules. You can add these methods as an additional script within the code that’s automatically generated when you create a deployment.

Use the following deployment methods to enable logging on a particular deployment.