Execute functions when HubSpotConversations loads

Last updated August 28, 2019

window.hsConversationsOnReady = [...]

hsConversationsOnReady takes an array functions that will be executed as soon as the JavaScript API becomes available.

This array will only be processed once, when the JavaScript API is loaded. Adding items to the array after window.HubSpotConversations is ready will have no effect.